Skip to content

Commit 26ccc48

Browse files
authored
Developing (#47)
* groundwork for instance heartbeats * Update __main__.py * Update pyproject.toml * Update __main__.py * Update __main__.py * Update __main__.py * listener marking in db * class level max hops * min 5 -> 30 * migrate to uv * remove final poetry * Update README.md * remove submodule * node map working, but ugly * that'll do for now * don't traceroute everyone, just who I tell you to * Update __main__.py * v2.1.1 * model_validate packet * include bell icon for alerts to trigger t1000e notification sound * Update __main__.py * !l command to see links * Update __main__.py * v2.1.3 * fix !l * v2.1.4 * testing working again * v2.1.5 * rework of notification messages * v2.1.7 alert settings modifications and full implementation * Update listener_db.py * Update listener_db.py * warn -> info * Update __main__.py * ditch the api * Update README.md * Update README.md * reconnect attempts + warning * Update __main__.py * Update __main__.py * v2.1.9 increment reconnect * Update __main__.py * alert symbols * readability * v2.1.11 remove message history. not useful. * v2.1.12 notify upon new connection * Update __main__.py * notify using threads * v2.1.13 listeners can all speak in unison * Update __main__.py * v2.1.14 ignore text messages from other listener nodes * Update __main__.py * v2.1.15 now checking system usage stats * CPU interval -> None * Update utils.py * v2.1.16 bug fix for durations * info -> debug * remove some debug fluff * Update README.md * strip alert_context * v2.1.17 check for traceroute health even for nodes not running the software * hard-code 12 hours lookback * Update __main__.py * Update __main__.py * Update __main__.py * Update __main__.py * remove max hops limit from query * v2.1.18 !t command * v2.1.19 update testing as well * v2.1.20 * v2.1.21 * test message handler * Update cmd_handler.py * just cleanup because I'm picky * timestamp fix
1 parent 09da92d commit 26ccc48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meshtastic_listener/data_structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class NodeHealthCheck(BaseModel):
148148
systemResources: SystemResources = Field(default=SystemResources())
149149

150150
def status(self) -> str:
151-
status = f'''{datetime.fromtimestamp(self.startTs).strftime('%Y-%m-%d %H:%M')}
151+
status = f'''{datetime.fromtimestamp(self.endTs).strftime('%Y-%m-%d %H:%M')}
152152
CH USAGE: {round(self.channelUsage, 2)}%
153153
TR SENT: {self.tracerouteStatistics.total}
154154
TR SUCCESS: {round(self.tracerouteStatistics.average(), 0)}%'''

0 commit comments

Comments
 (0)