From 9235e8a2722bd2b45ba405eeb209af7074a627b4 Mon Sep 17 00:00:00 2001 From: Ollo Date: Thu, 6 Apr 2023 18:03:13 +0200 Subject: [PATCH] Changed to python3 --- esp32/host/upload-via-mqtt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32/host/upload-via-mqtt.sh b/esp32/host/upload-via-mqtt.sh index 6a4bf44..9c3f6da 100755 --- a/esp32/host/upload-via-mqtt.sh +++ b/esp32/host/upload-via-mqtt.sh @@ -22,7 +22,7 @@ mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "1" -r echo "Waiting ..." mosquitto_sub -h $mqttHost -t "${mqttPrefix}${homieId}/#" -R -C 1 set -e -python ota_updater.py -l $mqttHost -t "$mqttPrefix" -i "$homieId" $firmwareFile +python3 ota_updater.py -l $mqttHost -t "$mqttPrefix" -i "$homieId" $firmwareFile mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "0" -r exit 0