Sensor indicating availability

I’ve got an ESP8266 with ESPHome in the same power socket as my coffee machine. And both are powered through a 25 minute dumb timer.

I want to have a sensor in Home Assistant indicating if the ESP8266 is powered or not. I want to trigger on when the coffee machine is not powered anymore (i.e. the timer runs out). Is this possible through the HA API? Or is the “last will” functionality the only option (which means I need to drop the HA API and go for MQTT instead - something I don’t want to do at this time)? Or is there some other way I can do this?

I would use the Status binary sensor for this scenario.

1 Like

Another option that comes to mind is simple network device tracker

Either one for your router, or nmap

1 Like

Perfect! This was exactly what I was looking for. :slight_smile:

1 Like