-
Hey guys, I've integrated a water quality monitor with Home Assistant using Tuya Local. Everything's working except for the TDS (Total Dissolved Solids) readings. The TDS data is visible in the Tuya API and I see we also have some TDS alarms found in devices/phw218_waterquality_monitor.yaml in Tuya Local, but it's not showing up as an entity in Home Assistant. This is the high warning that I can find in your config for devices from this monitor.
However, I can also see that the TDS data is being returned by the API
Can someone point me in the right direction in terms of how to move forward to collect his data on tuya-local |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This seems to be a different device than the PH218 config you are looking at. The PH218 has TDS on dp 111 and current temperature on dp 8. It does not seem to have a battery reading, but maybe that is just missing from the data provided in #580, as that report was an older report before the more complete QueryThingsDataModel API call was discovered. |
Beta Was this translation helpful? Give feedback.
-
I think your device matches the device in #880 rather than the PH218. The user that submitted the config did list dp 1 as "tds_in" in the original request, but later listed it as "Calculated value from EC x EC Temp.Comp.Factor", so maybe it is calculated in the cloud and not available locally. In that case you could use a template sensor to do the calculation in HA if you want that value. |
Beta Was this translation helpful? Give feedback.
I think your device matches the device in #880 rather than the PH218. The user that submitted the config did list dp 1 as "tds_in" in the original request, but later listed it as "Calculated value from EC x EC Temp.Comp.Factor", so maybe it is calculated in the cloud and not available locally. In that case you could use a template sensor to do the calculation in HA if you want that value.