Host Reachable issue
Posted: 29 Nov 2018 12:33
I'm using AM on an Nexus 4/Android 5 phone at home to inform me if the home network goes down. I'm using Host Reachable condition to ping a local device.
The problem is that the Host Reachable sometimes fails even when everything (else) is working. It's as if the Nexus 4 has gone to sleep as far as Wifi is concerned (and Wifi is set as always on).
- When ever I get notified the network is down I can immediately re-run the flow and it shows it's up again.
- I don't think the network is actually going down for a few seconds as it would too much coincidence it's down just when I test it - my flow normally runs only every few hrs and the network runs normally.
- I've tried my router and also a Wifi connected smart plug as targets for the ping. Makes no difference.
A rather kludgy work-around seems to be to run the Host Reachable condition twice a few seconds apart and make sure the pinged device is unreachable both times, but does anyone know why this shoukd be necessary?
The problem is that the Host Reachable sometimes fails even when everything (else) is working. It's as if the Nexus 4 has gone to sleep as far as Wifi is concerned (and Wifi is set as always on).
- When ever I get notified the network is down I can immediately re-run the flow and it shows it's up again.
- I don't think the network is actually going down for a few seconds as it would too much coincidence it's down just when I test it - my flow normally runs only every few hrs and the network runs normally.
- I've tried my router and also a Wifi connected smart plug as targets for the ping. Makes no difference.
A rather kludgy work-around seems to be to run the Host Reachable condition twice a few seconds apart and make sure the pinged device is unreachable both times, but does anyone know why this shoukd be necessary?