Example: MQTT Temperature
Bridge your own MQTT client. The framework defines no topic standard.
python
def on_message(client, userdata, msg):
data = json.loads(msg.payload)
sensor.update(temperature=data["temperature"])Run: python examples/mqtt-temperature/main.py
Demonstrates: external data source bridging, realtime from non-Python-originated data.