Hello,
I’m running OpenHAB 1.7.1 on a Windows 2012 R2 server. My stick is
directly attached to the server and identified on Windows as COM3.
openhab.cfg:
plugwise:stick.port=COM1
plugwise:stick.interval=150
plugwise:circleplus.mac=000D6F0001A405FD
default.items
Switch Switch2 “Switch2” { plugwise="[ON:000D6F0001A405FD:state:30], [OFF:000D6F0001A405FD:state:30]"} (gKitchen)
Switch Switch1 “Switch1” { plugwise="[ON:000D6F0001A5A199:state:30], [OFF:000D6F0001A5A199:state:30]"} (gKitchen)
Number Item1 “Item1” “Consumo: [%.1f W]” { plugwise="[circleplus:power:10]"}
DateTime Time1 “Time1” “Consumo: [%.1f W]” { plugwise="[circleplus:realtime-clock:10]"}
When I run OpenHAB it tells me it’s sending out messages, but I’m not
seeing any responses coming back from the network. I checked the device
MAC addresses in the plugwise source mdb file and they are correct.
I’ve enabled debugging and have copied part of the trace below (it
includes me trying to toggle power on one of the devices):
2015-08-26 14:24:59 - Plugwise binding has been started.
2015-08-26 14:25:00 - Serial port ‘COM1’ has been found.
2015-08-26 14:25:00 - sendMessage: Stick send message: Plugwise Message
[type=INITIALISE_REQUEST, MAC=, SeqNr=0, payload=, retrycount=0]
2015-08-26 14:25:00 - Plugwise added Stick connected to serial port COM1
2015-08-26 14:25:00 - SendJob: 1 messages in the sendQ
2015-08-26 14:25:00 - sendMessage: Sending Plugwise protocol data unit:
attempts: 1 MAC: command:INITIALISE_REQUEST sequence:0 full HEX:000AB43C
2015-08-26 14:25:00 - ProcessMessageJob: Locking the queues
2015-08-26 14:25:00 - ProcessMessageJob: there are 0 msg in the receivedQ
2015-08-26 14:25:00 - sendMessage: Locking the queues
2015-08-26 14:25:00 - ProcessMessageJob: Unlocking the queues
2015-08-26 14:25:00 - sendMessage: Writing message to the outputchannel
of the stick : Plugwise Message [type=INITIALISE_REQUEST, MAC=, SeqNr=0,
payload=, retrycount=1]
2015-08-26 14:25:00 - sendMessage: Entering loop for lastMessage
2015-08-26 14:25:00 - Plugwise added Circle+ with MAC address: 000D6F0001A405FD
2015-08-26 14:25:00 - Setting the interval to send ZigBee PDUs to 150 ms
2015-08-26 14:25:00 - The Plugwise device with id 000D6F0001A5A199 is not yet defined
2015-08-26 14:25:00 - Plugwise added Circle with MAC address: 000D6F0001A5A199
2015-08-26 14:25:00 - sendMessage: Stick send message: Plugwise Message
[type=DEVICE_INFORMATION_REQUEST, MAC=000D6F0001A5A199, SeqNr=0,
payload=, retrycount=0]
2015-08-26 14:25:00 - ProcessMessageJob: Locking the queues
2015-08-26 16:51:29 - sendMessage: Stick send message: Plugwise Message
[type=POWER_CHANGE_REQUEST, MAC=000D6F0001A5A199, SeqNr=0, payload=01,
retrycount=0]
2015-08-26 16:51:29 - sendMessage: Stick send message: Plugwise Message
[type=DEVICE_INFORMATION_REQUEST, MAC=000D6F0001A5A199, SeqNr=0,
payload=, retrycount=0]
2015-08-26 16:51:35 - sendMessage: Stick send message: Plugwise Message
[type=POWER_CHANGE_REQUEST, MAC=000D6F0001A5A199, SeqNr=0, payload=00,
retrycount=0]
2015-08-26 16:51:35 - sendMessage: Stick send message: Plugwise Message
[type=DEVICE_INFORMATION_REQUEST, MAC=000D6F0001A5A199, SeqNr=0,
payload=, retrycount=0]
Can someone help me ?