- Platform information:
- Hardware: Synology NAS
- OS: DSM 7.1
- Java Runtime Environment: Not sure
- openHAB version: 4.1.1
- Issue of the topic:
I’m trying to use OpenHab to set the value of ‘Aux Max Outdoor Temp’ on an Ecobee thermostat. The thermostat is currently set to a value of 5 (degrees F) and I want to change it to 20. I have a rule that I think should be effecting this change, and when I run the rule I do see OpenHab change the value, but then a few moments later it reverts back to the prior value.
Here’s what I see in the logs when that happens:
==> /openhab/userdata/logs/events.log <==
2024-01-19 17:57:40.174 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp' changed from 5 °F to 20 °F
2024-01-19 17:58:28.172 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp' changed from 20 °F to 5 °F
The event monitor shows (in order from bottom to top):
* openhab/items/Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp/statechanged
ItemStateChangedEvent
{"type":"Quantity","value":"5 °F","oldType":"Quantity","oldValue":"20 °F"}
* openhab/items/Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp/stateupdated
ItemStateUpdatedEvent
{"type":"Quantity","value":"5 °F"}
* openhab/items/Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp/state
ItemStateEvent
{"type":"Quantity","value":"5 °F"}
* openhab/things/ecobee:account:3ea3eb9343/status
ThingStatusInfoEvent
{"status":"ONLINE","statusDetail":"NONE"}
* openhab/things/ecobee:account:3ea3eb9343/status
ThingStatusInfoEvent
{"status":"ONLINE","statusDetail":"NONE"}
* openhab/things/ecobee:account:3ea3eb9343/status
ThingStatusInfoEvent
{"status":"ONLINE","statusDetail":"NONE"}
* openhab/things/ecobee:account:3ea3eb9343/status
ThingStatusInfoEvent
{"status":"ONLINE","statusDetail":"NONE"}
* openhab/items/Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp/statechanged
ItemStateChangedEvent
{"type":"Quantity","value":"20 °F","oldType":"Quantity","oldValue":"5 °F"}
* openhab/items/Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp/stateupdated
ItemStateUpdatedEvent
{"type":"Quantity","value":"20 °F"}
* openhab/rules/b8488bc8ec/state
RuleStatusInfoEvent
{"status":"IDLE","statusDetail":"NONE"}
* openhab/items/Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp/state
ItemStateEvent
{"type":"Decimal","value":"20"}
* openhab/rules/b8488bc8ec/state
RuleStatusInfoEvent
{"status":"RUNNING","statusDetail":"NONE"}
I am trying to use the GUI to accomplish this, and unfortunately most of the current knowledge available for OpenHab’s ecobee binding references filesystem code/scripts, so I’m checking in here for pointers to what I might be doing wrong.
Here’s the item setup:
The rule I’m trying to fire looks like this:
and that rule’s code looks like:
configuration: {}
triggers: []
conditions: []
actions:
- inputs: {}
id: "2"
configuration:
itemName: Ecobee_Thermostat_Entryway_Aux_Max_Outdoor_Temp
state: "20"
type: core.ItemStateUpdateAction
I feel like I’m missing a fundamental concept here, … like maybe I’m setting a parameter value here in OpenHab but maybe I’m not actually sending that to the Ecobee? And when OpenHab checks for the value from the thermostat it just smashes my change?
Or, is there something more strange going on that might explain this unexpected, unwanted, and uncommanded reversion?
-Darren

