LinuxMCE Forums

General => Feature requests & roadmap => Topic started by: dextaslab on January 19, 2013, 06:10:53 pm

Title: Temperature displays in motion cams
Post by: dextaslab 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):
(http://www.modlog.net/wp-content/uploads/2013/01/lastsnap.jpg)

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

Cheers.
Title: Re: Temperature displays in motion cams
Post by: tschak909 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