Ping virtual device (are you at home?)

On Synology you cannot access the “real” ping command.
That’s why we need to bypass it and add a port.

This also means you have to find an open port on your device.

For Android you can use following app to find “LISTEN” ports, ports on which your device is listening:
The second tab tells you all the open ports.

I found out you can use for instance the skype port, if you have it installed.
The Facebook Messenger port however does not work.

In the end I installed a webserver on my phone that is always listening on port 12345.
NOTE: inside the settings you have to enable the authentication and set up a strong password.
Otherwise users can access the content of your device.
I also recommend to make it start automatically with your device.

So now you can always see whether your device is enabled, or that you are at home if you set it up on your phone.
To add your device, open the service ‘Virtual devices’ (you need to install it first from the Add-ons) and add a ‘ping’ device.
Inside the properties of this device, fill in the IP and port of your device.
Now PulseStation will check every minute whether the device can be reached.
You can use this for instance in your blocky rules.

If you find a good port/webserver for iPhone, let us know in the forum and we will add it here.
There are for sure solutions for iPhone as well.

Note: inside your router you can assign a fixed IP to your device. That way the IP will never change.