{% extends "base.html" %}{% set active = 'topology' %} {% block title %}Topology · lanwatch{% endblock %} {% block content %}
The topology comes from the UniFi controller, and [unifi] is off. See docs/unifi.md for the API key and the three lines of config.
No controller data yet. The infra round reads the controller every {{ config.schedule.infra_interval_s // 60 }} minutes; lanwatch unifi does it now.{% if unifi_error %} Last attempt failed: {{ unifi_error }}{% endif %}
{{ topo.devices }} UniFi device{{ 's' if topo.devices != 1 }}{% if topo.offline %} ({{ topo.offline }} offline){% endif %}, {{ topo.clients }} client{{ 's' if topo.clients != 1 }}{% if topo.unknown_clients %}, {{ topo.unknown_clients }} of them never seen by lanwatch{% endif %}. Gateway on the left, access points and switches beside it, clients under the device they hang off. Each client's network is written under its name.{% if unifi_error %} Last read failed {{ unifi_error }}; this is the previous state.{% endif %}
{% if topo.legend | length > 1 %}