OpenHAB with Plugwise configuration

Forum about OpenHAB open Source Home Automation.

Moderator: raymonvdm

Post Reply
johnny5
Starting Member
Starting Member
Posts: 1
Joined: Wed Jan 21, 2015 6:27 pm

OpenHAB with Plugwise configuration

Post by johnny5 »

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.

Code: Select all

plugwise:stick.port=COM3
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.

Code: Select all

plugwise:circleplus.mac=000D6F0003973A7C
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.

Code: Select all

#plugwise:7O_Spotjes_4.mac      =000D6F0002779532
#plugwise:G_Tablet_DIT101201.mac=000D6F0002768B94
in the .items file the 2 devices exist. their on/off signals are directed to the mac id's i.e. their circles.

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]"}
The .sitemap is perhaps less exciting, partly because it looks fine to me, but still, here is the (i believe) relevant code:

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"]
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.

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
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.
Post Reply

Return to “OpenHAB Forum”