more parsed.content
This commit is contained in:
parent
6d24c4c78f
commit
504084d9e9
2 changed files with 18 additions and 18 deletions
|
@ -54,17 +54,17 @@
|
||||||
|
|
||||||
<h4>Hardware</h4>
|
<h4>Hardware</h4>
|
||||||
<p>
|
<p>
|
||||||
<strong>Board:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.board_config.board.pretty_name }}
|
<strong>Board:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.content.board_config.board.pretty_name }}
|
||||||
(with {{ node.last_messages.CONFIG_HARDWARE.parsed.chip.pretty_name }} rev{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }})
|
(with {{ node.last_messages.CONFIG_HARDWARE.parsed.content.chip.pretty_name }} rev{{ node.last_messages.CONFIG_HARDWARE.parsed.content.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }})
|
||||||
|
|
||||||
{% if node.last_messages.CONFIG_BOARD.parsed.led %}
|
{% if node.last_messages.CONFIG_BOARD.parsed.content.led %}
|
||||||
<br>
|
<br>
|
||||||
<strong>Status LED:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.led }}
|
<strong>Status LED:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.content.led }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if node.last_messages.CONFIG_BOARD.parsed.uwb %}
|
{% if node.last_messages.CONFIG_BOARD.parsed.content.uwb %}
|
||||||
<br>
|
<br>
|
||||||
<strong>UWB:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.led }}
|
<strong>UWB:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.content.led }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
@ -89,13 +89,13 @@
|
||||||
<div>
|
<div>
|
||||||
<h4>Uplink configuration</h4>
|
<h4>Uplink configuration</h4>
|
||||||
<p>
|
<p>
|
||||||
<strong>Enabled:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.enabled }},
|
<strong>Enabled:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.enabled }},
|
||||||
<strong>SSID:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.ssid }},
|
<strong>SSID:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.ssid }},
|
||||||
<strong>Channel:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.channel }}<br>
|
<strong>Channel:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.channel }}<br>
|
||||||
<strong>Host:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.host }},
|
<strong>Host:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.host }},
|
||||||
<strong>Port:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.port }},
|
<strong>Port:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.port }},
|
||||||
<strong>UDP:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.udp }},
|
<strong>UDP:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.udp }},
|
||||||
<strong>SSL:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.ssl }}<br>
|
<strong>SSL:</strong> {{ node.last_messages.CONFIG_UPLINK.parsed.content.ssl }}<br>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<a class="button" href="{% url "mesh.send" recipient=node.address msg_type="CONFIG_UPLINK" %}">
|
<a class="button" href="{% url "mesh.send" recipient=node.address msg_type="CONFIG_UPLINK" %}">
|
||||||
|
@ -106,9 +106,9 @@
|
||||||
<h4>Position configuration</h4>
|
<h4>Position configuration</h4>
|
||||||
<p>
|
<p>
|
||||||
<strong>On Device:</strong>
|
<strong>On Device:</strong>
|
||||||
X={{ node.last_messages.CONFIG_POSITION.parsed.x_pos | cm_to_m }}
|
X={{ node.last_messages.CONFIG_POSITION.parsed.content.x_pos | cm_to_m }}
|
||||||
Y={{ node.last_messages.CONFIG_POSITION.parsed.y_pos | cm_to_m }}
|
Y={{ node.last_messages.CONFIG_POSITION.parsed.content.y_pos | cm_to_m }}
|
||||||
Z={{ node.last_messages.CONFIG_POSITION.parsed.z_pos | cm_to_m }}
|
Z={{ node.last_messages.CONFIG_POSITION.parsed.content.z_pos | cm_to_m }}
|
||||||
</p>
|
</p>
|
||||||
{% with locator_xyz=node.get_locator_xyz %}
|
{% with locator_xyz=node.get_locator_xyz %}
|
||||||
{% if locator_xyz %}
|
{% if locator_xyz %}
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ node.last_messages.CONFIG_BOARD.parsed.board_config.board.pretty_name }}<br>
|
{{ node.last_messages.CONFIG_BOARD.parsed.content.board_config.board.pretty_name }}<br>
|
||||||
<small>({{ node.last_messages.CONFIG_HARDWARE.parsed.chip.pretty_name }} rev{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }})</small>
|
<small>({{ node.last_messages.CONFIG_HARDWARE.parsed.content.chip.pretty_name }} rev{{ node.last_messages.CONFIG_HARDWARE.parsed.content.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.content.revision_minor }})</small>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% include "mesh/fragment_firmware_cell.html" with firmware_desc=node.firmware_description %}
|
{% include "mesh/fragment_firmware_cell.html" with firmware_desc=node.firmware_description %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue