2014-12-17, 20:55
(2014-12-17, 17:45)hoobie7 Wrote: @Batiatus
After a quick Google search it looks like the Vera's take commands via HTTP. LINK.
This is what I use with my InControl Z-Wave setup and it's actually not too difficult.
Look here for Gifties intro to the home automation process.
Find your home_automation.py file.
It should be located here: C:\Users\<username>\AppData\Roaming\XBMC\userdata\addon_data\script.cinema.experience\ha_scripts
Then just find the trigger in the script that you want to dim the lights at, I use "Movie Trailer".
Here's my code:
Code:# Trailer
elif trigger == "Movie Trailer" and ha_settings[ "ha_trailer_start" ]:
# place code below this line
urllib2.urlopen('http://192.168.0.100:1178/zwave/activateSceneGet?sceneName=Movie%20Start')
pass
Yours will probably look something like this.
Just change the IP address and port to your Vera, and figure out you scene number.
Code:# Trailer
elif trigger == "Movie Trailer" and ha_settings[ "ha_trailer_start" ]:
# place code below this line
urllib2.urlopen('http://192.168.1.100:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=1')
pass
Give it a try.
Lemme know how it goes.
Thanks for this info. I may be able to try this tonight or on the weekend. The biggest issue I've had trying to integrate the Vera has been a lot of old information that doesn't seem relevant. I've asked a number of times publicly and through PM of people who've posted about setting their own systems up. However to this point I've not had any luck getting a response.
My next big challenge is to figure out why the projector won't auto-switch to 3D HSBS and to get Stereoscopic player working with full frame packed 3D support (not CE issues but part of the overall experience).