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 42b0b9e commit 9da78f6Copy full SHA for 9da78f6
main.py
@@ -46,6 +46,7 @@
46
if MQTT_TLS:
47
mq.tls_set()
48
mq.enable_logger(LOGGER)
49
+LOGGER.info("Connecting to MQTT broker...")
50
mq.connect(MQTT_BROKER_HOST, MQTT_BROKER_PORT)
51
52
@@ -176,8 +177,5 @@ def rotate_points_azimuth(input_stream):
176
177
pipe_heading = source_heading.latest()
178
pipe_rotate = source.zip(pipe_heading).map(rotate_points_azimuth).map(to_brefv_raw).sink(to_mqtt)
179
- LOGGER.info("Connecting to MQTT broker...")
180
- mq.connect(MQTT_BROKER_HOST, MQTT_BROKER_PORT)
181
-
182
LOGGER.info("Setting up MQTT listener...")
183
subscribe_to_mqtt()
0 commit comments