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

Nodes {{Node.name}}

{% include "frontend/flash.html" %} {% from "frontend/macros/map.html" import Map %}
{{ Node.location.street}}, {{ Node.location.city }}
{{ Map(Node.location.latitude, Node.location.longitude) }}
{{Node.name}}
{% from "frontend/macros/data/node/power.html" import Current as CurrentPower %} {% from "frontend/macros/data/node/heat.html" import Current as CurrentHeat %}
{{ CurrentPower(Node) }}
{{ CurrentHeat(Node) }}
iCPE
{% if Node.icpe %} {% endif %}
{% if Node.icpe %}

Connection

Type:

-


IP:

-

Power

Source:

-


Battery Level:

-

{% else %} {% from "frontend/macros/icpe.html" import SelectiCPE %}

Add iCPE Connection

{% endif %}
{% from "frontend/nodes/macros/sensor.html" import SensorBox, SensorScripts %} {% if Node.icpe.sensors|length > 0 %} {% for sensors in Node.icpe.sensors|batch(6) %}
{% for sensor in sensors %}
{% if sensor.name %} {{ sensor.name }} {% else %} {{ sensor.sensor_id }} , {{ sensor.product_name }} {% endif %}
{{ SensorBox(sensor) }}
{% endfor %}
{% endfor %} {% endif %} {% from "frontend/macros/data/node/power.html" import Chart as PowerChart %} {% from "frontend/macros/data/node/heat.html" import Chart as HeatChart %} {% from "frontend/macros/data/node/event.html" import EventList %}
{% if Node.icpe.power %}
{{ PowerChart(Node) }}
{% endif %} {% if Node.icpe.heat %}
{{ HeatChart(Node) }}
{% endif %} {% if Node.icpe.events %}
{{ EventList(Node) }}
{% endif %}
{% from "frontend/nodes/modals/node.html" import ModalGrouplist with context %} {% from "frontend/nodes/modals/node.html" import NodeInformation with context %} {% from "frontend/nodes/modals/icpe.html" import iCPEModal %} {% from "frontend/nodes/modals/sensor.html" import SensorModal %} {% from "frontend/macros/form.html" import render_manual %} {{ ModalGrouplist(Node.groups) }} {{ NodeInformation(Node) }} {% from "frontend/macros/messages.html" import MessageList %} {% if Node.icpe.sensors|length > 0 %} {{ SensorScripts(Node.icpe.sensors) }} {% endif %} {{ iCPEModal() }} {{ SensorModal() }} {% endblock %}