diff --git a/esp32/host/upload-via-mqtt.sh b/esp32/host/upload-via-mqtt.sh index 9c3f6da..853d590 100755 --- a/esp32/host/upload-via-mqtt.sh +++ b/esp32/host/upload-via-mqtt.sh @@ -17,6 +17,8 @@ if [ ! -f $firmwareFile ]; then echo "the script $0 must be started in host/ sub directory" exit 2 fi +echo "Firmware changed:" +ls -l $firmwareFile mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "1" -r echo "Waiting ..."