I've switched to python logging, so there are timestamps
Ping/pong now now doesn't publish offline every time, fixed the topic too and it is now purely time based
I'm having an issue with sensor disappearing, so I've added support to publish their internal state to mqtt.
From time to time it seems that mqtt client stops responding, so I've played a bit with the socket timeout. I think a second or so timeout is better than the previous of 0.1s
logging
, so there are timestamps