Open illuzn opened 11 months ago
Thanks for raising this. I don't have an AC so can't try out your flow. It looks as though it should work though.
Are you able to set this as an overlay in the App or on app.tado.com? If you are then would you be able to capture the API call in your web browser. You can do this using developer tools in Firefox or Chrome - happy to talk you through it and help out. When you set the overlay you should see a network PUT request to something like "https://my.tado.com/api/v2/homes/123123/zones/1/overlay" - it is the payload of that request that I'd like to see if possible.
Okay so in Query String Paramaters:
ngsw-bypass: true
And in Request Payload:
{
"termination": {
"typeSkillBasedApp": "MANUAL"
},
"setting": {
"fanLevel": "LEVEL3",
"verticalSwing": "OFF",
"mode": "FAN",
"type": "AIR_CONDITIONING",
"power": "ON"
}
}
I've looked at the javascript code and this should already work. That said I have no idea why it doesn't and I'm terrible at javascript so there's probably something I'm missing.
Hi, I'm finally tidying up some of the open issues, apologies this has been open so long. There have been a number of updates to the undlerying library since v0.10.10 (it went from v0.13.8 to v0.14.3) when you previously tested - has the issue been resolved? Thanks
Do I need to update anything to get the updated library?
You can find the update in the Node-RED palette. The latest release is v0.10.11. If you're able and happy to though you can test the bleeding edge version which I'm currently updating to handle AC a lot better. Instructions to install can be found in this issue along with the current testing results https://github.com/mattdavis90/node-red-contrib-tado-client/issues/66#issuecomment-2144022335
Not working with v0.11
I'm pulling my hair out myself because looking at the code it should just work.
Edit: that said my knowledge of NodeJS is pretty poor
I gave your original flow another read and still don't understand why this isn't working for you. I'll try to have another look this weekend.
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
Edit: In case it wasn't obvious node-red-contrib-tado-client 0.10.10 Node-RED v 3.1.0