OpenHAB with Plugwise configuration
Posted: Wed Jan 21, 2015 6:45 pm
Hi everyone,
I have been struggling with plugwise configuration for OpenHAB. Dispite the lack of clear information and examples i have managed to find out that the port should be COM3, verified from the source software screen on the stick.
The circeplus mac sould be like this i guess. What "000D6F000" does, i don't know, but the 2 samples i could find both used this part. The rest of the code is the one for my circle+, again, taken from the source software.
I have 2 devices (for testing) specified in the same .cfg file. I saw this somewhere, but it was in comment. I've tried both, with no success. It's in comment at the moment.
in the .items file the 2 devices exist. their on/off signals are directed to the mac id's i.e. their circles.
The .sitemap is perhaps less exciting, partly because it looks fine to me, but still, here is the (i believe) relevant code:
The software runs without any error or warning. On the site i can press the buttons and the server log shows the commands i have given.
However, the part where i realize something is wrong is here. No device toggles it's power. Both tested devices are within earshot AND sight of my so i am 100% sure there is no response. via the plugwise interface i have confirmed the devices physically operate fine and i can really hear and see the result.
Can anyone advice me where to look for the problem?
Did i make a mistake with copy/pasting the wrong value?
Have i misunderstood any relevancy of names in the configurations?
i just don't know.
I have been struggling with plugwise configuration for OpenHAB. Dispite the lack of clear information and examples i have managed to find out that the port should be COM3, verified from the source software screen on the stick.
Code: Select all
plugwise:stick.port=COM3
Code: Select all
plugwise:circleplus.mac=000D6F0003973A7C
Code: Select all
#plugwise:7O_Spotjes_4.mac =000D6F0002779532
#plugwise:G_Tablet_DIT101201.mac=000D6F0002768B94
Code: Select all
Switch Switch_7O_Spotjes_4 label="Overloop" <plugwise> (RG_V1e_Verlichting) { plugwise="[ON:000D6F0002779532:state:30], [OFF:000D6F0002779532:state:30]"}
Switch Switch_G_Tablet_DIT101201 label="Gamekamer_Tablet" <plugwise> (Tablets) { plugwise="[ON:000D6F0002768B94:state:30], [OFF:000D6F0002768B94:state:30]"}
Code: Select all
Switch item=Switch_7O_Spotjes_4 label="Verlichting overloop" mappings=[OFF="Uit", ON="Aan"]
Switch item=Switch_G_Tablet_DIT101201 label="Gamekamer Tablet" mappings=[OFF="Uit", ON="Aan"]
Code: Select all
2015-01-21 17:35:46.286 [INFO ] [runtime.busevents ] - Switch_7O_Spotjes_4 received command ON
2015-01-21 17:35:47.932 [INFO ] [runtime.busevents ] - Switch_G_Tablet_DIT101201 received command OFF
2015-01-21 17:35:51.337 [INFO ] [runtime.busevents ] - Switch_G_Tablet_DIT101201 received command ON
Can anyone advice me where to look for the problem?
Did i make a mistake with copy/pasting the wrong value?
Have i misunderstood any relevancy of names in the configurations?
i just don't know.