Thanks for sending the info. Please forgive my ignorance of HA, but where do the lines need to be inserted in the configuration file. I placed at the end of my current config and HA reported that the config file was incorrect.
After, I attempted to place in the default_config: but I didn’t see any additional logging.
I have been using this component for 2 months now, and its working great. I have 2 observations:
Memory Usage on the HA docker image jumps from ~1GB to >2.5GB over time (1-2 days) when the Energy Monitor is included in the Recorder settings (by default I have quite a lot of Recorder settings disabled in configuration.yaml). Not sure why the increase in memory usage, other then polling interval and data sent to DB? Your Python code infers that polling is not used?
The Energy Monitor can display Current/Total Energy Used with each individual Gen2 device (Sockets and Dimmers). Can this be added to the component easily?
Not sure what’s going on with recorder. I don’t have an energy monitor, but if it’s constantly updating your energy consumption, maybe it’s recording too many entries in the database? You could use a filter sensor, see someone else who was having a similar problem with a different energy sensor
All gen 2 devices have the attributes current_power_w and lwrf_power for the current power usage, and lwrf_energy for total energy usage to date.
Hi - I can’t reproduce this, so not 100% sure. My setup is working.
It’s failing at the authentication stage - the first step in connecting to the LW server is to send your username and password, and receive an access token. This is failing for some reason.
Possibilities:
invalid username/password (I don’t think this is the case, I think you would get a different error) EDIT: having tried entering incorrect password, this could be the cause
LW authentication server being temporarily down
some kind of error with your internet connection
My first suggestion is to wait a while, reboot your HA server and hope it resolves itself. If that doesn’t work, can you turn on additional logging by putting the following in your configuration.yaml?
Will do, and thank you for your work, excellent btw, very pleased.
I’ve just got the radiators, boiler and thermostat and energy monitor into the new Hub and HA, I’ve got a whole house of plugs and light switches left to add so I will let you know how I get on.
Seems to be being a little strange trying to control the boiler and thermostat so far, doesn’t seem to want to go “on”, it is either off or heat but showing idle.
The other thing is the radiators will not go back into AUTO once you have picked a percentage. So if it is showing AUTO, and I click 20%, then try AUTO it sets it to 100%, not back to AUTO.
Oh, also the Energy Monitor only has two options now, which is strange because I used another module previously (since removed) for that and I got more data entities.
Ok update. Once I had switched the boiler on, it’s state changed (correctly) to Heating, then I turned it off using the controls.
Now it is fine.
But you can have a state of idle, so it looks like this isn’t being handled, you can’t then go into heating through HA without first manually switching it on.
Thermostat, that seems strange, but always has, only had it working once properly, stupid thing. But it doesn’t seem to be reacting other than off, then it seems to go back to idle. (the device does show off, then back on to the idle state of not on, or off, just sort of existing…)
I’ll take this in two bits - hopefully the one that’s easy to solve first. On the energy monitor, what are the missing entities? All of the data provided by the device should be provided through attributes. I don’t have an energy monitor, but the attributes for a gen 2 light are shown below.
Thermostats/boilers. I struggle with this because the LW behaviour seems weird, and the HA template is quite constraining.
Let’s do the boiler first. I think you’re probably the first person to use one of these. How does it appear in the offical app - can you provide screenshots (either from the phone app or the web app? If you can provide log files where you control it using the offical app and let me know roughly what you did I can try and work it out.
Again, a description/screenshots of the official behaviour and some logs will help.
The LW934 should work (that’s the one I have). “Idle” means “On but has already reached target temperature”. If the room falls below the target temperature, the state should change to “Heating”