I have setup my first openhab sytem using Openhabian and a pi 3 B+. Here is what I have gotten to so far:
- Openhab up and running and accessible via 8080
- Ecobee developer setup completed
- Ecobee items and home sitemap created
- 3 items on my Basic UI giving me Temperature, Interior humidity, and HVAC Mode (Switch).
The items on my UI are updating correctly, including HVAC mode, but I’m running into an issue updating my hvac mode via a switch. I get an error with:
2018-09-03 13:56:25.333 [ERROR] [inding.ecobee.internal.EcobeeBinding] - Error updating thermostat(s): ApiResponse[status=Status[code=4,message=Serialization error. Not permitted to update model: Thermostat]].
Here is my sitemap (stolen and trimmed down from the ecobee bindings example) -
sitemap cavanagh_s label="Cavanagh's"
{
Frame label="Thermostat" {
Text item=runtime_actualTemperature
Text item=runtime_actualHumidity
Switch item=settings_hvacMode label="HVAC Mode" mappings=[heat=Heat,cool=Cool,auto=Auto,off=Off]
Text item=program_currentClimateRef
/*
Switch item=desiredComf mappings=[sleep=Sleep,wakeup=Wake,home=Home,away=Away,smart6=Gym,resume=Resume]
Setpoint item=desiredTemp label="Temp [%.1f °F]" minValue=50 maxValue=80 step=1 visibility=[hvacMode==heat,hvacMode==cool]
Setpoint item=desiredHeat label="Heat [%.1f °F]" minValue=50 maxValue=80 step=1 visibility=[hvacMode==auto]
Setpoint item=desiredCool label="Cool [%.1f °F]" minValue=50 maxValue=80 step=1 visibility=[hvacMode==auto]
Switch item=desiredFan mappings=[on=On,auto=Auto] // for rule supported in 1.9
*/
}
}