Hi, you can tell PulseStation that you’re at home using a ping to your mobile device.
1. Install a web server app on your android mobile (“Paw Server” works fine). You will need this to reply to the ping from PulseStation.
2. Set up a virtual device “Virtual Ping” in PulseStation and configure the correct private IP address and port.
3. Within Blockly, you can now use blocks for your virtual device and query the “ping.status” property which will return true when your mobile is logged into your WiFi, and return false if not.
This works pretty well, as long as you never turn off your mobile while at home…
- Deze reactie is gewijzigd 2 jaren, 9 maanden geleden door coldbringer.