Update temp.inc.sh

This commit is contained in:
2025-05-19 22:03:44 -05:00
parent ed26bf48df
commit a50e0d661e

View File

@@ -217,7 +217,8 @@ CHECKTEMP(){
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "lacrosse" ] && [[ "${SENSOR}" != *"-ProbeXXX" ]]; then
INFO=$(curl -m 8 -s --get -d "deviceid=${PW_SENSOR_DEVICEID[${SENSOR}]}" -d "limit=1" -d "metric=1" -d "timezone=2" https://decent-destiny-704.appspot.com/laxservices/device_info.php)
echo -e " - $(echo ${INFO} | jq -r '.device0 .obs[].timestamp')"
infDT=$(echo ${INFO} | jq -r '.device0 .obs[].timestamp')
echo -e " - ${infDT/\/2025/ @}"
else
echo
fi