HOWTO:Zoneminder recording if your 'iPhone' is out of home
Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home
In case anyone's interested, here's an alternative method that I came up with that uses IFTTT: viewtopic.php?f=9&t=25499
Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home
I have an android phone, and the arpscan approach work reliably.
I made a batch script that looks for the phone in the lan with arpscan, and if the phone is not found (you can configure after how many retries) it changes the state in ZoneMinder to something you configure.
The script uses the rest api, so it can run everywhere where you have access to the ZoneMinder server.
To run it just clone this git repo with
git clone https://git.e.tern.al/s2/isphonehere.git
or download the files and unzip: https://git.e.tern.al/s2/isphonehere/ar ... ter.tar.gz
then
cp isphonehere.config.example.sh isphonehere.config.sh && chmod +x isphonehere.config.sh
and open isphonehere.config.sh with your favorite editor
I made a batch script that looks for the phone in the lan with arpscan, and if the phone is not found (you can configure after how many retries) it changes the state in ZoneMinder to something you configure.
The script uses the rest api, so it can run everywhere where you have access to the ZoneMinder server.
To run it just clone this git repo with
git clone https://git.e.tern.al/s2/isphonehere.git
or download the files and unzip: https://git.e.tern.al/s2/isphonehere/ar ... ter.tar.gz
then
cp isphonehere.config.example.sh isphonehere.config.sh && chmod +x isphonehere.config.sh
and open isphonehere.config.sh with your favorite editor
Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home
Turn your DHCP lease time down to 15 minutes, and then query the router by name?
That'll require some scraping on the router, probably, unless it's high-end enough to do SNMP.
That'll require some scraping on the router, probably, unless it's high-end enough to do SNMP.
Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home
probably is possible do something like this with homebridge and home app automation