I have successfully enhanced this script to allow WOL for multiple of my home devices.
I struggle to find the code section in fauxmo.py where the Device state is handled.
Ideally I would like to implement a ping function (if ping to an IP is successfull, show device as ON).
Second best would be a code change to show the device as always OFF.
I have successfully enhanced this script to allow WOL for multiple of my home devices. I struggle to find the code section in fauxmo.py where the Device state is handled.
Ideally I would like to implement a ping function (if ping to an IP is successfull, show device as ON). Second best would be a code change to show the device as always OFF.
Could anyone nudge me in either direction?