Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude values from Tuya Valve Thermostat #766

Open
2 tasks done
Ostromogilski opened this issue Nov 29, 2023 · 6 comments
Open
2 tasks done

Exclude values from Tuya Valve Thermostat #766

Ostromogilski opened this issue Nov 29, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@Ostromogilski
Copy link

Device Model

TuYa TS0601_thermostat

Is there an existing issue for this?

  • I have searched the existing issues and did not find an existing issue.

Supported by Zigbee2MQTT?

  • Device is supported by Zigbee2MQTT

Missing features / functionality

Hi! The device exposes "system_mode" with values: heat, auto and off
I'm trying to exclude heat value, and only leave auto since heat doesn't make sense - whatever temperature you set for the heat mode, the valve will always remain opened and never clooses.

Any advice is greatly appreciated!

HomeKit Services and Characteristics

Here's my configuration:

{
    "accessories": [],
    "platforms": [
        {
            "platform": "zigbee2mqtt",
            "mqtt": {
                "base_topic": "zigbee2mqtt",
                "server": "mqtt://localhost:1883",
                "keepalive": 60,
                "version": 4
            },
            "exclude_grouped_devices": false,
            "devices": [
                {
                    "id": "0xa4c1381c980de02e",
                    "exclude": true
                },
                {
                    "id": "0xa4c1389a3136c6d7",
                    "exclude": true
                }
            ],
            "defaults": {
                "exclude": false,
                "excluded_keys": [
                    "valve_detection",
                    "window_detection",
                    "auto_lock",
                    "away_mode"
                ],
                "values": [
                    {
                        "property": "system_mode",
                        "exclude": [
                            "heat"
                        ]
                    }
                ]
            }
        }
    ]
}

Exposes information from Zigbee2MQTT

{
    "auto_lock": "MANUAL",
    "away_mode": "OFF",
    "away_preset_days": 1,
    "away_preset_temperature": 15,
    "battery_low": false,
    "boost_time": 300,
    "child_lock": "UNLOCK",
    "comfort_temperature": 20,
    "current_heating_setpoint": 35,
    "eco_temperature": 15,
    "force": "close",
    "holidays": [
        {
            "hour": 6,
            "minute": 0,
            "temperature": 20
        },
        {
            "hour": 8,
            "minute": 0,
            "temperature": 15
        },
        {
            "hour": 11,
            "minute": 30,
            "temperature": 15
        },
        {
            "hour": 12,
            "minute": 30,
            "temperature": 15
        },
        {
            "hour": 17,
            "minute": 30,
            "temperature": 20
        },
        {
            "hour": 22,
            "minute": 0,
            "temperature": 15
        }
    ],
    "holidays_schedule": "06:00/20°C 08:00/15°C 11:30/15°C 12:30/15°C 17:30/20°C 22:00/15°C",
    "linkquality": 33,
    "local_temperature": 19.5,
    "local_temperature_calibration": -1,
    "max_temperature": 35,
    "min_temperature": 5,
    "position": 0,
    "preset": "manual",
    "running_state": "idle",
    "system_mode": "off",
    "update": {
        "installed_version": 87,
        "latest_version": 87,
        "state": "idle"
    },
    "week": "5+2",
    "window_detection": "OFF",
    "window_detection_params": {
        "minutes": 7,
        "temperature": 17
    },
    "window_open": false,
    "workdays": [
        {
            "hour": 6,
            "minute": 0,
            "temperature": 20
        },
        {
            "hour": 8,
            "minute": 0,
            "temperature": 15
        },
        {
            "hour": 11,
            "minute": 30,
            "temperature": 15
        },
        {
            "hour": 12,
            "minute": 30,
            "temperature": 15
        },
        {
            "hour": 17,
            "minute": 30,
            "temperature": 20
        },
        {
            "hour": 22,
            "minute": 0,
            "temperature": 15
        }
    ],
    "workdays_schedule": "06:00/20°C 08:00/15°C 11:30/15°C 12:30/15°C 17:30/20°C 22:00/15°C"
}

Additional information / Other remarks

No response

@Ostromogilski Ostromogilski added the enhancement New feature or request label Nov 29, 2023
@mrmaximas
Copy link

@Ostromogilski have you solved issue?

Copy link

stale bot commented Mar 17, 2024

It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions!

@stale stale bot added the stale label Mar 17, 2024
@Ostromogilski
Copy link
Author

@mrmaximas I haven't, unfortunately

@stale stale bot removed the stale label Mar 18, 2024
@YellowNest
Copy link

I tried your config and managed to get rid of the outlet that was beeing exposed to homekit together with the thermostat. It was driving me insane! Thanks!
When it comes to the heat value I am not able to select it anymore but it's still there. Is it maybe an Apple issue to not be able to hide it completely?

@itavero
Copy link
Owner

itavero commented Apr 1, 2024

FYI: I think the property value excludes used to only be for the Stateless Programmable Switch, but I'm now thinking that I might have changed that a while back when simplifying the checks.

You could perhaps try to give a modified set of exposes information for this device to homebridge-z2m via the plugin configuration.

@YellowNest
Copy link

OK, so I checked back into home app and guess what, heat option is now gone. How? No idea?

IMG_4325

here is my config

{
"mqtt": {
"base_topic": "zigbee2mqtt",
"server": "mqtt://localhost:1883",
"reject_unauthorized": false,
"keepalive": 60,
"version": 5,
"disable_qos": false
},
"defaults": {
"exclude": false,
"excluded_keys": [
"valve_detection",
"window_detection",
"auto_lock",
"away_mode"
],
"values": [
{
"property": "system_mode",
"exclude": []
}
],
"converters": {
"switch": {
"type": "outlet"
}
},
"light": {
"adaptive_lighting": false
},
"experimental": []
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants