have a remote camera on unknown IP dial home and connect to server
Posted: Sun Sep 04, 2016 6:26 pm
Anyone think of a way to achieve this? have thought could subscribe camera to ddns service and set ZM to connect to it letting it just fault when camera cant be found. however feel there must be a more elegant solution.
ZM server has a good fast connection, static IP, and domain name registered to it so a camera that finds itself on the internet could find the server easy enough.
could have the camera(raspi so can mess about with it) update a text file on the server every 10 minutes with an IP address. and somehow have zoneminder check said file every 10 minutes, if updated in less than 10 minutes attempt to connect to camera, if over 10 minutes dont connect. (would save zm spamming the log file when no cameras present)
the idea is if I wish to add a camera ad-hoc anywhere with an internet it'll get picked up by zm, and recorded in a safe place
ZM server has a good fast connection, static IP, and domain name registered to it so a camera that finds itself on the internet could find the server easy enough.
could have the camera(raspi so can mess about with it) update a text file on the server every 10 minutes with an IP address. and somehow have zoneminder check said file every 10 minutes, if updated in less than 10 minutes attempt to connect to camera, if over 10 minutes dont connect. (would save zm spamming the log file when no cameras present)
the idea is if I wish to add a camera ad-hoc anywhere with an internet it'll get picked up by zm, and recorded in a safe place
