2011-03-03, 20:46
I am unsure of the plans for the future of the Home Automation part of CE, but
would it be possible to add curl commands to the script for home automation?
I have Indigo running on the same box as XBMC (OSX), and could utilize Curl commands to execute different scenes based on commands sent from within the CE script at various times.
ie:
Main future start:
curl -X PUT -d brightness=27 http://127.0.0.1:8176/devices/theatre-lamp
http://127.0.0.1:8176/devices/theatre-la...method=put
Movie Pause / start intermission:
curl -X PUT -d brightness=67 http://127.0.0.1:8176/devices/theatre-lamp
http://127.0.0.1:8176/devices/theatre-la...method=put
and so on.
Here is more rustful_url info in regard to indigo:
http://www.perceptiveautomation.com/wiki...stful_urls
Thanks for the fantastic work!
would it be possible to add curl commands to the script for home automation?
I have Indigo running on the same box as XBMC (OSX), and could utilize Curl commands to execute different scenes based on commands sent from within the CE script at various times.
ie:
Main future start:
curl -X PUT -d brightness=27 http://127.0.0.1:8176/devices/theatre-lamp
http://127.0.0.1:8176/devices/theatre-la...method=put
Movie Pause / start intermission:
curl -X PUT -d brightness=67 http://127.0.0.1:8176/devices/theatre-lamp
http://127.0.0.1:8176/devices/theatre-la...method=put
and so on.
Here is more rustful_url info in regard to indigo:
http://www.perceptiveautomation.com/wiki...stful_urls
Thanks for the fantastic work!