Is it possible to check, possibly every 5 minutes, if a computer on the same network as my Raspberry Pi (running Hassbian) is sleeping, and if it is, trigger an action?
I’m not sure how to check if it is specifically sleeping, but my wake on lan switch reports that my computer is off when it is sleeping (or standby, or shut down) and reports online if the computer is on, maybe you can use that?
Of course, brilliant, thank you!