Timer Rule - Turn ON/OFF Heating based on time and outdoor temperatur

Hello,

I have created the below rule but I am having trouble to make it work. Basically what I am trying to set is:
Turn OFF the heater between 12:00 and 18:00

configuration: {}
triggers:
  - id: "5"
    configuration:
      cronExpression: 0 0/5 * * * ? *
    type: timer.GenericCronTrigger
  - id: "4"
    configuration:
      itemName: LocalWeatherandForecast_OutdoorTemperature
      state: ">11"
    type: core.ItemStateUpdateTrigger
conditions:
  - inputs: {}
    id: "1"
    configuration:
      startTime: 12:00
      endTime: 18:00
    type: core.TimeOfDayCondition
actions:
  - inputs: {}
    id: "2"
    configuration:
      command: "0"
      itemName: User_GlobalClimaOperation
    type: core.ItemCommandAction

You can’t do that in a trigger.

The state part of the trigger is only and always equals. If you need to do a comparison, you have to put that into a condition.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.