Skip to content

Commit

Permalink
Comment removed
Browse files Browse the repository at this point in the history
  • Loading branch information
stekap000 committed Feb 27, 2024
1 parent c7e0877 commit 886bb5d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,17 +343,6 @@ def on_message_handler(client, userdata, message):
customLogger.info("Temperature of " + str(data_value) + " C is too high! Sounding the alarm!")
client.publish(temp_alarm_topic, True, qos)

# [REST/MQTT]
# Bojan je zamijenio kod za konekciju na klijent sa apstrakcijom.
# while not client.is_connected():
# ...
# Ako se dozvoljava promjena konfiguracije i dok konekcija sa sensor-gateway brokerom
# nije uspostavljena, onda se i unutar while petlje za konekciju treba
# staviti
# if conf_flag.is_set():
# interval = get_temp_interval(read_conf())
# conf_flag.clear()

client = MQTTClient(
"temp-data-handler-mqtt-client",
transport_protocol=transport_protocol,
Expand Down

0 comments on commit 886bb5d

Please sign in to comment.