Author Topic: Temperature displays in motion cams  (Read 1083 times)

dextaslab

  • Veteran
  • ***
  • Posts: 77
    • View Profile
    • modlog.net
Temperature displays in motion cams
« 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.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5505
  • DOES work for LinuxMCE.
    • View Profile
Re: Temperature displays in motion cams
« 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