ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
135 stars 7 forks source link

Danfoss Ally thermostat: The history does not show up in Eve app #15

Closed BEskandari closed 2 years ago

BEskandari commented 2 years ago

Hello, I am quit sure that we had the history of the thermostat through Homebridge-Hue and Eve app. Now, no such information is displayed.

ebaauw commented 2 years ago

Did you un-expose and re-expose the thermostat, after upgrading to .13? That should reset the history.

BEskandari commented 2 years ago

I also get the below message:

[14/02/2022, 18:25:46] [deCONZ] SDB: Target Heating Cooling State changed from 1 to 0 [14/02/2022, 18:25:46] [deCONZ] HB-deCONZ: request 2007: PUT /sensors/15/mode {"mode":"off"} [14/02/2022, 18:25:46] [deCONZ] HB-deCONZ: warning: request 2007: api error 4: method, PUT, not available for resource, /sensors/15/mode [14/02/2022, 18:25:53] [deCONZ] SDB: Target Heating Cooling State changed from 0 to 1 [14/02/2022, 18:25:53] [deCONZ] HB-deCONZ: request 2008: PUT /sensors/15/mode {"mode":"auto"} [14/02/2022, 18:25:53] [deCONZ] HB-deCONZ: warning: request 2008: api error 4: method, PUT, not available for resource, /sensors/15/mode

ebaauw commented 2 years ago

That's definitely a bug.

Does the Danfoss Ally expose state.valve? Homebridge deCONZ wants it to expose Eve-Thermo-like history, but I'm not sure if it's actually required. Need to double-check how Homebridge Hue handles this.

BEskandari commented 2 years ago

image

BEskandari commented 2 years ago

Hi Erik,

I tried your latest Thermostat.js and still get:

[08/03/2022, 20:39:19] [deCONZ] SDB Dineh: Target Heating Cooling State changed from 1 to 0 [08/03/2022, 20:39:19] [deCONZ] HB-deCONZ: request 166: PUT /sensors/15/config {"mode":"off"} [08/03/2022, 20:39:19] [deCONZ] HB-deCONZ: warning: request 166: api error 6: parameter, mode, not available

or

[08/03/2022, 20:42:36] [deCONZ] SDB Dineh: Target Heating Cooling State changed from 0 to 1 [08/03/2022, 20:42:36] [deCONZ] HB-deCONZ: request 211: PUT /sensors/15/config {"mode":"auto"} [08/03/2022, 20:42:36] [deCONZ] HB-deCONZ: warning: request 211: api error 6: parameter, mode, not available

ebaauw commented 2 years ago

They don't expose config.mode on the Danfoss. Not sure how best to deal with that; Mode is mandatory in HomeKit, see https://github.com/ebaauw/homebridge-hue/issues/1048.

Fix is in v0.0.14.

BEskandari commented 2 years ago

Thanks Erik, there is an ongoing DDF file on Deconz Add DDF for Danfoss Ally thermostat #5793 let see, thanks again for your excellent work