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 c7241a9 commit 092ff9bCopy full SHA for 092ff9b
utilities/dashio_data_exporter
@@ -186,9 +186,12 @@ def main():
186
187
from_timestamp = timestamp.isoformat()
188
189
+ # Setup callbacks
190
mqtt_client.on_connect = on_connect
191
mqtt_client.on_message = on_message
192
mqtt_client.on_subscribe = on_subscribe
193
+
194
+ # Setup connection
195
mqtt_client.tls_set(
196
ca_certs=None,
197
certfile=None,
@@ -210,6 +213,7 @@ def main():
210
213
exit(0)
211
214
212
215
mqtt_client.subscribe(data_topic, 0)
216
217
mqtt_client.loop_start()
218
219
while times_up >= 0:
0 commit comments