Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.76k stars 1.65k forks source link

Tuya zigbee thermostat [New device support]: #18589

Open thomasb86 opened 1 year ago

thomasb86 commented 1 year ago

Link

https://www.amazon.fr/Thermostat-intelligent-aliment%C3%A9-t%C3%A9l%C3%A9commande-programmabilit%C3%A9/dp/B0CCXRC7VK/ref=sr_1_1?__mk_fr_FR=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=3JD03H4JC6SXP&keywords=Tuya+Thermostat+intelligent+Tuya+Zigbee+aliment%C3%A9+par+batterie+t%C3%A9l%C3%A9commande+commande+vocale+programmabilit%C3%A9&qid=1691758598&sprefix=tuya+thermostat+intelligent+tuya+zigbee+aliment%C3%A9+par+batterie+t%C3%A9l%C3%A9commande+commande+vocale+programmabilit%C3%A9%2Caps%2C70&sr=8-1

Database entry

{"id":19,"type":"EndDevice","ieeeAddr":"0xb43a31fffe84a84a","nwkAddr":52226,"manufId":4098,"manufName":"_TZE200_viy9ihs7","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"i>

Comments

Hello, i bought this tuya zigbee thermostat and it is recognized by zigbee2mqtt but not supported. i'd like to use it with home assistant but it's impossible. this is the 1st time i'm posting for a peripheral i hope i did the right thing. thank you

External converter

No response

Supported color modes

No response

Color temperature range

No response

ALPF5555 commented 1 year ago

Hello thomasb86 did you ever get any feedback on the support of your Tuya thermostat and how it is supported in zigbee2mqtt. I have the same device and it can be found but no support.

cerme0 commented 1 year ago

Just got the device today. I tried to follow "support new devices" but I'm not this good and I'm unable to make anything work. Is it possible to receive any assistance?

This device is one of the few easily available wich is battery powered and support zigbee

cerme0 commented 12 months ago

Today I received a Tuya hub, after pairing I was able to read tuya datapoints. Taking example/inspiration from another thermostat js and checking the guide I was able to write down an external converter. Due to what I needed and my "coding" ability and knowledge, I was able to only make climate function work and expose.

I'm attaching the .js file I've created. TS0601.zip For make it work you also have to add this lines into configuration.yaml: external_converters:

If anyone is willing to put some extra work here is the full datapoints list: {"1":"Switch", "2":"Set temperature", "3":"Current temperature", "4":"Mode", "9":"Child lock", "11":"Fault alarm", "15":"Set temperature upper limit", "16":"Lower Temp", "19":"Temperature correction", "101":"Working status", "102":"Frost protection function", "103":"Reset", "104":"Workday setting", "107":"Output startup temperature difference", "109":"Weekly procedure", "110":"Backlight brightness"}

Hope to help someone, also is someone better then me can ultimate the work it would be great!

Liionboy commented 11 months ago

any news? when will be supported by Z2M ?

cerme0 commented 11 months ago

any news? when will be supported by Z2M ?

quirk should be already up and ready. I removed my external converter and now thermostat is reconfigured natively from z2m. It's not 100% implemented but core functions works

Liionboy commented 11 months ago

i dont know what exactly to do with that quirk, i make what write in Readme but not work after restart

Liionboy commented 11 months ago

I saw now is working in Z2M but there are a problem with Running State is NULL:

hvac_modes:

From my research i saw this state need to be on idle or heat:

https://www.zigbee2mqtt.io/devices/ZWT198.html#tuya-zwt198

running_state: The current running state. Possible values are: idle, heat. Reading (/get) this attribute is not possible.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

joji90 commented 6 months ago

i have the same issue , any help is appreciated.

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

apeman76 commented 3 weeks ago

Same issue, please fix.

apeman76 commented 3 weeks ago

Will probably work with https://github.com/Koenkk/zigbee2mqtt/issues/23611#issuecomment-2298462571 Just replace the manufacturer with the one you get in the error when adding the device (and remove, re add)