robmarkcole / rpi-enviro-mqtt

Send air quality data from a Pimoroni RPi Enviro+ over MQTT
https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-plus
Apache License 2.0
45 stars 12 forks source link

MQTT broker expects a client ID #8

Closed robmarkcole closed 4 years ago

robmarkcole commented 4 years ago

Add mqtt.Client(client_id=some_str)

robmarkcole commented 4 years ago

According to the docs, one is randomly generated -> https://github.com/eclipse/paho.mqtt.python