{% if devices %}
| Device ID | Type | Status | Location | Last Seen |
|---|---|---|---|---|
|
{{ device.device_id }}
|
{{ device.device_type }} | {% if device.status == "available" %} online {% else %} {{ device.status }} {% endif %} | {{ device.location or "—" }} | {{ device.last_seen or "—" }} |
|
{# Capabilities: functions #}
{% set caps = device.capabilities or {} %}
{# Invoke panel (shown by Try button) #}
Functions (RPCs){% if caps.functions %}
{% for fn in caps.functions %}
{% else %}
{{ fn.name }}({% for pname, pspec in (fn.parameters.properties or {}).items() %}{{ pname }}{% if pspec.default is defined %}={{ pspec.default | tojson }}{% endif %}{% if not loop.last %}, {% endif %}{% endfor %})
{% if fn.description %}
{{ fn.description }} {% endif %}No RPC functions registered {% endif %}Events{% if caps.events %}
{% for ev in caps.events %}
{% else %}
{{ ev.name }}
{% if ev.description %}
{{ ev.description }} {% endif %}No events registered {% endif %}Identity
Invoke
Event log:
Listening for events... Raw registration data{{ device._raw | tojson_pretty }}
|
||||
No devices registered yet
Devices will appear here as they connect to the network