PyTado icon indicating copy to clipboard operation
PyTado copied to clipboard

tado climatisation v3, fan mode/light/swing up down position

Open devildant opened this issue 1 year ago • 0 comments

Hello,

i using tado from Home Assistant with integration tado who uses pytado, and I have a lot of difficulty controlling my air conditioner correctly, the fan mode selection does not work, as soon as I trigger a command the light of my air conditioner goes back to ON, and there is no option to choose the position of vertical shutters. Tado integration seems to rely largely on Pytado and my issues (HA) don't give much. so I'm trying my luck here, giving you the information I was able to collect

i caught the response api in mytado (capabilities?ngsw-bypass=true) if can help :

{
    "type": "AIR_CONDITIONING",
    "COOL": {
        "temperatures": {
            "celsius": {
                "min": 16,
                "max": 31,
                "step": 1.0
            },
            "fahrenheit": {
                "min": 61,
                "max": 88,
                "step": 1.0
            }
        },
        "fanLevel": [
            "LEVEL3",
            "LEVEL2",
            "AUTO",
            "LEVEL1",
            "LEVEL4",
            "LEVEL5"
        ],
        "verticalSwing": [
            "MID_UP",
            "MID_DOWN",
            "ON",
            "OFF",
            "UP",
            "MID",
            "DOWN"
        ],
        "horizontalSwing": [
            "OFF",
            "ON"
        ],
        "light": [
            "ON",
            "OFF"
        ]
    },
    "FAN": {
        "temperatures": {
            "celsius": {
                "min": 16,
                "max": 31,
                "step": 1.0
            },
            "fahrenheit": {
                "min": 61,
                "max": 88,
                "step": 1.0
            }
        },
        "fanLevel": [
            "LEVEL3",
            "LEVEL2",
            "AUTO",
            "LEVEL1",
            "LEVEL4",
            "LEVEL5"
        ],
        "verticalSwing": [
            "MID_UP",
            "MID_DOWN",
            "ON",
            "OFF",
            "UP",
            "MID",
            "DOWN"
        ],
        "horizontalSwing": [
            "OFF",
            "ON"
        ],
        "light": [
            "ON",
            "OFF"
        ]
    },
    "AUTO": {
        "fanLevel": [
            "LEVEL3",
            "LEVEL2",
            "AUTO",
            "LEVEL1",
            "LEVEL4",
            "LEVEL5"
        ],
        "verticalSwing": [
            "MID_UP",
            "MID_DOWN",
            "ON",
            "OFF",
            "UP",
            "MID",
            "DOWN"
        ],
        "horizontalSwing": [
            "OFF",
            "ON"
        ],
        "light": [
            "ON",
            "OFF"
        ]
    },
    "HEAT": {
        "temperatures": {
            "celsius": {
                "min": 16,
                "max": 31,
                "step": 1.0
            },
            "fahrenheit": {
                "min": 61,
                "max": 88,
                "step": 1.0
            }
        },
        "fanLevel": [
            "LEVEL3",
            "LEVEL2",
            "AUTO",
            "LEVEL1",
            "LEVEL4",
            "LEVEL5"
        ],
        "verticalSwing": [
            "MID_UP",
            "MID_DOWN",
            "ON",
            "OFF",
            "UP",
            "MID",
            "DOWN"
        ],
        "horizontalSwing": [
            "OFF",
            "ON"
        ],
        "light": [
            "ON",
            "OFF"
        ]
    },
    "DRY": {
        "temperatures": {
            "celsius": {
                "min": 16,
                "max": 31,
                "step": 1.0
            },
            "fahrenheit": {
                "min": 61,
                "max": 88,
                "step": 1.0
            }
        },
        "verticalSwing": [
            "MID_UP",
            "MID_DOWN",
            "ON",
            "OFF",
            "UP",
            "MID",
            "DOWN"
        ],
        "horizontalSwing": [
            "OFF",
            "ON"
        ],
        "light": [
            "ON",
            "OFF"
        ]
    },
    "initialStates": {
        "mode": "COOL",
        "modes": {
            "COOL": {
                "temperature": {
                    "celsius": 24,
                    "fahrenheit": 75
                },
                "fanLevel": "LEVEL3",
                "verticalSwing": "OFF",
                "horizontalSwing": "OFF",
                "light": "ON"
            },
            "HEAT": {
                "temperature": {
                    "celsius": 24,
                    "fahrenheit": 75
                },
                "fanLevel": "LEVEL3",
                "verticalSwing": "OFF",
                "horizontalSwing": "OFF",
                "light": "ON"
            },
            "DRY": {
                "temperature": {
                    "celsius": 24,
                    "fahrenheit": 75
                },
                "verticalSwing": "OFF",
                "horizontalSwing": "OFF",
                "light": "ON"
            },
            "FAN": {
                "temperature": {
                    "celsius": 24,
                    "fahrenheit": 75
                },
                "fanLevel": "LEVEL3",
                "verticalSwing": "OFF",
                "horizontalSwing": "OFF",
                "light": "ON"
            },
            "AUTO": {
                "fanLevel": "LEVEL3",
                "verticalSwing": "OFF",
                "horizontalSwing": "OFF",
                "light": "ON"
            }
        }
    }
}

devildant avatar Jul 19 '24 20:07 devildant