From cd1e88e6e26070e65ecf3a00fef6b2592746c65d Mon Sep 17 00:00:00 2001 From: Ollo Date: Thu, 9 May 2024 11:41:20 +0200 Subject: [PATCH] Print build date and time of firmware to upload --- esp32/host/upload-via-mqtt.sh | 2 ++ 1 file changed, 2 insertions(+) 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 ..."