I’m trying to send an MQTT message from my PC when it starts up and when it goes into standby/hibernate/shutdown etc…
I have figured out how to do this by the LWT message but It’s not an immediate status change - it takes a minute for this to change to ‘off’ and all of the other monitored entities to go offline.
How might I best achieve this and where would I put this in the IOT Link files?
Afraid not, I managed to solve the thing I originally wanted this for through other means and I sorta abandoned using MQTT. The PC I had this running on is only in use for 6 months of the year so it’s gone back into storage and I haven’t pursued it any further unfortunately.