ZM and 1-wire protocol for sensors?

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

ZM and 1-wire protocol for sensors?

Post 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
best regards
LinforPros
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZM and 1-wire protocol for sensors?

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Post Reply