I bought one of these on a whim with an idea for an automation.
Any idea if this will work with HE and if so what driver.
I bought one of these on a whim with an idea for an automation.
Any idea if this will work with HE and if so what driver.
@kkossev writes most of the Tuya Zigbee community drivers for hubitat.
Look for Tuya Zigbee Rain Sensor in Package Manger, or install from the code below.

Thanks the driver seems to work.
This device reports as a "_TZE200_u6x1zyv2"
I'm not even sure what to expect from an event on one of these?
Is a water drop an event?
What sort of logic would you use to detect "rain"?
Any suggestions @kkossev?
Looking at the code there is an attribute for Droplet Detection State.
attribute 'dropletDetectionState', 'enum', ['off', 'on']
So, it looks like when it is raining dropletDetectionState just changes to on. It apparently also pulls in illuminance.
An actual rain meter gives more info. The Ecowitt weather station rain meter I have reports rain rate, as it measures how much rain is dropping through funnel.
Actually I've figured it out.
You are right, there is a a state of "wet" and "dry"
Alexa now tells me when it's raining and when it stops raining... Much to the annoyance of everyone else in the house.
Mission accomplished.
Yeah, I have to be careful of what I announce via Alexa or people in my house get annoyed as well. I have a scrolling display on my main dashboard that lists the last six "events" that are worthy of being reported, so starting to rain and ending rain just go to that list with a timestamp.
I may miss when it starts raining, but then I check the dashboard to see when it actually started, or ended.
Legitimately I am trying to get someone to go and get the washing in... So it's not entirely malicious ![]()