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

[Device] Tuya Thermostat valve #39

Closed
mojijafari opened this issue Jan 15, 2021 · 8 comments
Closed

[Device] Tuya Thermostat valve #39

mojijafari opened this issue Jan 15, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@mojijafari
Copy link

Dear itavero,
First of all, I should thank you very much for your kind effort. I appretite your work. Is there any way to help you with new devices? you can not buy all of them, however we have some, is there any way to share the data of them with you, or help for coding? Or if you can invent the structure that any one can establish a connection and add new device, would be great. we have specefic type of zigbees and with your kind work, all of them could work.

my next offer is the pairing button and reset button. isn't better to add new button in homebridge to reset and/or pair new devices?

By the way, I have new Tuya thermostat that z2m recognize it as curtain :)

@mojijafari mojijafari added the enhancement New feature or request label Jan 15, 2021
@itavero
Copy link
Owner

itavero commented Jan 15, 2021

Providing the data mentioned in the issue template helps with adding support for new devices (mostly from MQTT messages).

Which version of the plug-in are you running?
homebridge-z2m v1 and newer should not show your thermostat as a window covering, unless Zigbee2MQTT is reporting it incorrectly.

Please note that support for thermostats is not in homebridge-z2m yet. See #32 and #37

@itavero
Copy link
Owner

itavero commented Jan 15, 2021

With regards to managing your Zigbee network and adding/removing devices, please have a look at the web frontend of zigbee2mqtt.
It provides a better experience for those use cases then I will be able to provide within the constraints of HomeKit.

@itavero itavero changed the title Tuya Thermostat valve [Device] Tuya Thermostat valve Jan 15, 2021
@itavero
Copy link
Owner

itavero commented Jan 15, 2021

For your specific device, can you please provide the device model (also known as exposes information) for this particular device, as published to zigbee2mqtt/bridge/devices by zigbee2mqtt.
That way I can take it into account in the automated test suite when I start implementing support for climate devices.

@mojijafari
Copy link
Author

For your specific device, can you please provide the device model (also known as exposes information) for this particular device, as published to zigbee2mqtt/bridge/devices by zigbee2mqtt.
That way I can take it into account in the automated test suite when I start implementing support for climate devices.

Thank you very much. I opened zigbee2mqtt folder and did not see bridge folder. How can I find that?

@mojijafari
Copy link
Author

igbeeModel: ['kud7u2l'],
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_ckud7u2l'}],
model: 'TS0601_thermostat',
vendor: 'TuYa',
description: 'Radiator valve with thermostat',
whiteLabel: [{vendor: 'Moes', model: 'HY369RT'}, {vendor: 'SHOJZJ', model: '378RT'}],
meta: {tuyaThermostatPreset: tuya.thermostatPresets, tuyaThermostatSystemMode: tuya.thermostatSystemModes3},
ota: ota.zigbeeOTA,
onEvent: tuya.onEventSetLocalTime,
fromZigbee: [fz.tuya_thermostat, fz.ignore_basic_report, fz.ignore_tuya_set_time],
toZigbee: [tz.tuya_thermostat_child_lock, tz.tuya_thermostat_window_detection, tz.tuya_thermostat_valve_detection,
tz.tuya_thermostat_current_heating_setpoint, tz.tuya_thermostat_auto_lock,
tz.tuya_thermostat_calibration, tz.tuya_thermostat_min_temp, tz.tuya_thermostat_max_temp,
tz.tuya_thermostat_boost_time, tz.tuya_thermostat_comfort_temp, tz.tuya_thermostat_eco_temp,
tz.tuya_thermostat_force_to_mode, tz.tuya_thermostat_force, tz.tuya_thermostat_preset, tz.tuya_thermostat_away_mode,
tz.tuya_thermostat_window_detect, tz.tuya_thermostat_schedule, tz.tuya_thermostat_week, tz.tuya_thermostat_away_preset],
exposes: [
e.child_lock(), e.window_detection(), e.battery_low(), e.valve_detection(), e.position(),
exposes.climate().withSetpoint('current_heating_setpoint', 5, 35, 0.5, exposes.access.STATE_SET)
.withLocalTemperature(exposes.access.STATE).withSystemMode(['heat', 'auto', 'off'], exposes.access.STATE_SET)
.withRunningState(['idle', 'heat'], exposes.access.STATE)
.withLocalTemperatureCalibration(exposes.access.STATE_SET)
.withAwayMode().withPreset(['schedule', 'manual', 'boost', 'complex', 'comfort', 'eco']),
e.auto_lock(), e.away_mode(), e.away_preset_days(), e.boost_time(), e.comfort_temperature(), e.eco_temperature(), e.force(),
e.max_temperature(), e.min_temperature(), e.week()],

is this what you want?

@itavero
Copy link
Owner

itavero commented Jan 16, 2021

If the topic does not exist, it might be that you are running an old version of Zigbee2MQTT.

Which version of Zigbee2MQTT and of this plugin are you using?

PS: just to be clear, I'm not asking for the contents of a file, but part of a MQTT message published by Zigbee2MQTT. 😅

@mojijafari
Copy link
Author

I'm sorry for misundertanding, this is what I have [https://www.zigbee2mqtt.io/devices/TS0601_thermostat.html]. It works with home assisstant and it's interface in homekit, but it can't use directly in homebridge.

thank you in advance

@itavero
Copy link
Owner

itavero commented Jan 22, 2021

Opened up #40 to group all the individual request for thermostat/TRV support in one place, as these will most likely be handled by the same code.

Because of that I'm closing this issue. Updates/discussion should be done in this new issue.

@itavero itavero closed this as completed Jan 22, 2021
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

2 participants