PLEASE READ BEFORE POSTING:

If you are willing to offer some compensation for a new feature or bug fix, you can use the Help Wanted forum. Start a new topic for each new feature idea, and when someone someone decides to do it, please edit the Roadmap Wiki which lists active work.
LinuxMCE Forums
May 18, 2013, 08:15:39 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Temperature displays in motion cams  (Read 373 times)
dextaslab
Veteran
***
Posts: 68


View Profile WWW
« on: January 19, 2013, 06:10:53 pm »

I've done this the manual way so I know it's possible and probably not "too hard" to implement - I guess...
I have some home-brew temperature sensors attached to the devices that control my webcams and they work (to some degree) with LinuxMCE's motion-wrapper. If using linuxMCE supported temperature probes I imagine it would be pretty easy to go:

If room has security cameras and temperature probes run this: /usr/bin/wget –delete-after “http://192.168.80.1:8888/$CAMERANUMBER/config/set?text_left=$ROOMNAME – $TEMPERATURE"

This was part of the manual solution I used: /usr/bin/wget –delete-after “http://192.168.80.1:8888/1/config/set?text_left=Mancave Temp – $CONDITIONS c”

Which produces this image (text is at bottom left):


I've done a vague writeup here if anyone is interested: http://www.modlog.net/?p=571

Cheers.
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: January 19, 2013, 07:40:22 pm »

Dude, make a device template for a climate interface, for these. The individual sensors would be children of the interface, and each have their respective addresses. The code would then query each of these temperature sensors, and emit a temperature changed event, as needed.

-Thom
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!