Has anyone got the sensor TS0601 by _TZE284_oitavov2 to work with a quirk for ZHA?
here is the link to the product: link
thx
Has anyone got the sensor TS0601 by _TZE284_oitavov2 to work with a quirk for ZHA?
here is the link to the product: link
thx
I haven’t got this one specifically working but I have just got this one working with zigbee2mqtt without any issues. It is detected as
TS0601_soil_3
thx. Apparently mine also works with Zigbee2MQTT, but I don’t want to rebuild my Zigbee network.
I did it. Instructions coming soon.
Any instruction to get the device working in ZHA?
Just to get notification, as I also just tried this soil sensor.
#eigene zigbee komponenten
zha:
enable_quirks: true
custom_quirks_path: custom_zha_quirks/
– Link Update –
3. download tuya_sensor.py from github.
(
TuyaQuirkBuilder("_TZE200_myd45weu", "TS0601")
.applies_to("_TZE200_ga1maeof", "TS0601")
.applies_to("_TZE200_9cqcpkgb", "TS0601")
.applies_to("_TZE204_myd45weu", "TS0601")
.applies_to("_TZE284_myd45weu", "TS0601")
.applies_to("_TZE200_2se8efxh", "TS0601") # Immax Neo
.applies_to("_TZE284_oitavov2", "TS0601") #your sensor
.tuya_temperature(dp_id=5)
.tuya_battery(dp_id=15)
.tuya_soil_moisture(dp_id=3)
.skip_configuration()
.add_to_registry()
)
I hope this helps
The latest version is tuya_sensor.py in the dev branch and would be the best starting point. zha-device-handlers/zhaquirks/tuya/tuya_sensor.py at e3124b5504c6f0ae0fc1a20969fa46a5fee0c94d · zigpy/zha-device-handlers · GitHub
Thank you for reply.
There are no TuyaQuirkBuilder part in the file ts601_sensor.py you are linking to.
Can you post your file that is working for you?
Also the file PrairieSnpr is linking to don’t work for me.
In this file I inserted the line under TuyaQuirkBuilder section for TZE284, and also tried under TZE200 TuyaQuirkBuilder section
.applies_to(“_TZE284_oitavov2”, “TS0601”)
That worked for my. Thanks
That’s right. Thanks. I updated it according to the instructions.
Do you see that in your logs?

Yes, have same log.
I have several other quirks that are working, but this one don’t work…
What file did you update, the one you linked to, or the file knorian linked to?
Is it not possible just to post the quirk that work on your system?
After some tweaking, this works for me. For now it only shows temperature, but I’ll wait a day and sees if the humidity sensor is going to play nice.
You have to edit the configuration.yaml and add the text he provided, create the folder for the script to read.
Then just take the file he posted tuya_sensor.py, doesn’t matter how you name it, inside the created folder.
Then the ID of our white sensor we bought is missing in the file, so CTRL+F search for TuyaQuirkBuilder("_TZE200_myd45weu", "TS0601")
in that you need to add .applies_to("_TZE284_oitavov2", "TS0601")
I also sugggest editing the temperature to be as scale=100 not scale=10, as my temp sensor was wrongly scaled to read 1.6° instead of 16°C
Restart Home Assistant - wait a couple minutes as new data needs to come in first, but you should already see the new sensors as “unavailable” shortly after starting.
Hope that helps !