Collecting environment data from the environment sense HAT connected to a reComputer J1010 edge AI device. The data is published to an MQTT broker (on the edge device) where it can be subcribed to and consumed by other applications and devices. Below is a diagram of the basic system architecture.
- Collect environment data from the sense HAT in Python and C
- Set up an MQTT broker on the edge device
- Publish the data to the MQTT broker using
paho-mqtt
- Subscribe to the MQTT broker using
paho-mqtt
and retrieve the data - Use
msgspec
to perform typed decoding of the data - Insert the data into a time series database (TimescaleDB)
...