node-red-contrib-tado-client icon indicating copy to clipboard operation
node-red-contrib-tado-client copied to clipboard

fanSpeed is ignored for FAN mode

Open illuzn opened this issue 6 months ago • 2 comments

msg.fanSpeed is working for me for cool and heat modes.

However bizzarely, it doesn't seem to work if the mode is set to fan (regardless of whether directly in the setZoneOverlay node itself or by trying to override it using msg.fanSpeed). No matter what is set it seems to always default to LEVEL2 - I know this is the result if fanLevel isn't sent at all (this is the same behaviour Home Assistant has).

I'm using this because the Home Assistant Tado integration doesn't support fan levels at the moment (and when I turn my AC on I want it full blast).

example flow

[{"id":"85f32f499ff95257","type":"tado","z":"76a26e6e895feb58","configName":"6af782bb95bda1bd","apiCall":"getZoneOverlay","homeId":"000000","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":500,"y":580,"wires":[["2e957d49e529f28c"]]},{"id":"ef2bda88ba01c1eb","type":"server-state-changed","z":"76a26e6e895feb58","name":"Air Conditioning Changes","server":"f1028730287dd073","version":5,"outputs":2,"exposeAsEntityConfig":"","entityId":"climate.air_conditioning","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"off","ifStateType":"str","ifStateOperator":"is_not","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":230,"y":580,"wires":[["85f32f499ff95257"],[]]},{"id":"eda670e476148e00","type":"tado","z":"76a26e6e895feb58","configName":"6af782bb95bda1bd","apiCall":"setZoneOverlay","homeId":"000000","acMode":"COOL","childlock":false,"deviceId":"","fanSpeed":"LEVEL3","geoTracking":true,"name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":980,"y":580,"wires":[[]]},{"id":"2e957d49e529f28c","type":"change","z":"76a26e6e895feb58","name":"Rewrite settings","rules":[{"t":"move","p":"payload.setting","pt":"msg","to":"setting","tot":"msg"},{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"temperature","pt":"msg","to":"setting.temperature.celsius","tot":"msg"},{"t":"set","p":"acMode","pt":"msg","to":"setting.mode","tot":"msg"},{"t":"set","p":"fanSpeed","pt":"msg","to":"LEVEL3","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":740,"y":580,"wires":[["eda670e476148e00"]]},{"id":"6af782bb95bda1bd","type":"tado-config","name":"Home"}]

Edit: In case it wasn't obvious node-red-contrib-tado-client 0.10.10 Node-RED v 3.1.0

illuzn avatar Dec 07 '23 14:12 illuzn