Hi, hoping someone might have a few ideas on an issue I have setting up the above Secure Thermostat and Relay devices via Vera using PLEG.
I had originally paired these devices as per guides I found online but found the connection between them to be unreliable (distance likely a problem).
Instead, I have added them both individually with to my Vera Lite (UI5) and put together a PLEG to control them. This seems to get rid of the distance problem and both keep constant connection to Vera.
The issue I have is when I run an overnight scene to keep the bedroom temps at say 20 degrees, the scene works for a while at the start but then the relay stops supplying heat. The thermostat will be set at 20 degrees and the room will be at 18, so the stat is calling for heat, but the relay is off. I need the stat to persist throughout the night, so that when the heat level is reached the relay powers off and when it gets cold, the relay powers on.
One possibility I read is that the relay stays on for a preset amount of time and if it does not get an update it shuts off again for safety. When the two were paired this was not a problem as they constantly communicated, but now they are seperately connected to Vera, this might be an issue.
Does anyone know how I can program with PLEG to persist the set point temperature/keep updating the relay to ensure the rooms don’t get cold at night or find out from the logs what is going wrong? My setup is below for those that might know.
Thanks in advance! PS PLEG is great!!
- In the inputs, I added the following two device inputs to read the Current Temp and Current Set Point from the thermostat:
Name Device Name Device Variable Current Value
pUpTstatCT1 Heat: Thstat Upstrs CurrentTemperature 18
pUpTstatSP1 Heat: Thstat Upstrs CurrentSetpoint 20
2)I added the following conditions:
cUpTempLow = pUpTstatCT1=pUpTstatSP1
3)I added actions
cUpTempHigh Immediate - 1 (Relay to turn heat off)
cUpTempLow Immediate - 1 (Relay to turn heat on)
4)I created a scene in Vera called “Heat Overnight” that sets the set point on the stat to 20 degrees which is scheduled to start at 8pm.