Adding new device to zigbee2mqtt

Dear Community,

I am looking for your help. I am new to Home Assistant. Just about 2 months of experience, but learning fast.
I have an issue with adding new device to zigbee2mqtt. I have bought TuYa TRV
( https://www.made-in-china.com/showroom/misslinda821/product-detailINumhMclhRVL/China-Saswell-Tuya-Smart-Zigbee-Trv-Amazon-Alexa-and-Google-Assistance-Voice-Control-Available-Room-Thermostat.html ) which is not supported to date.
I am trying to follow documentation about adding new devices, but it seems not to work for me.

What I did?

So I set up debug logs in zigbee2mqtt configuration:
advanced:
log_level: debug

I have put it also in zigbee2mqtt configuration (~/share/zigbee2mqtt/ folder/configuration.yaml)
zigbee_shepherd_devices: true

since I am trying to use sheppard mode :

I have the newest zigbee2mqtt installed so I have copied https://github.com/Koenkk/zigbee-herdsman-converters/blob/f89377f299da70a29ac70d1b26846e87d44a2af4/devices.js from master branch into my ~/share/zigbee2mqtt/ folder

Since I think this new TRV is mostlikely the evolution of TuYa TS0601_thermostat I have added following rows to my local devices.js ( in ~/share/zigbee2mqtt/ folder).

This is what I put there (I copied it from other similat model:zigbeeModel: [‘kud7u2l’],:

{
zigbeeModel: [‘88teujp’],
fingerprint: [{ modelID: ‘TS0601’, manufacturerName: ‘_TTYST11_c88teujp’ }],
model: ‘TS0601_thermostat’,
vendor: ‘TuYa’,
description: ‘Radiator valve with thermostat’,
supports: ‘thermostat, temperature’,
whiteLabel: [
{ vendor: ‘Moes’, model: ‘HY369RT’ },
{ vendor: ‘SHOJZJ’, model: ‘378RT’ },
],
meta: { tuyaThermostatSystemMode: common.TuyaThermostatSystemModes, tuyaThermostatPreset: common.TuyaThermostatPresets },
fromZigbee: [fz.tuya_thermostat, fz.tuya_thermostat_on_set_data, fz.ignore_basic_report],
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_system_mode, 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, tz.tuya_thermostat_preset,
],
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_system_mode, 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, tz.tuya_thermostat_preset,
],
},

Unfortunately, it does not work. I do not see any difference in the zigbee2mqtt logs……

I HAVE AN IMPRESSION DEVICES.JS I CREATED IS NOT READ.

In logs file I still see
Zigbee2MQTT:warn 2020-10-03 11:44:57: Received message from unsupported device with Zigbee model ‘88teujp’
Zigbee2MQTT:warn 2020-10-03 11:44:57: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.

and during manipulation on device:
Zigbee2MQTT:debug 2020-10-03 11:49:01: Received Zigbee message from ‘0x60a423fffe8cf958’, type ‘commandGetData’, cluster ‘manuSpecificTuyaDimmer’, data ‘{“data”:{“data”:[0,0,0,50],“type”:“Buffer”},“dp”:615,“fn”:0,“status”:0,“transid”:3}’ from endpoint 1 with groupID 0
Zigbee2MQTT:warn 2020-10-03 11:49:01: Received message from unsupported device with Zigbee model ‘88teujp’
Zigbee2MQTT:warn 2020-10-03 11:49:01: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Zigbee2MQTT:debug 2020-10-03 11:49:01: Received Zigbee message from ‘0x60a423fffe8cf958’, type ‘commandGetData’, cluster ‘manuSpecificTuyaDimmer’, data ‘{“data”:{“data”:[1],“type”:“Buffer”},“dp”:357,“fn”:0,“status”:0,“transid”:1}’ from endpoint 1 with groupID 0
Zigbee2MQTT:warn 2020-10-03 11:49:01: Received message from unsupported device with Zigbee model ‘88teujp’
Zigbee2MQTT:warn 2020-10-03 11:49:01: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Please help.

I would like also to ask for a help with adding support for this device officially in add-on.

I am happy to make a pull request if all works for me and create documentation for it.

Thank you in advance.

Here is my log.
Device ID is 0x60a423fffe8cf958

https://pastebin.pl/view/fa1e35d9

1 Like

Folks, Isn’t anyone here to help me? Really?

You probably would have more luck on the zigbee2mqtt website.

thanks for avise.

They have their own forum and Discord.

It’s worth saying that when using forums or chat patience is required. The universe is not waiting for your posts. People will respond when they can, if they can. Bumping topics after a few hours is generally viewed as rude and impatient.

Also, as was pointed out in the Zigbee channel of the HA Discord, there’s a link in that log. If you go there it tells you how to add support for the device.

1 Like

Let me know if you found something please?!

I have solved it. It was my mistake. I placed x.95 version of devices.js instead x.94
All works well

1 Like

Cool, thanks! Do you think it will work similarly with HY368 ?


It feels that HY369 is a very old fashioned TRV.

Hey, I’m trying to also add the same radiator valve, did u mange to setup it to show temp, change temp etc?