@Fixer Yes there were only a few channels compared to the other bits, think I got them all.
Noticed something very strange today aswell… all my new sockets I bought Before Xmas have the energy/power/voltage channels set as writable. Seems there must be a bug lw end, my existing ones are not writable on them channels (checked them all in postman)
@Greigc I haven’t seen that error before… in the things file try increasing the timeout for all the things (may be that it’s too short and the system can’t return values in the time period)
looks like some of the features for the heating were causing it - I added them one by one until i had what I needed. Just need to figure out how to get a “£” at the front of “enegry cost” now.
This is great, Im going to eventually have a tablet in my hallway with the HABpanel running with weather and hopefully the ring camera setup.
Thanks for this and your help getting it all running!
@Greigc you can add it to the widget in habpanel or you can go into the items file (Lw_Items) and for energy add a £ sign in front of The % sign in the square brackets, and for power before it says /per hour
It won’t carry the £ sign over for some reason (sure I had this working before so I need to backtrack through previous versions
Oh and I’m just setting up a dev environment so I can attempt to make a binding from all this, documentation is flakey at best though for a beginner so bear with me
Number Lightwave_Heating_temperature “Heating temperature [%.1f �C] (Read Only)” (Lightwave_Heating,GroupLightwave_Heating_temperature) {alexa=“TemperatureSensor.temperature”}
String Lightwave_Heating_temperature_Lock
Number Lightwave_Heating_targetTemperature “Heating targetTemperature [%.1f �C]” (Lightwave_Heating,GroupLightwave_Heating_targetTemperature) {alexa=“ThermostatController.targetSetpoint”}
Group GroupLightwave_Heating_targetTemperature"Heating" {alexa=“Endpoint.Thermostat”}
@xela@Greigc try this new version and post me your thermostat items again so i can check its how it needs to be. should fix your errors now at least fingers crossed
Fixed currency and degrees for power/energy/temp
Fixed authentication format specifier not found
If you downloaded any versions yesterday they prob won’t work (you can replace the authentication rule to fix this from this version) or just rerun setup
Number Lightwave_Heating_temperature “Heating temperature [%.1f °C] (Read Only)” (Lightwave_Heating,Lightwave_Heating) {alexa=“TemperatureSensor.temperature”}
String Lightwave_Heating_temperature_Lock
Number Lightwave_Heating_targetTemperature “Heating targetTemperature [%.1f °C]” (Lightwave_Heating,Lightwave_Heating) {alexa=“ThermostatController.targetSetpoint”}
Group GroupLightwave_Heating"Heating" {alexa=“Endpoint.Thermostat”}
I still have issues with your authentication code, I generally simplify it to
rule LwAuth when System started or Time cron “30 0 0 1/1 * ? *” or Item Authentication_Switch changed from OFF to ON then
var String Authentication = “curl -X POST https://auth.lightwaverf.com/v2/lightwaverf/autouserlogin/lwapps -H Content-Type:application/json -H x-lwrf-appid:ios-01 -d {"email":"” + username + “","password":"” + password + “"}”
LwAuth_Inp.sendCommand(Authentication)
LwAuth_Run.sendCommand(ON)
logInfo(“Lw.Rules”,“Authentication Rule Ran”)
Authentication_Switch.sendCommand(OFF)
end
Can you include “productCode”: “L22MK2”, in the dimmer group, this is the Smart 2 gang dimmers, I would assume there is L23MK2 and L24MK2 but I don’t own any of those
@xela I got the product codes off of Lws website, wish they would document everything correctly as im pissing in the wind a little with things like that. I had added the L21MK2 as it was in @Fixer json he sent me, have just added the others for you, hopefully i didnt break anything else