In response to
"Tell me why I shouldn't order this? -- (link)"
by
oblique
|
$20!! What do you have to lose?
Posted by
JD (aka Jason Dean)
Aug 9 '24, 12:35
|
well, there's this caveat: This sensor is not officially supported in Zigbee2MQTT or ZHA yet
But still $20!
And even in the review, there's this:
Create a new file in the zigbee2mqtt directory (next to configuration.yaml)
Name it tuya_rain_sensor.js (make sure it ends with .js)
Open the file, copy the contents from bellow and save the file
Open Zigbee2MQTT and navigate to Settings > External Converters
Press the + button and type in tuya_rain_sensor.js
Press Submit in the bottom left corner
Press Restart in the top right corner
Pair the Tuya Rain Sensor
Done
uh, ok. You're own with that code
*laugh*
Now this is where things get interesting. Since this device uses exposed conductivity traces, when water falls on the sensor board, it bridges the gaps between these conductive traces, changing the resistance and producing a measurable voltage change. The value is reported in mV (millivolts) and has no use case as is, unless you are an expert in this field
So it's interesting but not useful? 🤷♂️ Actually, I think just give it time and somebody(s) are going to figure out correlation between MV and something useful.
Oh..and more code...and the author tried.... Wait for more attempts?
My barely comprehending any of that article verdict: $20! what do you have to lose ;-)
|