{% extends "base.html" %} {% block title %}Overview · NEXXVU{% endblock %} {% macro donut_svg(chart, label, base, field, whole) -%} {% for s in chart.segments %}{{ s.label }}: {{ s.count }} ({{ s.percent }} %): show them{% endfor %} {{ chart.total }} {%- endmacro %} {% block content %}{% set h = home %}
{% if inventory_tree %}{% include "_inventory_tree.html" %}{% endif %}
{% set gs = getting_started(session.user_id) if getting_started is defined else None %}{% if gs %}

Getting started

{{ gs.done }} of {{ gs.total }} steps done

See what the Portal prepares in the background, and finish the settings only you can enter: ecosystem, organization, e-mail, Google.

Continue setting up
{% endif %} {% if h.empty %}

Overview

Welcome to NEXXVU

Add your first device to see its status here.

Open the inventory
{% else %}

Overview

{{ h.ecosystem.name }}

{{ h.devices }} device{{ 's' if h.devices != 1 }} · {{ h.online }} online{% if h.offline %} · {{ h.offline }} offline{% endif %}

{% if h.ecosystems|length > 1 %}
{% endif %}Detailed operations
{# R54.13 (Hani #1 2026-11-11): NEXXVU AI on top of the homepage, watched like devices - 24 hours of minute checks (answering, reached through the AI Gateway, answer time), analyses per hour, and the GPU once the AI Gateway reports its load. Administrators only. #} {% set ai = ai_panel %}{% if ai %}

AI · NEXXVU AI {{ fresh_tag("home:ai-panel") }}

Settings ›
{% if not ai.configured %}

The AI Gateway is not set up on this Portal. Set it up in Settings › NEXXVU AI to see here whether NEXXVU AI answer, how fast, and how many analyses they make.

{% else %}{% set n = ai.now %}{% set adv = ai.advice %}{% if adv and adv.state in ('lower', 'raise') %}

{{ 'The AI needs more resources' if adv.capacity else ('Advice: lower the limits' if adv.state == 'lower' else 'Advice: raise the limits') }} › {{ adv.effect }}

{% endif %}
{% for key, name, pct, ok in [('hermes', 'AI Gateway', ai.hermes_percent, n.state in ('ok', 'llm_down')), ('llm', 'AI Engine', ai.llm_percent, n.state == 'ok')] %}

{{ name }}

{{ pct|round(1) if pct is not none else '–' }} %

{% for m in ai.down_marks[key] %}{% endfor %}
{% endfor %}

Answer time

{{ ai.latency_last if ai.latency_last is not none else '–' }} ms

{% for d in ai.down_marks.hermes %}{% endfor %}{% if ai.latency %}{% for seg in ai.latency.segments %}{% endfor %}{% endif %}

Analyses

{{ ai.totals.answered }} answered

{% for b in ai.bars %}{{ b.count }} {{ {'answered': 'answered', 'refused': 'busy (refused)', 'failed': 'failed'}[b.kind] }}, {{ b.hours_ago }} h ago{% endfor %}

GPU

{% if ai.gpu %}

{{ ai.gpu_last|round|int }} %

{% for seg in ai.gpu.segments %}{% endfor %} {% else %}

–

{% endif %}
{% endif %}
{% endif %} {# F10 (Hani #1 2026-10-24): the network map on top with the device counts beside it; the geo map below. Full screen (the icon) gives the network map the whole screen, with the counts and the geo map as small panels you can resize. #}
{% set nm = h.map %}{% from "_network_map.html" import map_svg with context %}

Network map

{% for state in ['ok', 'traffic', 'warn', 'down', 'unknown'] if nm %}{% if nm.counts[state] %}{{ nm.health_labels[state] }} ({{ nm.counts[state] }}){% endif %}{% endfor %}
{% if nm %}{{ map_svg(nm, none, true, '/?ecosystem=' ~ h.ecosystem.id) }}{% else %}

The network map appears once devices are linked (a device's Relationships & map tab).

{% endif %}
{% include "_geo_map.html" %}
{% endif %}
{% endblock %} {% block scripts %}{% endblock %}