We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9a0337 commit 0b033c7Copy full SHA for 0b033c7
main.py
@@ -41,7 +41,7 @@ def report_sensors():
41
(temp, pressure, humidity) = bme.read_compensated_data()
42
43
CLIENT_ID = "cripple"
44
- mqtt = MQTTClient(CLIENT_ID, 'libreelec.lan')
+ mqtt = MQTTClient(CLIENT_ID, 'libreelec.lan', keepalive=60)
45
mqtt.connect()
46
mqtt.publish(
47
'global/house/temperature/{}'.format(CLIENT_ID), str(temp/100))
0 commit comments