Tuya Smart Water Quality Control Meter automation
Hardware:
Monitor PH/EC/TDS for nutrient tank;
Dealing with tuya
First you add device into your account using the app on phone; link to tuya cloud. (needed for getting local keys; might be better ways?)
Leverages Tuya cloud; to run in local mode follow this; the typical way of getting is blocked on device (no rest call)
https://www.youtube.com/watch?v=YKvGYXw-_cE&t=312s
I skipped cloud setup on localtuya integration.
Home Assistant Configs:
note: copy and paste scale factors if you hit the bug of typing them in
HACS and localtuya installed in HA; then you can move into configuring device.
My current best guesses on adding device and what sensor is what. Hit the configure button on localtuya and be prepared to do some swearing.
Any mistakes in the initial add; you have to delete and re-add the integration; recommend grabbing a beer.
| EC Remove | EC water | PH Remove | PH Water |
| label | notes | scaling |
8 | 215 | 215 |
|
|
| temp | temp? | 0.1 |
102 | 718 | 718 | 900 | 718 |
| PH | /100 | 0.01 |
107 | 0 | 60 |
|
|
| TDS |
|
|
110 | 0 | 120 |
|
|
| us |
|
|
113 | 0 | 70 |
|
|
|
| no effing idea |
|
116 | 998 | 998 |
|
|
|
| no effing idea |
|
119 | 0 | 0 |
|
|
|
| no effing idea |
|
Annnnnnddd make this far; behold! PH/temp and TDS…
Buy me a coffee here (all donations will go back into garden!) https://www.buymeacoffee.com/jasoncae