mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-03-04 23:27:46 +01:00
Changing the way we load protobuf definitions since meshtastic added a submodule that is not loading properly
This commit is contained in:
@@ -52,12 +52,9 @@ Requires **`python3.11`** or above.
|
||||
Clone the repo from GitHub:
|
||||
|
||||
```bash
|
||||
git clone --recurse-submodules https://github.com/pablorevilla-meshtastic/meshview.git
|
||||
git clone https://github.com/pablorevilla-meshtastic/meshview.git
|
||||
```
|
||||
|
||||
> **NOTE**
|
||||
> It is important to include the `--recurse-submodules` flag or the meshtastic protobufs won't be included.
|
||||
|
||||
Create a Python virtual environment:
|
||||
|
||||
```bash
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
{{ packet.payload }}
|
||||
{% if packet.raw_mesh_packet.decoded.reply_id %}
|
||||
<span class="replying-to">
|
||||
(Replying to: <a href="/packet/{{ packet.raw_mesh_packet.decoded.reply_id }}">{{ packet.raw_mesh_packet.decoded.reply_id }}</a>)
|
||||
<i>(Replying to: <a href="/packet/{{ packet.raw_mesh_packet.decoded.reply_id }}">{{ packet.raw_mesh_packet.decoded.reply_id }}</a>)</i>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
@@ -15,13 +15,16 @@
|
||||
.chat-packet:nth-of-type(even){
|
||||
background-color: #333333; /* Slightly lighter than the previous #181818 */
|
||||
}
|
||||
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
|
||||
<div class="container" > {{ site_config["site"]["weekly_net_message"] }} <br><br>
|
||||
</div>
|
||||
<div class="container">
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
{{ site_config["site"]["weekly_net_message"] }} <br><br>
|
||||
|
||||
<h5>Number of Check-ins: {{ packets|length }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{% for packet in packets %}
|
||||
<div
|
||||
class="row chat-packet"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<div>{{packet.pretty_payload}}</div>
|
||||
{% endif %}
|
||||
{% if packet.raw_mesh_packet and packet.raw_mesh_packet.decoded and packet.raw_mesh_packet.decoded.reply_id %}
|
||||
Reply ID: {{ packet.raw_mesh_packet.decoded.reply_id }}
|
||||
<i>(Replying to: <a href="/packet/{{ packet.raw_mesh_packet.decoded.reply_id }}">{{ packet.raw_mesh_packet.decoded.reply_id }}</a>)</i>
|
||||
{% endif %}
|
||||
{% if packet.raw_mesh_packet.decoded and packet.raw_mesh_packet.decoded.portnum == 70 %}
|
||||
<ul>
|
||||
|
||||
+38
-40
@@ -1,46 +1,44 @@
|
||||
protobuf~=5.29.3
|
||||
aiomqtt~=2.3.0
|
||||
sqlalchemy[asyncio]~=2.0.38
|
||||
cryptography~=44.0.1
|
||||
aiosqlite~=0.21.0
|
||||
aiohttp~=3.11.12
|
||||
aiodns~=3.2.0
|
||||
Jinja2~=3.1.5
|
||||
aiohttp-sse
|
||||
asyncpg~=0.30.0
|
||||
seaborn~=0.13.2
|
||||
pydot~=3.0.4
|
||||
plotly~=6.0.0
|
||||
#############################
|
||||
# Runtime dependencies
|
||||
#############################
|
||||
|
||||
numpy~=2.2.3
|
||||
pillow~=11.1.0
|
||||
pip~=23.2.1
|
||||
attrs~=25.1.0
|
||||
cffi~=1.17.1
|
||||
paho-mqtt~=2.1.0
|
||||
pytz~=2025.1
|
||||
idna~=3.10
|
||||
multidict~=6.1.0
|
||||
propcache~=0.2.1
|
||||
typing_extensions~=4.12.2
|
||||
pyparsing~=3.2.1
|
||||
pycares~=4.5.0
|
||||
# Core async + networking
|
||||
aiohttp~=3.11.12
|
||||
aiohttp-sse
|
||||
aiodns~=3.2.0
|
||||
aiomqtt~=2.3.0
|
||||
asyncpg~=0.30.0
|
||||
aiosqlite~=0.21.0
|
||||
|
||||
# Database + ORM
|
||||
sqlalchemy[asyncio]~=2.0.38
|
||||
|
||||
# Serialization / security
|
||||
protobuf~=5.29.3
|
||||
cryptography~=44.0.1
|
||||
|
||||
# Templates
|
||||
Jinja2~=3.1.5
|
||||
MarkupSafe~=3.0.2
|
||||
|
||||
# Graphs / diagrams
|
||||
pydot~=3.0.4
|
||||
|
||||
|
||||
#############################
|
||||
# Development / Analysis / Debugging
|
||||
#############################
|
||||
|
||||
# Data science stack
|
||||
numpy~=2.2.3
|
||||
pandas~=2.2.3
|
||||
matplotlib~=3.10.0
|
||||
python-dateutil~=2.9.0.post0
|
||||
packaging~=24.2
|
||||
narwhals~=1.27.1
|
||||
yarl~=1.18.3
|
||||
aiosignal~=1.3.2
|
||||
frozenlist~=1.5.0
|
||||
aiohappyeyeballs~=2.4.6
|
||||
cycler~=0.12.1
|
||||
six~=1.17.0
|
||||
greenlet~=3.1.1
|
||||
seaborn~=0.13.2
|
||||
plotly~=6.0.0
|
||||
|
||||
# Image support
|
||||
pillow~=11.1.0
|
||||
|
||||
# Debugging / profiling
|
||||
psutil~=7.0.0
|
||||
objgraph~=3.6.2
|
||||
contourpy~=1.3.1
|
||||
fonttools~=4.56.0
|
||||
pycparser~=2.22
|
||||
kiwisolver~=1.4.8
|
||||
Reference in New Issue
Block a user