I like the "time stamp" on each image that I capture. As a seperate hobby I record outdoor / indoor temperature into a database. I was wondering I could read a value out of the db (or text file for that matter) and insert it as text into the time stamp field on each pic? Keep in mind the temp would change, as the time does...
I would like to add the outdoor temperature to the outdoor camera's timestamp field....
Thanks
Add additional Text to "time stamp" per image capt
-
- Posts: 3
- Joined: Sat Jan 29, 2005 1:37 am
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 3
- Joined: Sat Jan 29, 2005 1:37 am
Gathering temperature data
I am currently getting temperature data from a DS1820 sensor (1-wire temperature sensor). I have it interfaced to my serial port via a 1-wire converter. There is an open source application called digitemp that I use to get the data. (It grabs it and converts it to c and f) When I call the application I get the temperature back in decimal format. I could write this value to a file, every 5 min or so. Zoneminder could grab whatever is in the file and append it to the timestamp text?
I think you might have a better way to do this... I don't think there is currently a perl module for the digitemp sensors. I also think that grabbing the temperature off the sensor for each frame (especially in alarm mode) would cause things to slow down, because it does take a second to come back with the data)
I think you might have a better way to do this... I don't think there is currently a perl module for the digitemp sensors. I also think that grabbing the temperature off the sensor for each frame (especially in alarm mode) would cause things to slow down, because it does take a second to come back with the data)