Michael
I've created a device from stat/mqtt/alive
Seem to have an issue with the device adhering to the checkbox being turned off:
Do not update device last change time
if device value does not change:
I've turned this off and sent the following:
mosquitto_pub -d -t stat/mqtt/alive -m ping
If I send it in a minutes time, the timestamp on the web page doesnt change. If I change the payload then it updates the data on the web page fine. I was going to run a crontab on the raspberrypi every 5 mins so I can keep tab of the device being alive. I know you have another way to do it which is fine but curious as to why this is happening ?
Any ideas ?
Thanks Pete
I've created a device from stat/mqtt/alive
Seem to have an issue with the device adhering to the checkbox being turned off:
Do not update device last change time
if device value does not change:
I've turned this off and sent the following:
mosquitto_pub -d -t stat/mqtt/alive -m ping
If I send it in a minutes time, the timestamp on the web page doesnt change. If I change the payload then it updates the data on the web page fine. I was going to run a crontab on the raspberrypi every 5 mins so I can keep tab of the device being alive. I know you have another way to do it which is fine but curious as to why this is happening ?
Any ideas ?
Thanks Pete
Comment