summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-01-01 02:33:33 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-01-01 02:33:33 +0300
commitd2a5d8c6c2a2ae27e650ec26183e7b9881b939c7 (patch)
treec8d643d2a7fcd16c40c660bc5ea12fb355af43fb /tools
parentebdedacf2f8daa75e4473f1f87129cc2a3a56893 (diff)
relay_mqtt_*: add monitoring util, improve overall support
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mcuota.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mcuota.py b/tools/mcuota.py
index 8d47c8c..75adf1b 100755
--- a/tools/mcuota.py
+++ b/tools/mcuota.py
@@ -34,7 +34,7 @@ def relayctl_publish_ota(filename: str,
global stop
stop = True
- mqtt_relay = MQTTRelay(devices=MQTTRelayDevice(home_id=home_id, secret=home_secret))
+ mqtt_relay = MQTTRelay(devices=MQTTRelayDevice(id=home_id, secret=home_secret))
mqtt_relay.configure_tls()
mqtt_relay.connect_and_loop(loop_forever=False)
mqtt_relay.push_ota(home_id, filename, published, qos)