The debug message
netcheck done but failed means, that the check is completed but one (or all, depending on config) device is not present.
5 seconds are very short. In my tests 10 seconds (10000 ms in the config) worked fine.
Can you insert the following line to your crontab (
crontab -e) to run an extra commandline check every minute and log the results to a file? (replace
<MAC> with your mac address)
* * * * * [ "$(sudo hcitool name <MAC>)" == "" ] && echo "$(date) absent" || echo "$(date) present" >> ~/netcheck-test.txt
This should create a file named
netcheck-test.txt in your home directory. After some minutes it should contain lines like this:
So 24. Sep 19:01:02 CEST 2017 present
So 24. Sep 19:02:02 CEST 2017 present
So 24. Sep 19:03:02 CEST 2017 present
Please check if this also reports absent if your device is marked as absent in pimatic.
pimatic-radiohead - Build your own wire or radio networks.
pimatic-pcf8574 - Use one or more PCF8574 portexpander ICs.
pimatic-netcheck - Check if e.g. smartphones are present using ping and/or bluetooth.