{% extends "base.html" %} {% block title %}{{ device.config.name }} — Demeter IoT{% endblock %} {% block content %}
| Device ID | {{ device.config.id }} |
| IP Address | {{ device.config.ip }}:{{ device.config.port }} |
| Status | {% if device.online %} Connected {% else %} Disconnected {% endif %} |
| Resources | {{ device.config.resources|length }} configured |
Query the device directly via the HTTP-to-CoAP proxy.
Click GET to query a resource...
| Resource | Value | Unit | Age | Status |
|---|---|---|---|---|
| {{ uri }} | {% if reading.value is not none %} {{ reading.value }} {% else %} — {% endif %} | {{ reading.unit }} | {{ reading.age_seconds()|round(0)|int }}s ago |
{% if reading.stale %}
Stale
{% else %}
Fresh
{% endif %}
|
No readings received yet. The device may be offline or not yet subscribed.
{% endif %}