January 4, 2010

Positioning Network Camera via Indigo Home Control

Panasonic Network cameras like the BL-C10A can be positioned to presets via http URLs. Currently cron is used to move them out of the sun on fixed times. Using Indigo would make the moves more flexible based on conditions such as sunrise and outside temperature. The old cameras tend to get stuck when its cold. Below is a test script that is embedded in the action pane of an Indigo Trigger.

property position : 5
property camURL : "webcam4.homecontrol.net.:8684"
try
do shell script "curl -s http://" & camURL & "/mobile?A=P" & position & "> /dev/null"
end try

No comments:

Post a Comment