{% extends "base.html" %} {% block content %}

License

Whether this device is licensed, and when it last reached vendorawifi.com.

{% if flash_msg %}
{{ flash_msg }}
{% endif %} {% if error_msg %}
{{ error_msg }}
{% endif %}
{# Top stat cards #}
Status
{% if data.status == 'active' %}Active {% elif data.status == 'awaiting_first_contact' %}Awaiting Activation {% elif data.status == 'grace_expired' %}Grace Expired {% elif data.status == 'unlicensed' %}Unlicensed {% else %}{{ data.status }}{% endif %}
{% if data.licensed %}this device is licensed{% else %}needs a credit at vendorawifi.com{% endif %}
Last Contact
{% if data.last_contact_at %}{{ data.last_contact_age_s // 60 }}m ago {% else %}never{% endif %}
{% if data.last_contact_at %}last successful check {% else %}not checked in yet{% endif %}
Grace Remaining
{% if data.grace_remaining_s < 0 %}expired {% else %}{{ (data.grace_remaining_s // 60) | duration }}{% endif %}
keeps selling if the internet drops
Next Check
{{ (data.next_poll_secs // 60) }}m
automatic
{# Activation CTA — the walled garden lets the operator reach vendorawifi.com from the hotspot without a voucher, so this works even at a site with no other uplink. Shown while not licensed. #} {% if not data.licensed %}

Activate this device

Register this SBC at vendorawifi.com and allocate a credit to activate it. You can open it straight from this hotspot — no voucher needed (the activation site is in the walled garden).

{% if data.vnd_id %}

Device ID: {{ data.vnd_id }}

{% endif %} Open vendorawifi.com →
{% endif %}

Identity

VND-ID {% if data.vnd_id %} {{ data.vnd_id }} {% else %} — not yet generated {% endif %}

Server Contact

Last successful contact {% if data.last_contact_at %} {{ data.last_contact_at }} ({{ (data.last_contact_age_s // 60) | duration }} ago) {% else %} never {% endif %}
Last attempt {% if data.last_attempt_at %} {{ data.last_attempt_at }} ({{ (data.last_attempt_age_s // 60) | duration }} ago) {% else %} never {% endif %}
Last error {% if data.last_error %} {{ data.last_error }} {% else %} {% endif %}
{# The "Cached credentials" section (activation token / signature presence) was removed 2026-08-03: operator-facing pages must not describe how licensing works, only whether the device is licensed. The Status card above already carries the outcome, and the token/signature detail is available internally via the service log. #}

Sales Reporting

How often new sales are sent to the website. Default 15, minimum 10, maximum 240.

{% endblock %}