Heater Thermostat with Reactor

Looking for some advice on what is the correct way to setup a Thermostat function with Reactor for our split aircon.

I have tried as follows:

  • Group 1 Heater On
    • Heater Temperature <= 17
  • Group 2 Heater Off
    • Heater Temperature >=20
    • Heater Status on

And then setup activities that turn on or turn off the heater when the condition is true.

It didn’t seem to work, I can see that last night the Heater Off became false at 10.04pm, when the temperature dropped below 20, which was interesting, and I know wouldn’t do anything.
When the temperature went below 17, which it did at 12.28am, the heater should have come on, which it didn’t.

Any idea what I missed, or a better way to do this for a heater.

thanks
ben

Post a Logic Summary, there’s a link on the tools tab.

thanks. I have it turned off right now, but hopefully this helps.

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.2 config 301 cdata 19082 ui 19143 pluginDevice 279
    System: Vera version 1.7.4452 on Sercomm NA301; loadtime 1562488682; systemReady 1562488707; Lua 5.1
Local time: 2019-07-08T12:10:59+1200; DST=0
House mode: plugin 1; system 1; tracking off
  Sun data: { "stamp": 2019154, "civdawn": 1559502429, "nautdawn": 1559500365, "sunset": 1559538002, "nautdusk": 1559541919, "latitude": -41.3, "astrodusk": 1559543920, "longitude": 174.783, "civdusk": 1559539855, "astrodawn": 1559498364, "sunrise": 1559504282 }
  Geofence: not running
====================================================================================================================================
Heating Functions (#291) tripped
    Version 19082.36 07/08/19 06:26:36
    Message/status: Disabled
    Variable/expressions
       0: CatRoomLow               17 [last 17(number)] (exported)
       1: CatRoomHigh              20 [last 20(number)] (exported)
    Condition group "CatRoom" (OR) TRUE as of 00:28:49 <root>
      |-T-group "Catroom On" (AND) TRUE as of 00:28:49 <grpf8wd50t>
      |     &-T-service Cats Heater (266) urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature <= {CatRoomLow} [12.00 => 13.00 at 06:22:17; T/T as of 00:28:49/00:28:49] <condf8wd378>
      |-F-group "CatRoom Off" (AND) false as of 21:54:55 <grpf8wjt65>
      |     &-F-service Cats Heater (266) urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature >= {CatRoomHigh} [12.00 => 13.00 at 06:22:17; F/F as of 22:04:39/22:04:39] <condf8wjy4x>
      |     &-T-service Cats Heater (266) urn:upnp-org:serviceId:HVAC_UserOperatingMode1/ModeStatus = HeatOn [off => heaton at 06:22:11; T/T as of 06:22:11/06:22:11] <condf8y4yui>
    Activity grpf8wd50t.true
        Device 266 (Cats Heater) action urn:upnp-org:serviceId:HVAC_UserOperatingMode1/SetModeTarget( NewModeTarget="HeatOn" )
    Activity grpf8wjt65.true
        Device 266 (Cats Heater) action urn:upnp-org:serviceId:HVAC_UserOperatingMode1/SetModeTarget( NewModeTarget="off" )
    Events
        07/08/19 05:59:40 devicewatch: device=266, old="13.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="50.00"
        07/08/19 05:59:40 devicewatch: device=266, old="50.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="13.00"
        07/08/19 06:10:59 devicewatch: device=266, old="Off", name=Cats Heater, var=urn:upnp-org:serviceId:HVAC_UserOperatingMode1/ModeStatus, new="HeatOn"
        07/08/19 06:11:00 condchange: newState=true, cond=condf8y4yui, oldState=false
        07/08/19 06:11:00 evalchange: newState=true, cond=condf8y4yui, oldState=false
        07/08/19 06:12:26 devicewatch: device=266, old="13.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="12.00"
        07/08/19 06:12:33 devicewatch: device=266, old="12.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="13.00"
        07/08/19 06:16:48 devicewatch: device=266, old="13.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="12.00"
        07/08/19 06:21:56 devicewatch: device=266, old="HeatOn", name=Cats Heater, var=urn:upnp-org:serviceId:HVAC_UserOperatingMode1/ModeStatus, new="Off"
        07/08/19 06:21:57 condchange: newState=false, cond=condf8y4yui, oldState=true
        07/08/19 06:21:57 evalchange: newState=false, cond=condf8y4yui, oldState=true
        07/08/19 06:22:10 devicewatch: device=266, old="Off", name=Cats Heater, var=urn:upnp-org:serviceId:HVAC_UserOperatingMode1/ModeStatus, new="HeatOn"
        07/08/19 06:22:11 condchange: newState=true, cond=condf8y4yui, oldState=false
        07/08/19 06:22:11 evalchange: newState=true, cond=condf8y4yui, oldState=false
        07/08/19 06:22:16 devicewatch: device=266, old="12.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="13.00"
        07/08/19 06:26:42 configchange: 
        07/08/19 06:28:28 action: action=SetEnabled, state=0
        07/08/19 06:41:38 devicewatch: device=266, old="13.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="14.00"
        07/08/19 07:14:38 devicewatch: device=266, old="14.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="15.00"
        07/08/19 07:39:48 devicewatch: device=266, old="15.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="16.00"
        07/08/19 07:40:02 devicewatch: device=266, old="16.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="15.00"
        07/08/19 07:43:48 devicewatch: device=266, old="15.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="16.00"
        07/08/19 08:21:38 devicewatch: device=266, old="16.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="17.00"
        07/08/19 09:06:18 devicewatch: device=266, old="17.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="18.00"
        07/08/19 09:18:28 devicewatch: device=266, old="18.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="19.00"
        07/08/19 09:26:48 devicewatch: device=266, old="19.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="20.00"
        07/08/19 09:35:18 devicewatch: device=266, old="20.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="21.00"
        07/08/19 09:39:18 devicewatch: device=266, old="21.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="20.00"
        07/08/19 10:03:38 devicewatch: device=266, old="20.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="21.00"
        07/08/19 10:12:28 devicewatch: device=266, old="21.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="22.00"
        07/08/19 10:25:38 devicewatch: device=266, old="22.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="23.00"
        07/08/19 10:30:08 devicewatch: device=266, old="23.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="22.00"
        07/08/19 10:38:33 devicewatch: device=266, old="22.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="23.00"
        07/08/19 10:54:48 devicewatch: device=266, old="23.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="24.00"
        07/08/19 11:00:08 devicewatch: device=266, old="24.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="25.00"
        07/08/19 11:04:08 devicewatch: device=266, old="25.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="26.00"
        07/08/19 11:08:38 devicewatch: device=266, old="26.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="31.00"
        07/08/19 11:12:38 devicewatch: device=266, old="31.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="34.00"
        07/08/19 11:16:58 devicewatch: device=266, old="34.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="37.00"
        07/08/19 11:17:46 devicewatch: device=266, old="HeatOn", name=Cats Heater, var=urn:upnp-org:serviceId:HVAC_UserOperatingMode1/ModeStatus, new="Off"
        07/08/19 11:17:51 devicewatch: device=266, old="37.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="36.00"
        07/08/19 11:21:08 devicewatch: device=266, old="36.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="38.00"
        07/08/19 11:25:23 devicewatch: device=266, old="38.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="37.00"
        07/08/19 11:29:08 devicewatch: device=266, old="37.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="38.00"
        07/08/19 11:37:28 devicewatch: device=266, old="38.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="39.00"
        07/08/19 11:56:18 devicewatch: device=266, old="39.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="36.00"
        07/08/19 11:56:33 devicewatch: device=266, old="36.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="35.00"
        07/08/19 12:00:18 devicewatch: device=266, old="35.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="32.00"
        07/08/19 12:04:28 devicewatch: device=266, old="32.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="30.00"
        07/08/19 12:08:38 devicewatch: device=266, old="30.00", name=Cats Heater, var=urn:upnp-org:serviceId:TemperatureSensor1/CurrentTemperature, new="28.00"

What type of device is “Cats Heater”?

Remotec ZXT-120

thanks

OK. Your logic looks fine. I would run your actions manually use the “Try” button on each to make sure they actually control the heater as expected. Failing that, I’d turn it back on, and run it through low temperatures and high any way you can, to get some history into the event log. Then run the logic summary again and look at it. I obviously can’t see what the device is doing, and since I don’t use the ZXT-120, I can’t QA your actions and confirm those would be effective to intent as configured, but at least your CurrentTemperature conditions look right, and your grouping seems fine.

awesome, thanks, will do.

And thank you for Reactor. This has made me so much happier with my Vera and we are doing lots of cool automation now with our lights, security, coming home sequences, home theatre ( i got the harmony state working thank you), etc and now to get the heating going. You are clearly a talented individual in this area.

2 Likes

By the way, make sure nothing else is controlling the device at the same time. There are entries in the event log that suggest this is happening. That won’t help.

Gotcha. That was my wife turning on the heater when she realised it was 12 degrees in the cat room. :slight_smile:

Yup. Gotta watch out for those (fiercely) independent controls. :slight_smile: