I have a machine with a USB port that is powered when the machine is on. My thought was to use the USB port to power a D1-Mini and use the asuswrt integration to show the status of the machine (on/off). After flashing the D1 with Tasmota I’m not having much luck as the D1 mini always shows “home” even when the D1 is offline.
So, is there a way to do this using MQTT? Issue I see here is the MQTT wouldn’t be able to broadcast is “off” status?
look into last will and testament messages, I guess that is what you’re looking for