Print build date and time of firmware to upload

This commit is contained in:
Ollo 2024-05-09 11:41:20 +02:00
parent cbde8ee11c
commit cd1e88e6e2

View File

@ -17,6 +17,8 @@ if [ ! -f $firmwareFile ]; then
echo "the script $0 must be started in host/ sub directory" echo "the script $0 must be started in host/ sub directory"
exit 2 exit 2
fi fi
echo "Firmware changed:"
ls -l $firmwareFile
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "1" -r mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "1" -r
echo "Waiting ..." echo "Waiting ..."