{% extends "base.html" %} {% block title %}{{ device.device_id }}{% endblock %} {% block content %}
← Back to devices

{{ device.device_id }}

Tenant: {{ device.tenant }}

Device Information

Device ID
{{ device.device_id }}
Type
{{ device.device_type | default("—", true) }}
Status
{% if device.status == "online" %} online {% else %} {{ device.status | default("unknown", true) }} {% endif %}
Location
{{ device.location | default("—", true) }}
Last Seen
{{ device.last_seen | default("—", true) }}
{% if device.capabilities %}

Capabilities

{% for cap in device.capabilities %} {{ cap }} {% endfor %}
{% endif %}

Connection Instructions

export NATS_CREDENTIALS_FILE=./{{ device.device_id }}.creds.json
export NATS_URL=nats://{{ public_host }}:{{ nats_port }}
python my_device.py
Download starter script (my_device.py) {% if cred_filename %} Download Credential {% endif %}
{% endblock %}