Browse Source

Raised torch MQTT publish QoS to 1 (make sure broker received at least 1)

master
B.J. Dweck 1 year ago
parent
commit
626c13cde2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      torch_agent/torch_agent.py

+ 1
- 1
torch_agent/torch_agent.py View File

@ -101,7 +101,7 @@ def main():
})
print("Publishing payload: " + payload)
client.publish(mqtt_topic, payload)
client.publish(mqtt_topic, payload, qos=1)
print("Published payload!")
client.disconnect()

Loading…
Cancel
Save