LightwaveRF - New LightwaveRF Binding

I’ll load it up on my dev OpenHAB tonight and have a play, I’ll check the locking too.

Everything is running nice on my main instance though :slight_smile:

:+1: Can you run both versions (1.0.6 without lock but extra thread, and 1.0.7 and check cpu usage for each while your there.

Tried 1.0.7 but some of my devices stopped polling so reverted to 1.0.1. However they’re still not polling and the LWRF app is really slow, barely responsive, so it looks like LWRF are messing about with the API again. Can’t really test until they stop

really?? not even 1.0.6?

have you added as text items now or still through the ui?

I went back to 1.0.1 as that’s what I was running yesterday when everything was polling.
What’s stopped is the ‘master’ side of my double socket. Not reporting anything.But the secondary side is working. Don’t want to reset the socket as it’s powering my internet router and Openhab server…
But as I said, I suspect LWRF are messing about as my app is terrible right now
Pushes to the device are working, just not reporting any power, voltage, outlet in use etc

UPDATE
Now moved the whole house onto the binding. 113 items. Version 1.0.7
Things all done through Paper UI but items defined in text file.
Control of everything tested and works great.
Updates however aren’t really working but I don’t know if that’s the binding yet or LWRF.
Spotted a bug with the 3-gang Gen2 dimmer but will post that on Git.

Pi Stats:

############### openHABianPi

Ip = x.x.x.x

Release = Raspbian GNU/Linux 9 (stretch)

Kernel = Linux 4.19.66-v7+

Platform = Raspberry Pi 3 Model B Plus Rev 1.3

Uptime = 0 day(s). 1:40:10

CPU Usage = 18.23% avg over 4 cpu(s) (4 core(s) x 1 socket(s))

CPU Load = 1m: 0.56, 5m: 0.61, 15m: 0.82

Memory = Free: 0.13GB (14%), Used: 0.82GB (86%), Total: 0.95GB

Swap = Free: 0.09GB (100%), Used: 0.00GB (0%), Total: 0.09GB

Root = Free: 204.47GB (98%), Used: 3.38GB (2%), Total: 219.06GB

Updates = 0 apt updates available.

Sessions = 1 session(s)

Processes = 111 running processes of 32768 maximum processes

#############################

Your going to have to clean the cache where you’ve gone from 1.0.1 to 1.0.7… (required for that older version change)
I have just uploaded v1.0.8 though to git

Version 1.0.8
Fixed 3/4 gang dimmer incorrect channel name
added token refresh
fixed link plus date format

with thanks to @rossko57 for the date format here:

Cleared the cache and gone to 1.0.8 but still hardly any updates. Pretty much the only thing that’s polling on a regular basis is the energy monitor - the firts thing I added.

UPDATE
Changed the polling interval from 5 to 10, things start polling again. Hmm…
Got to go out now, will play later

enable debug and see whats going on as you’ll get the json response message come up

@pentiumdb enable debug logging and see what you get come back.
are you sure your credentials are correct for lightwave as i believe the api throws the same message for incorrect username and password

I feel really dumb now! I updated java, pull docker, uploaded certificates, lost 5 hours of my life trying to troubleshoot this and yes it was wrong password :rofl: :rofl: :rofl:

There was definitely a cert error in the first instance.
The simple things though :joy:
Working ok now though??
@xela unfortunately it’s a 404 not found for incorrect username/password aswell as if it’s down on the login server.
The api server does give an unauthorised message if the token is wrong, but you won’t even get to this point if your credentials are wrong in the first instance.

I’ll change the message when I make any other changes to down or incorrect credentials

What have you got the group size set to? (Default is 20)…

Yes, working great now, i’m currently adding devices

Been messing about a lot.
Currently have the polling interval set to 10 and number of devices to 25.
Put the binding into debug and it seems to be polling just for the same two blocks of items over and over

2020-02-13 21:51:38.005 [DEBUG] [.lightwaverf.internal.UpdateListener] - response:{“5a6a3fbfc211836b17f98f26-264-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-265-3157328472+0”:100,“5a6a3fbfc211836b17f98f26-268-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-269-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-270-3157328472+0”:5062,“5a6a3fbfc211836b17f98f26-258-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-263-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-2-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-10-3157328472+0”:62041,“5a6a3fbfc211836b17f98f26-11-3157328472+0”:27153,“5a6a3fbfc211836b17f98f26-7-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-12-3157328472+0”:768,“5a6a3fbfc211836b17f98f26-132-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-58-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-59-3157328472+0”:80,“5a6a3fbfc211836b17f98f26-61-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-62-3157328472+0”:4,“5a6a3fbfc211836b17f98f26-63-3157328472+0”:5121,“5a6a3fbfc211836b17f98f26-52-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-57-3157328472+0”:1}

2020-02-13 21:51:41.411 [DEBUG] [.lightwaverf.internal.UpdateListener] - response:{“5a6a3fbfc211836b17f98f26-64-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-65-3157328472+0”:80,“5a6a3fbfc211836b17f98f26-67-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-68-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-69-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-76-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-32-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-77-3157328472+0”:80,“5a6a3fbfc211836b17f98f26-33-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-34-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-79-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-35-3157328472+0”:88397378,“5a6a3fbfc211836b17f98f26-80-3157328472+0”:3,“5a6a3fbfc211836b17f98f26-36-3157328472+0”:4294967295,“5a6a3fbfc211836b17f98f26-25-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-70-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-30-3157328472+0”:16711680,“5a6a3fbfc211836b17f98f26-75-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-31-3157328472+0”:-2865,“5a6a3fbfc211836b17f98f26-82-3157328472+0”:0}

2020-02-13 21:51:53.262 [DEBUG] [.lightwaverf.internal.UpdateListener] - response:{“5a6a3fbfc211836b17f98f26-264-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-265-3157328472+0”:100,“5a6a3fbfc211836b17f98f26-268-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-269-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-270-3157328472+0”:5062,“5a6a3fbfc211836b17f98f26-258-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-263-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-2-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-10-3157328472+0”:62041,“5a6a3fbfc211836b17f98f26-11-3157328472+0”:27153,“5a6a3fbfc211836b17f98f26-7-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-12-3157328472+0”:768,“5a6a3fbfc211836b17f98f26-132-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-58-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-59-3157328472+0”:80,“5a6a3fbfc211836b17f98f26-61-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-62-3157328472+0”:4,“5a6a3fbfc211836b17f98f26-63-3157328472+0”:5121,“5a6a3fbfc211836b17f98f26-52-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-57-3157328472+0”:1}

2020-02-13 21:51:55.153 [DEBUG] [.lightwaverf.internal.UpdateListener] - response:{“5a6a3fbfc211836b17f98f26-64-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-65-3157328472+0”:80,“5a6a3fbfc211836b17f98f26-67-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-68-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-69-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-76-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-32-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-77-3157328472+0”:80,“5a6a3fbfc211836b17f98f26-33-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-34-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-79-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-35-3157328472+0”:88397378,“5a6a3fbfc211836b17f98f26-80-3157328472+0”:3,“5a6a3fbfc211836b17f98f26-36-3157328472+0”:4294967295,“5a6a3fbfc211836b17f98f26-25-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-70-3157328472+0”:0,“5a6a3fbfc211836b17f98f26-30-3157328472+0”:16711680,“5a6a3fbfc211836b17f98f26-75-3157328472+0”:1,“5a6a3fbfc211836b17f98f26-31-3157328472+0”:-2865,“5a6a3fbfc211836b17f98f26-82-3157328472+0”:0}

Very few item updates being shown in the normal log.

When I chnage the polling interval and/or the number of devices that seems to give it a poke and I get some updates coming through in the log for around 20 seconds or so then it stops again.

I can pull more logs at debug level if it helps

UPDATE
When I look under the properties of the Lightwave Account thing I seem to be seeing my devices listed multiple times which seems odd. I did clear the cache before moving to 1.0.8 so it can’t be that:

Access Token
Connected Device: 0 Simple DeviceId (sdId): 1, Product: Central Hub, Gen: 2, Channels: 1
Connected Device: 1 Simple DeviceId (sdId): 4, Product: Smart Socket, Gen: 2, Channels: 2
Connected Device: 10 Simple DeviceId (sdId): 29, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 100 Simple DeviceId (sdId): 35, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 101 Simple DeviceId (sdId): 36, Product: Energy Monitor, Gen: 1, Channels: 1
Connected Device: 102 Simple DeviceId (sdId): 37, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 103 Simple DeviceId (sdId): 38, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 104 Simple DeviceId (sdId): 39, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 105 Simple DeviceId (sdId): 41, Product: Smart Dimmer, Gen: 2, Channels: 3
Connected Device: 106 Simple DeviceId (sdId): 42, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 107 Simple DeviceId (sdId): 47, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 108 Simple DeviceId (sdId): 44, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 109 Simple DeviceId (sdId): 45, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 11 Simple DeviceId (sdId): 30, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 110 Simple DeviceId (sdId): 46, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 111 Simple DeviceId (sdId): 43, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 12 Simple DeviceId (sdId): 31, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 13 Simple DeviceId (sdId): 32, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 14 Simple DeviceId (sdId): 33, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 15 Simple DeviceId (sdId): 34, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 16 Simple DeviceId (sdId): 35, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 17 Simple DeviceId (sdId): 36, Product: Energy Monitor, Gen: 1, Channels: 1
Connected Device: 18 Simple DeviceId (sdId): 37, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 19 Simple DeviceId (sdId): 38, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 2 Simple DeviceId (sdId): 11, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 20 Simple DeviceId (sdId): 39, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 21 Simple DeviceId (sdId): 41, Product: Smart Dimmer, Gen: 2, Channels: 3
Connected Device: 22 Simple DeviceId (sdId): 42, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 23 Simple DeviceId (sdId): 47, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 24 Simple DeviceId (sdId): 44, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 25 Simple DeviceId (sdId): 45, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 26 Simple DeviceId (sdId): 46, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 27 Simple DeviceId (sdId): 43, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 28 Simple DeviceId (sdId): 1, Product: Central Hub, Gen: 2, Channels: 1
Connected Device: 29 Simple DeviceId (sdId): 4, Product: Smart Socket, Gen: 2, Channels: 2
Connected Device: 3 Simple DeviceId (sdId): 14, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 30 Simple DeviceId (sdId): 11, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 31 Simple DeviceId (sdId): 14, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 32 Simple DeviceId (sdId): 23, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 33 Simple DeviceId (sdId): 24, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 34 Simple DeviceId (sdId): 25, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 35 Simple DeviceId (sdId): 26, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 36 Simple DeviceId (sdId): 27, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 37 Simple DeviceId (sdId): 28, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 38 Simple DeviceId (sdId): 29, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 39 Simple DeviceId (sdId): 30, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 4 Simple DeviceId (sdId): 23, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 40 Simple DeviceId (sdId): 31, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 41 Simple DeviceId (sdId): 32, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 42 Simple DeviceId (sdId): 33, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 43 Simple DeviceId (sdId): 34, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 44 Simple DeviceId (sdId): 35, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 45 Simple DeviceId (sdId): 36, Product: Energy Monitor, Gen: 1, Channels: 1
Connected Device: 46 Simple DeviceId (sdId): 37, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 47 Simple DeviceId (sdId): 38, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 48 Simple DeviceId (sdId): 39, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 49 Simple DeviceId (sdId): 41, Product: Smart Dimmer, Gen: 2, Channels: 3
Connected Device: 5 Simple DeviceId (sdId): 24, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 50 Simple DeviceId (sdId): 42, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 51 Simple DeviceId (sdId): 47, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 52 Simple DeviceId (sdId): 44, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 53 Simple DeviceId (sdId): 45, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 54 Simple DeviceId (sdId): 46, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 55 Simple DeviceId (sdId): 43, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 56 Simple DeviceId (sdId): 1, Product: Central Hub, Gen: 2, Channels: 1
Connected Device: 57 Simple DeviceId (sdId): 4, Product: Smart Socket, Gen: 2, Channels: 2
Connected Device: 58 Simple DeviceId (sdId): 11, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 59 Simple DeviceId (sdId): 14, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 6 Simple DeviceId (sdId): 25, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 60 Simple DeviceId (sdId): 23, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 61 Simple DeviceId (sdId): 24, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 62 Simple DeviceId (sdId): 25, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 63 Simple DeviceId (sdId): 26, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 64 Simple DeviceId (sdId): 27, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 65 Simple DeviceId (sdId): 28, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 66 Simple DeviceId (sdId): 29, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 67 Simple DeviceId (sdId): 30, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 68 Simple DeviceId (sdId): 31, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 69 Simple DeviceId (sdId): 32, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 7 Simple DeviceId (sdId): 26, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 70 Simple DeviceId (sdId): 33, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 71 Simple DeviceId (sdId): 34, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 72 Simple DeviceId (sdId): 35, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 73 Simple DeviceId (sdId): 36, Product: Energy Monitor, Gen: 1, Channels: 1
Connected Device: 74 Simple DeviceId (sdId): 37, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 75 Simple DeviceId (sdId): 38, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 76 Simple DeviceId (sdId): 39, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 77 Simple DeviceId (sdId): 41, Product: Smart Dimmer, Gen: 2, Channels: 3
Connected Device: 78 Simple DeviceId (sdId): 42, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 79 Simple DeviceId (sdId): 47, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 8 Simple DeviceId (sdId): 27, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 80 Simple DeviceId (sdId): 44, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 81 Simple DeviceId (sdId): 45, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 82 Simple DeviceId (sdId): 46, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 83 Simple DeviceId (sdId): 43, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 84 Simple DeviceId (sdId): 1, Product: Central Hub, Gen: 2, Channels: 1
Connected Device: 85 Simple DeviceId (sdId): 4, Product: Smart Socket, Gen: 2, Channels: 2
Connected Device: 86 Simple DeviceId (sdId): 11, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 87 Simple DeviceId (sdId): 14, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 88 Simple DeviceId (sdId): 23, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 89 Simple DeviceId (sdId): 24, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 9 Simple DeviceId (sdId): 28, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 90 Simple DeviceId (sdId): 25, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 91 Simple DeviceId (sdId): 26, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 92 Simple DeviceId (sdId): 27, Product: Smart Dimmer, Gen: 2, Channels: 2
Connected Device: 93 Simple DeviceId (sdId): 28, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 94 Simple DeviceId (sdId): 29, Product: Smart Dimmer, Gen: 2, Channels: 1
Connected Device: 95 Simple DeviceId (sdId): 30, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 96 Simple DeviceId (sdId): 31, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 97 Simple DeviceId (sdId): 32, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 98 Simple DeviceId (sdId): 33, Product: Plug-In Socket, Gen: 1, Channels: 1
Connected Device: 99 Simple DeviceId (sdId): 34, Product: Plug-In Socket, Gen: 1, Channels: 1

This is very strange indeed.
It’s the same things listed over and over again (sdId)

Firstly check you haven’t got multiple things (as your doing through paperui) - they maybe called different names where I changed the labelling between versions and you have discovered and added.

Secondly:
Stop openhab
Delete:
userdata\tmp
userdata\cache
Mine normally takes about 10 minutes to do this (over 1500 files)

Restart openhab.

Then check the account properties again
I honestly think you have multiple things of the same item.

This is why I do text based things files, the names/labels will always be the same

Also did you delete your items (added through paperui) before you added them as text items?
Also, it only polls for ‘linked channels’. So if you only link the switch channel to items it would ignore the others like identify, protection etc

@xela @pentiumdb do you experience any of these issues above?

I can’t seem to re-produce it, I’ve added the bridge multiple times etc, but I don’t see the same block being called repeatedly

What parameters do we use to change this in the things file?

Done as @delid4ve recommended. Shut down, cleared the user and cache by manually deleting them then rebooted. Pretty much the same, only the Energy Monitor is polling consistently. Gathered some more info:

Things:
Definitely only have each thing listed once under Things in Paper UI. Here’s a list (copied out of Paper UI)

Bedroom Light Generation 2 1 Way Dimmer lightwaverf:d21:77328298:28:1#switch
C2 Generation 1 Single Socket lightwaverf:s11:77328298:45:1#switch
C3 Generation 1 Single Socket lightwaverf:s11:77328298:46:1#switch
Chloes Light Generation 2 1 Way Dimmer lightwaverf:d21:77328298:37:1#switch
Christmas Lights Generation 1 Single Socket lightwaverf:s11:77328298:44:1#switch
Craft Room Light Generation 2 1 Way Dimmer lightwaverf:d21:77328298:47:1#switch
Energy Monitor Generation 1 Energy Monitor lightwaverf:e11:77328298:36:1#power
Garden Lights Generation 1 Single Socket lightwaverf:s11:77328298:34:1#switch
Gracies Light Generation 2 1 Way Dimmer lightwaverf:d21:77328298:38:1#switch
Gracies Star Generation 1 Single Socket lightwaverf:s11:77328298:31:1#switch
Green Lamp Generation 1 Single Socket lightwaverf:s11:77328298:11:1#switch
Greenhouse Light Generation 1 Single Socket lightwaverf:s11:77328298:32:1#switch
Hall Generation 2 2 Way Dimmer lightwaverf:d22:77328298:26:1#switch lightwaverf:d22:77328298:26:2#switch
Kettle Generation 1 Single Socket lightwaverf:s11:77328298:39:1#switch
Kitchen Lights Generation 2 2 Way Dimmer lightwaverf:d22:77328298:42:1#switch lightwaverf:d22:77328298:42:2#switch
Landing Generation 2 2 Way Dimmer lightwaverf:d22:77328298:27:1#switch lightwaverf:d22:77328298:27:2#switch
Lava Lamp Generation 1 Single Socket lightwaverf:s11:77328298:14:1#switch
LinkPlus Hub Lightwave Hub lightwaverf:h21:77328298:1:1#currentTime
Living Room Generation 2 3 Way Dimmer lightwaverf:d23:77328298:41:1#switch lightwaverf:d23:77328298:41:2#switch lightwaverf:d23:77328298:41:3#switch
Living Room Socket Generation 2 Double Socket lightwaverf:s22:77328298:4:1#switch lightwaverf:s22:77328298:4:2#switch
Morning Room Light Generation 2 1 Way Dimmer lightwaverf:d21:77328298:29:1#switch
Outside Lights Generation 1 Single Socket lightwaverf:s11:77328298:23:1#switch
Printer Generation 1 Single Socket lightwaverf:s11:77328298:35:1#switch
Pump Generation 1 Single Socket lightwaverf:s11:77328298:33:1#switch
Reading Lamp Generation 1 Single Socket lightwaverf:s11:77328298:30:1#switch
Side Lights Generation 1 Single Socket lightwaverf:s11:77328298:43:1#switch
Twigs Generation 1 Single Socket lightwaverf:s11:77328298:24:1#switch
Window Lights Generation 1 Single Socket lightwaverf:s11:77328298:25:1#switch

I notice that my device numbers aren’t a nice simple list starting at 1 and going up in a contiguous block. If they were, it would be a nice simple list from 1 to 29, but it isn’t. They’ve always been like this, even back in the days of the script. If I do a manual structure dump from LWRF that’s the way the numbers come back. Could be because I was an early adopter and added a number of thigs then deleted them back in the day. I wonder if that could be upsetting things?
I notice also that the thing that polls the most reliably is the Energy Monitor which also happens to be the thing with number 1

LightwaveRF Account Thing:
Looking under here (still in Paper UI) I still see the things duplicated several times even after the clear and restart.

Items:
Definitely only one physical items file, and each item is referenced only once, no duplicates. This is my original ‘script’ items file - so I could keep the same item names - just with the correct channel= dexctiptor tacked onto the end of each one. Here’s a sample from something that doesn’t poll:

Switch Lightwave_Internet_switch “Internet” (GroupGroundSockets, GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#switch” }
Switch Lightwave_Internet_outletInUse_Value “Internet outletInUse [%s] (Read Only)” <poweroutlet_uk> { channel=“lightwaverf:s22:77328298:4:1#outletInUse” }
String Lightwave_Internet_outletInUse “Internet outletInUse [%s] (Read Only)” <poweroutlet_uk> (GF_LivingRoom)
Switch Lightwave_Internet_protection “Internet protection” (GroupGroundSocketsOther, GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#protection” }
Switch Lightwave_Internet_identify “Internet identify” (GroupGroundSocketsOther, GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#identify” }
Color Lightwave_Internet_rgbColor “Internet rgbColor” (GroupGroundSocketsOther, GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#rgbColor” }
Number Lightwave_Internet_power “Internet power [%.1f W] (Read Only)” (GroupGroundSocketsPower, GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#power” }
Number Lightwave_Internet_energy “Internet energy [%.2f kWh] (Read Only)” (GroupGroundSocketsEnergy, GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#energy” }
Number Lightwave_Internet_voltage “Internet voltage [%.1f V] (Read Only)” (GF_LivingRoom) { channel=“lightwaverf:s22:77328298:4:1#voltage” }
Number Lightwave_Internet_current “Internet current [%.1f A] (Read Only)” (GF_LivingRoom)
Number Lightwave_Internet_Power_Cost “Internet Power Cost [%.3f £/Hour]” (GroupGroundSocketsPowerCost, GF_LivingRoom)
Number Lightwave_Internet_Energy_Cost “Internet Energy Cost [£ %.2f to date]” (GroupGroundSocketsEnergyCost, GF_LivingRoom)

And a sample from something that does:

String Lightwave_LinkPlus_currentTime "LinkPlus currentTime "
String Lightwave_LinkPlus_buttonPress “LinkPlus buttonPress(Read Only)” { channel=“lightwaverf:h21:77328298:1:1#buttonPress” }
//String Lightwave_LinkPlus_time “LinkPlus time(Read Only)”
//String Lightwave_LinkPlus_date “LinkPlus date(Read Only)”
//String Lightwave_LinkPlus_monthArray “LinkPlus monthArray(Read Only)”
//String Lightwave_LinkPlus_weekdayArray “LinkPlus weekdayArray(Read Only)”
String Lightwave_LinkPlus_timeZone_Value "LinkPlus timeZone Value " { channel=“lightwaverf:h21:77328298:1:1#timeZone” }
String Lightwave_LinkPlus_timeZone "LinkPlus timeZone " // Display nalue translated by rule into GMT or BST
//String Lightwave_LinkPlus_locationLongitude "LinkPlus locationLongitude "
//String Lightwave_LinkPlus_locationLatitude "LinkPlus locationLatitude "
String Lightwave_LinkPlus_duskTime "LinkPlus duskTime " { channel=“lightwaverf:h21:77328298:1:1#duskTime” }
String Lightwave_LinkPlus_dawnTime "LinkPlus dawnTime " { channel=“lightwaverf:h21:77328298:1:1#dawnTime” }
Number Lightwave_LinkPlus_rgbColor "LinkPlus rgbColor " { channel=“lightwaverf:h21:77328298:1:1#rgbColor” }
//String Lightwave_LinkPlus_day “LinkPlus day(Read Only)”
//String Lightwave_LinkPlus_month “LinkPlus month(Read Only)”
//String Lightwave_LinkPlus_year “LinkPlus year(Read Only)”
//String Lightwave_LinkPlus_weekday “LinkPlus weekday(Read Only)”
Switch Lightwave_LinkPlus_identify “LinkPlus identify” (GroupGroundSocketsOther) { channel=“lightwaverf:h21:77328298:1:1#identify” }

Do you think it would be worth me creating a physical Things file using the thing details I’ve captured above? Then delete all of them from the inbox and let it repopulate from the file - no discovery. How would I structure it given my odd device numbers?

[username="example@hotmail.co.uk",password="xxxxxx",pollingInterval=5,pollingGroupSize=20

It doesnt matter, it only picks up each sdId (which is the number between the two hyphens in the full deviceId) had to keep it simple for text based. It will only discover 1 of each of these, which is why i believe there to be some form glith with your ‘managed things’.

This is mine so you can adopt, have changed some deviceIds so you can see.

Bridge lightwaverf:lightwaverfaccount:benfleet "Lightwave Account" @ "Cupboard" [ username="example@hotmail.co.uk", password="xxxxxxx",pollingInterval=5,pollingGroupSize=30] {

h21 	LightwaveHub	"Link Plus" @ "Cupboard"                        [ sdId="1" ]
s22 	KitchenSocket1 	"Kitchen Alexa & Toaster" @ "Kitchen"		    [ sdId="31" ]
s22 	KitchenSocket2 	"Kitchen Spare & Kettle" @ "Kitchen"		    [ sdId="26" ]
s22 	KitchenSocket3 	"Kitchen TV & TV Light" @ "Kitchen"		        [ sdId="4" ]
s22 	KitchenSocket4 	"Kitchen Breakfast Bar" @ "Kitchen"		        [ sdId="5" ]
s22 	GeorgesSocket1 	"George TV & Lamp" @ "George"			        [ sdId="11" ]
s22 	KitchenSocket5 	"Kitchen Microwave & Cupboard" @ "Kitchen"	    [ sdId="12" ]
s22 	LoungeSocket1 	"Lounge Chair" @ "Lounge"			            [ sdId="13" ]
s22 	LoungeSocket2 	"Lounge Stereo & Nintendo Switch" @ "Lounge"	[ sdId="14" ]
s22 	LoungeSocket3 	"Lounge Network Switch & TV" @ "Lounge"		    [ sdId="15" ]
	
}

bear in mind your bridge and device names so you dont have to change all your item channels:
ie:
KitchenSocket1 from the device thing and benfleet from account thing are in the channel:

{ channel="lightwaverf:s22:benfleet:KitchenSocket1:2#switch" }

Also, you could try deleting your account thing and 1 of the things that shows up as duplicate.
Then check that they are definitely not there.
Re-add your account thing and then check its properties.
Then readd the single device thing you deleted.

When I alter it to (anything less than 20 on the pollingGroupSize)

,pollingInterval=5,pollingGroupSize=5

I get the following and it all goes to BRIDGE_UNINITIALIZED

java.lang.IllegalArgumentException: fromIndex(5) > toIndex(0)
        at java.util.ArrayList.subListRangeCheck(ArrayList.java:1014) ~[?:1.8.0_232]
        at java.util.ArrayList.subList(ArrayList.java:1004) ~[?:1.8.0_232]
        at org.openhab.binding.lightwaverf.internal.handler.LWAccountHandler.pollingSize(LWAccountHandler.java:205) ~[?:?]
        at org.openhab.binding.lightwaverf.internal.handler.LWAccountHandler.startRefresh(LWAccountHandler.java:280) ~[?:?]
        at org.openhab.binding.lightwaverf.internal.handler.LWAccountHandler.initialize(LWAccountHandler.java:87) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
2020-02-14 15:57:18.932 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'lightwaverf:lightwaverfaccount:alex': fromIndex(5) > toIndex(0)
java.lang.IllegalArgumentException: fromIndex(5) > toIndex(0)
        at java.util.ArrayList.subListRangeCheck(ArrayList.java:1014) ~[?:1.8.0_232]
        at java.util.ArrayList.subList(ArrayList.java:1004) ~[?:1.8.0_232]
        at org.openhab.binding.lightwaverf.internal.handler.LWAccountHandler.pollingSize(LWAccountHandler.java:205) ~[?:?]
        at org.openhab.binding.lightwaverf.internal.handler.LWAccountHandler.startRefresh(LWAccountHandler.java:280) ~[?:?]
        at org.openhab.binding.lightwaverf.internal.handler.LWAccountHandler.initialize(LWAccountHandler.java:87) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]