Skip to content

A dashboard which is updated via MQTT payloads from aMesh

License

Notifications You must be signed in to change notification settings

alport/MQTT_Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT_Dashboard

A dashboard which is updated via MQTT payloads from aMesh, a simple LoRa ESP32 based network, using the LoRa protocol that is currently in development.

An aMesh gateway sends messages via a serial link to a Raspberry Pi computer running Node-Red. These Node-Red payloads are sent to a cloud-based Shiftr broker.

In order to have universal access to the payload traffic, the MQTTdashboard subscribes to these messages using the PahoMqtt python library.

The problem is that the incoming messsages are processed by a "on-receive" callback. If a StreamLit command such a st.table is included in this callback, StreamLit objects (with an out of context error), and hence, as a compromise, this st.table command needs to be executed in a sleep loop. Need to find a better solution.

About

A dashboard which is updated via MQTT payloads from aMesh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages