String macAddress: mac address of the host. The format could either be XX:XX:XX:XX:XX:XX or XX-XX-XX-XX-XX-XX
String hostname: hostname or the ip address of the host
int port: the target port (NOTE: commonly 9)
String secureOnPassword (optional): the SecureOn password. The format could either be XX:XX:XX:XX:XX:XX or XX-XX-XX-XX-XX-XX. No SecureOn password will be sent to the host if an empty string is passed.
Check if device is online (or awake). Note that this method no guarantee.
Edit: Yeah, I feel stupid now, since I realized the device has to be connected to a network, so there I had my answer
But if anyone has an idea of how I could solve my problem as described, don’t hesitate to PM me
…
Maybe a dumb question. But does this also work on mobile phones? Or is it meant to be for waking computers?
In case it’s possible on phones also, what kind of mode must the phone be in? Can it be turned totally off, or are there some kind of “soft turn off” mode with nothing running on phone?
Why I ask is because I don’t have electricity to my cabin in mountain, I’m using solar panels and 12v batterybank to power up my cabin with electricity. With this I could set up a phone with Wake On Lan and access the Power panel with help of Bluetooth and TeamViewer when I’m home
I know I can do this with a 4g router, that’s what I use now, but the router sucks the battery dry after a few days without any sun outside So not the best solution