LightwaveRF Errors

Hi,

Another beginner here and I have a few issues with sending commands to my LightwaveRF Link.
It appears to connect at openHAB startup with no problems:
2016-03-04 09:33:02.024 [INFO ] [htwaveRfGenericBindingProvider] - ConfigString[room=2, device=1, type=SWITCH] Room[2] Device[1] Serial[null] Type[SWITCH] Poll[-1]
2016-03-04 09:33:02.027 [INFO ] [htwaveRfGenericBindingProvider] - ConfigString[room=1, device=2, type=SWITCH] Room[1] Device[2] Serial[null] Type[SWITCH] Poll[-1]
2016-03-04 09:33:02.030 [INFO ] [htwaveRfGenericBindingProvider] - ConfigString[room=1, device=1, type=SWITCH] Room[1] Device[1] Serial[null] Type[SWITCH] Poll[-1]
2016-03-04 09:33:02.068 [INFO ] [.l.internal.LightwaveRfBinding] - LightwaveBinding: IP[LWLINK_IP]
2016-03-04 09:33:02.070 [INFO ] [.l.internal.LightwaveRfBinding] - LightwaveBinding: ReceivePort[9761]
2016-03-04 09:33:02.071 [INFO ] [.l.internal.LightwaveRfBinding] - LightwaveBinding: Send Port[9760]
2016-03-04 09:33:02.074 [INFO ] [.l.internal.LightwaveRfBinding] - LightwaveBinding: Register On Startup[true]
2016-03-04 09:33:02.076 [INFO ] [.l.internal.LightwaveRfBinding] - LightwaveBinding: Send Delay [100]
2016-03-04 09:33:02.078 [INFO ] [.l.internal.LightwaveRfBinding] - LightwaveBinding: Timeout for Ok Messages [500]
2016-03-04 09:33:02.110 [INFO ] [l.internal.LightwaveRfWifiLink] - Starting LightwaveRfWifiLink Connection

I have configured my .items, .cfg and sitemap so that if I turn a switch on from the Lightwave app it is reflected in openHAB and get this message:
2016-03-04 09:38:49.575 [INFO ] [.l.internal.LightwaveRfBinding] - Update from LightwaveRf ItemName[Light_GF_Living_Table], State[ON]
2016-03-04 09:38:49.589 [INFO ] [runtime.busevents ] - Light_GF_Living_Table state updated to ON
2

Which all looks fine so far.

However, when I turn the switch on from openHAB, nothing happens and I see this
2016-03-04 09:40:59.214 [INFO ] [runtime.busevents ] - Light_GF_Living_Table received command ON
2016-03-04 09:40:59.526 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2016-03-04 09:40:59.691 [INFO ] [.b.l.i.LightwaveRFSenderThread] - Ok message not received for 200,!R1D2F1
, retrying again. Retry count 2

I’m also seeing these occasionally, which I assume to be the same problem.
[INFO ] [.b.l.i.LightwaveRFSenderThread] - Ok message not received for 100,!F*p

I’ve looked through all the posts that seem to relate to these errors but nothing seems to work.

I’m running openHAB 1.8.1 on a Raspberry Pi 2 B and have a z-wave daughter board installed, although nothing is configured to that at the moment.

I’m pretty sure its something simple I’ve overlooked but can’t work out what ! Any help would be appreciated.

Thanks
Alan

Hi Alan,

I’ve got almost exactly the same issue over at https://community.openhab.org/t/lightwave-rf-udp-packets-are-not-formatted-correctly/

Advice so far seems to be to make sue you are running the latest version of the bindings (1.8.0_alpha12) and that the send/receive ports are the correct way around.

Out of interest, so you have one of the new lightwave links (without a display on it)?

Cheers,

Matt

Hi Matt,

Yes, I have one of the new Links. Seems to be working fine through the app, just need to get it to accept commands from openHAB !

I’ve downloaded and replaced the existing binding with the alpha12, changed ports to match Neils comment in the other thread and I’m still seeing the same problem. Should I have renamed the binding ?

FWIW - The only LightwaveRF devices I have added so far are 3 x basic plug in sockets which as far as I can make out are just switches.

Thanks
Alan

Hi Alan,

Yup, I’m seeing exactly the same thing - works fine in the lightwave app, it’s the OpenHAB binding that seems to be the issue.

It’s a good question about renaming the binding. I downloaded the new .jar file and moved into my “addons” directory with the same name as the binding that comes with the 1.8.1 download, but I don’t know if that’s correct or not!

It looks like it picks up the new binding, and I can recieve messages from my energy monitor, I just can’t send them to the lights.

Matt