Exclude values from Tuya Valve Thermostat
Ostromogilski opened this issue · 6 comments
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 have you solved issue?
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!
@mrmaximas I haven't, unfortunately
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?
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.
OK, so I checked back into home app and guess what, heat option is now gone. How? No idea?
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": []
},