Hello…I need some assisting in improving WAF around Z-wave/home automation! ;D
I’ve been running a Z-wave environment for a couple of years now…pretty comfortable in terms of their setup, etc, have automated the lights (table+floor standing via sockets), outside sockets (Xmas lights) and heating. I’ve been a PLEG user for just over a year - great plugin! I’ve also recently looked at MySensors and have this now gateway’d to the Vera and working well…
Unfortunately its the heating side of things that appears to be flakey (as my misses puts it!) in terms of whether it will come on in the morning OR even if it will switch off at night! :-\
There was a recent issue with PLEG upgrade that caught me off guard and added to the confusion whilst I was investigating what’s been happening with the heating side of things. I’ve trimmed down the PLEG scripting to make things as simple as possible to help ascertain what could be causing the problem. Is it possible that actions are not firing if the temperature cannot be set on the thermostat?
The battery thermostat (Secure SRT321 with recent fresh batteries) does appear to lose connection with the relay controller (Secure SSR302) that controls the heating but it does reconnect eventually. Is that sufficient to prevent the heating from coming on when I have a PLEG script that sets the thermostat setpoint temperature (so could fail if not awake - most likely to happen) and to switch the heating on?
Thermostat SetCurrentSetpoint NewCurrentSetpoint=21
Heating Controller SetModeTarget NewModeTarget=HeatOn
Does the order of these steps matter? If one of these doesn’t succeed, would that prevent the other steps from happening?
I’ve read about the need to setup a script to keep alive the relay controller to prevent it from going to fail-safe mode - but I was under the impression that this was for controlling the hot water? I did enable this script (for ease, implemented it as Luua code) but not sure if this is really needed as it appeared to switch the heating off just after it came on…wasn’t sure if there was some sort of race condition going on here or something else…?
This script is currently disabled but was setup to run every 35 minutes.
local dID = 23
local mode = luup.variable_get("urn:upnp-org:serviceId:HVAC_UserOperatingMode1","ModeStatus",dID)
--luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Value is " .. mode}, 25)
luup.call_action("urn:upnp-org:serviceId:HVAC_UserOperatingMode1","SetModeTarget",{NewModeTarget=mode},dID)
I’ve attached the PLEG ‘heating controller’ report if that helps…
Thank you for any guidance that you can provide…!
Nutz