Page 2 of 2

Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home

Posted: Sun Nov 20, 2016 3:58 pm
by no1knows
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

Posted: Thu Oct 12, 2017 7:58 pm
by __simon
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

Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home

Posted: Sat Oct 14, 2017 5:50 pm
by Baylink
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.

Re: HOWTO:Zoneminder recording if your 'iPhone' is out of home

Posted: Thu Feb 08, 2018 10:53 am
by sagitt
probably is possible do something like this with homebridge and home app automation :)