Hello!
This is my first project and need some help.The following hardware I'm using :
RaspberryPI with FHEM house control ( 433 mhz simple sockets It works great!) XBMC player on Intel NUC with OpenELEC
The sockets control works great with an HTTP Link :
http://192.168.2.13:8083/fhem?cmd.Wohnzi...elampe=set Wohnzimmer_Leselampe on & room = Living
How can I add this link in the home_automation.py ?
I tried the following :
Code:
# Script Start
if trigger == " Script Start " and ha_settings [" ha_script_start " ] :
# Place code below this line
xbmc.executehttpapi ( " Broadcast ( <b> http:// **** : ***** @ 192.168.2.13:8083 / fhem cmd.Wohnzimmer_Leselampe = set Wohnzimmer_Leselampe on & room = Living<li> script_start </ b> ) " )
pass
# Trivia Intro
elif trigger == " Trivia Intro" and ha_settings [" ha_trivia_intro " ]
Unfortunately it does not work . I would like to address an http link on the home_automation.py
This code is in the wiki:
Code:
# Script Start
if trigger == _L_ ( 32613 ) and _S_ ( " ha_script_start " ) == "true":
xbmc.output ("[ script.cinema.experience ] - [ home_automation.py ] - % s Triggered" % _L_ ( 32613 ) level = xbmc.LOGNOTICE )
# Place code below this line
xbmc.executehttpapi ( " Broadcast ( <b> CE_Automate <li> script_start </ b> ) " )
I still do not understand where the CE_Automate is, or what it does