LightwaveRF - New LightwaveRF Binding

My .things config
Bridge lightwaverf:lightwaverfaccount:penthome “Lightwave Account” [ username="****", password="****",retries=5,delay=50 ]

Hadn’t receive any values/state of sockets since last night, i have send you logs again, hope it will help

Also note that i haven’t linked all channels, see below example from .items file
//Bed_Socket1 Socket

Switch LRF_Bed_Socket1_LeftSwitch “Lsocket Switch” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:1#switch” }

Number LRF_Bed_Socket1_LeftPower “Lsocket Power” (LRF_TotalPower, LRF_MasterBedroom) { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:1#power” }

Number LRF_Bed_Socket1_LeftEnergy “Lsocket Energy” (LRF_TotalEnergy, LRF_Enrgy_MasterBedroom) { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:1#energy” }

Number LRF_Bed_Socket1_Voltage “Socket Voltage” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:1#voltage” }

Switch LRF_Bed_Socket1_LeftOutletInUse “Lsocket Outlet In Use” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:1#outletInUse”}

Switch LRF_Bed_Socket1_LeftProtection “Lsocket Protection” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:1#protection” }

//------Channel2

Switch LRF_Bed_Socket1_RightSwitch “RSocket Switch” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:2#switch” }

Number LRF_Bed_Socket1_RightPower “RSocket Power” (LRF_TotalPower, LRF_MasterBedroom) { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:2#power” }

Number LRF_Bed_Socket1_RightEnergy “RSocket Energy” (LRF_TotalEnergy, LRF_Enrgy_MasterBedroom) { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:2#energy” }

Switch LRF_Bed_Socket1_RightOutletInUse “RSocket OutletInUse” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:2#outletInUse” }

Switch LRF_Bed_Socket1_RightProtection “RSocket Protection” { channel=“lightwaverf:s22:penthome:5a85e191e6223d06ec58abdb431573301800:2#protection” }

sorry yeah forgot to mention… on account config add ‘timeout’ as an integer (its in milliseconds, default is 1000, so maybe try 5000 see if that helps

I’ve just come back to mine and seems to be getting updates still a few hours later so sould be resolved hopefully. @pentiumdb just got to do some work bits and will get 3.x version up

@pentiumdb 3.x version: LightwaveRF-Jars/org.openhab.binding.lightwaverf-3.1.0-SNAPSHOT_3.9.jar at main · delid4ve/LightwaveRF-Jars · GitHub

You’ll need to add in ‘timeout’ to your account config (although should work without as its set as a default 1000)

Initial tests working really well :+1:

Wow this moves fast, just in from work, what can I look at to assist

Just replaced the .jar
Bridge lightwaverf:lightwaverfaccount:penthome “Lightwave Account” [ username="", password="",retries=5,delay=50,timeout=5000 ]

After 10minutes things are still initalizing

I need to clear cache?

after any binding alteration i usually have to clear cache

where do you get those long long device ids from ?

looks ok after clearing cache

when I do autodiscover, Dave changed it 2 days ago

obviously i have something wrong, nothing appears as yet

Just fired 3 TRV changes at the same time too and no issues, it just queued them up as expected, looks like the timeout has definitely made mine more reliable, the retries just ended up with multiple ones being processed eventually.

Will test sending a command to all of them at once and let you know if I have any issues

Started getting values again
image
Let’s see how it goes

@xela sweet. Keep me posted

@pentiumdb results after clearing cache?

@Chod none of this applies to you as we all using a gen2 hub, did you add and test as I said further up :arrow_up:. Picture of what to add etc. Don’t use text files for now just add manually in ui. No discovery at present for gen1 hub.

At least I know that error message you were getting earlier I can put a nice ‘try extending your timeout’ in

Just changed all 10 TRVs at once, no issues.

Does anyone else on here have TRVs (and a gen2 hub?)

1 Like

Everything looks normal after clearing cache

Yeah I’ve noticed that sometimes the message queue doesn’t start when changing jar’s. I can’t find what’s causing it tho. You’ll see it just stop after websocket connected to… in the logs. Cache clear not even necessary, just a stop/start of openhab does the trick here

Nope no trv’s, Drayton wiser for me. Think @Fixer has trv’s
Just got a 3 clamp aeotec Zwave energy monitor to play with too for my main/garage and loft circuits. Hit a nice win the other day of a little £20 flutter so treated my self to a gaming pc and a lot of smart bits :wink:

Yeah, I’ve noticed this too, bundle stop/start sometimes works, but openhab restart always seems to do the trick

Just had to disconnect my internet for a bit to run some cables, connection didn’t restart so I’ll have a look tomorrow when I’m back out in my office.