You can set the brightness either by going to the outer edge on Colorpicker or reducing the brightness using HSB sliders. (lightwave restrictions here so temperature on colourpicker doesnt do anything)
Account Parameter: electricityCost set this to a whole number (pence) in order to use the new channels: energyCost powerCost
Channel energyReset use this to reset the current energy usage, IE in rules to reset every month after logging a historical value
Channel voltageReset (Use with caution)
Occasionally the lightwave value is messed up and the only way to reset is to remove and readd the device in the app. This allows you to reset this value.
To use:
Turn the socket off
Flick the reset switch on then off
Power cycle the device using the reset channel switch.
The voltage should now be reset.
UPDATE
Version 1.1.2 added
Fixed update bug for linkplus
@BenDWire try this… removed
i havnt integrated the gen 1 hub yet as didnt have the data. run discovery, add the hub (will be unknown device). then go to the thing and check the properties, it will list all the channels it supports. if you send me this i can add it to the binding
After updating to 1.1.3 it took 2 reboots before the account went online, but I’m stumbling at the “Run Discovery” step. As the logs show below, I think OpenHAB is tryng to discover in the background and failing. I then ran “smarthome:discovery start lightwaverf” in the console which threw the error on the last line.
Noob question - Am I doing the “Run DIscovery” correctly? I tried appending .discovery to the command, and also using “LightwaveRF” in case it’s case sensitive, but got nowhere.
If you can give me a few pointers as to what I’m doing wrong I’ll try again.
Thanks again for trying to get this working!
2020-02-22 01:35:43.984 [DEBUG] [rf.internal.handler.LWAccountHandler] - Initiate Polling
2020-02-22 01:35:43.986 [WARN ] [rf.internal.handler.LWAccountHandler] - Channel List For Updating Is Empty, rescheduling
2020-02-22 01:35:52.865 [DEBUG] [rf.internal.handler.LWAccountHandler] - Checking Lightwave connection
2020-02-22 01:35:52.867 [DEBUG] [rf.internal.handler.LWAccountHandler] - Connection to Lightwave in tact
2020-02-22 01:35:53.988 [DEBUG] [rf.internal.handler.LWAccountHandler] - Initiate Polling
2020-02-22 01:35:53.991 [WARN ] [rf.internal.handler.LWAccountHandler] - Channel List For Updating Is Empty, rescheduling
2020-02-22 01:35:58.957 [WARN ] [nternal.DiscoveryServiceRegistryImpl] - No discovery service for binding id 'lightwaverf' found!
I have deleted everything to do with lightwave, added the jar file to the addons folder. the binding never appears under bindings? removed cache and tmp folders and restarted.
With 1.1.4 discovery is now working, but it still doesn’t find any channels:
2020-02-22 10:25:02.298 [DEBUG] [htwaverf.internal.LWDiscoveryService] - Start Discovery
2020-02-22 10:25:10.013 [DEBUG] [rf.internal.handler.LWAccountHandler] - Initiate Polling
2020-02-22 10:25:10.016 [WARN ] [rf.internal.handler.LWAccountHandler] - Channel List For Updating Is Empty, rescheduling
2020-02-22 10:25:19.552 [DEBUG] [rf.internal.handler.LWAccountHandler] - Checking Lightwave connection
2020-02-22 10:25:19.554 [DEBUG] [rf.internal.handler.LWAccountHandler] - Connection to Lightwave in tact
2020-02-22 10:25:20.018 [DEBUG] [rf.internal.handler.LWAccountHandler] - Initiate Polling
2020-02-22 10:25:20.020 [WARN ] [rf.internal.handler.LWAccountHandler] - Channel List For Updating Is Empty, rescheduling
My OH2 is running on a Pi which is sitting next to the Hub, both connected via a switch. I can use netcat to send a string to the hub which then responds as expected. I use its IP address rather than a name - does your binding need anything specific?
That said, I can use the WebApp (https://manager.lightwaverf.com/) to turn devices on and off, so I can’t think I’ve done anything obviously wrong.
Ben
It won’t find any channels as it’s not integrated, that’s why I need the properties from the thing to integrate it. If you send me this over I’ll add it in tonight.
I have gotten it to this:
Error executing command: Error executing command on bundles:
Error starting bundle 226: Could not resolve module: org.openhab.binding.lightwaverf [226]
Unresolved requirement: Import-Package: com.google.gson.annotations; version="[2.8.0,3.0.0)"
Now im truly stuck as i cannot find the jar for annotations anywhere.
Please bear in mind that I’m very new to OpenHAB, so I don’t fully understand the terminology here! I think I’m in a catch 22 situation, as although I have added the LightwaveRF account, it doesn’t discover any ‘Things’. I can add a hub (devicetype 21) but of course the properties just list the h21 properties - not what we want.
How can I add a Thing that isn’t supported by the binding (i.e. the Gen1 Hub)?
I’m afraid I need a bit of hand-holding at this point as I’m going round in circles! If there are commands to type in the console please let me know and I’ll get the results back this evening.
Ok the binding is added after adding some dependencies.
I can add my heating, hub and energy but when i come to add my lights (gen 1) they are listed as “Unknown Device” and when i try and add them i get “error 409 - conflict” in the right hand corner popping up and they don’t add?
Did you edit “Configuration>Things>Edit>Lightwaverf Account” and add your account details (username and password) to it so it can discover your devices?
Thanks Greig. Yes my account details are in OK, and the logs say that the “connection to Lightwave is in tact” (sic) so I assume all is well. It’s showing as online, but doesn’t find anything during discovery.
[ In a twist of fate I bought 4 wi-fi sockets today and have flashed them with Tasmota, so there may well be a Gen1 hub and a few plug-in sockets on eBay in the near future! ]
Do you have config files in addition to using Paper UI? I see that error when my .things file conflicts with the values entered in the UI. I usually delete the config file and rewrite it once everything is working.