Page 1 of 1

ZM and 1-wire protocol for sensors?

Posted: Thu Jun 02, 2016 9:31 pm
by linforpros
Hello, was there ever any discussion among Developers to implement one wire protocol within zoneminder?
I think Linux kernel supports this protocol out of the box.
We could get an edge among other software packages.
Usage scenarios are listed on Wikipedia weather stations etc. Could ZM overlay output from them sensors on images or videos?

https://en.m.wikipedia.org/wiki/1-Wire

Re: ZM and 1-wire protocol for sensors?

Posted: Fri Oct 07, 2016 12:31 am
by knight-of-ni
I think directly reading a sensor is best done using other hardware or software. ZoneMinder has a service, zmtrigger, which allows you to interface with third party hardware or software. You can use zmtrigger to trigger a camera to record or your can use it to inject data, such as the temperature, into the image.

See the link in my signature for how to program an esp8266 to read from a sensor and send data to zoneminder. Note that the esp8266 is nothing but a small Arduino with wifi builtin.... you could use any microcontroller to do the same thing if you don't need the wifi.