Hi All,
Because i tried to make some scenarios with my Z-wave network, Fibaro dimmer 2 and libcheck and couldn’t manage, i decided to buy a Logitech Harmony Ultimate remote to do this job instead of HDMI check, remote which btw its a great gadget
First posting here ive checked some topics and tested already a few examples but nothing seems to work for me.
In the Logitech software i have created two activities like “Watch TV” and "Movie"
The first one it turns my TV on random cable chanels and the second one it turns my TV on / open the source / select the usb externall HDD attached to my TV.
In OH i have a scenario for lights as this one:
Items:
Dimmer Living_dim "Dimmer Living [%d %%]" {zwave="2:command=SWITCH_MULTILEVEL" }
Number Living_SC "Scena"
Sitemap:
Switch item=Living_SC mappings=[0="Film", 1="TV", 2="Cina", 3="Noapte"] icon="television"
and Rules:
/* Scene iluminat */
rule "Activare scene iluminat"
when
Item Living_SC changed
then
switch Living_SC.state{
case 0:{
logInfo("Scenes", "Scena Film Activa")
sendCommand(Living_dim,50)
}
case 1:{
logInfo("Scenes", "Scena TV Activa")
sendCommand(Living_dim,100)
}
case 2:{
logInfo("Scenes", "Scena Cina Activa")
sendCommand(Living_dim,20)
}
case 3:{
logInfo("Scenes", "Scena Noapte Activa")
sendCommand(Living_dim,OFF)
}
}
All of the works just fine and i can only dim the light in my living room as they are configured.
I tried to follow the tutorials on wiki, makeuseof and other examples but no luck.
I use OH 1.7.1 and i found all the jar addons in the addons copy folder and copied them (all three) in the addon folder.
Than i searched in the cfg files and couldnt find the Harmony section described in all tutorials so i just added at the end of the openhab.cfg file my settings like this:
################################ Harmony #######################################
#
harmonyhub:host=<192.168.1.104>
harmonyhub:username=<here is my Logitech username>
harmonnyhub:password=<here is my Logitech pass>
I dont know if this is OK or not! Shouldn’t i find this section in my openhab.cfg? in my case the Harmony section in openhab.cfg it does not exist!
Anyway i tried to add some items and some rule like this:
Item:
/* Harmony */
String HarmonyHubWatchTV "watchTV" {harmonyhub=">[Livingroom:start:WatchTV]"}
Rule:
case 1:{
logInfo("Scenes", "Scena TV Activa")
sendCommand(Living_dim,100)
sendCommand(HarmonyHubWatchTV,WatchTV)
}
The activity Watch TV on the Harmony app is with space between Watch and TV and i tried in OH with space in between and still not working:
Item:
String HarmonyHubWatchTV "watchTV" {harmonyhub=">[Livingroom:start:Watch TV]"}
Rule:
sendCommand(HarmonyHubWatchTV,Watch TV)
Could anyone please point me the mistake or how to make the right configuration?
Thanks All!