Open cibernox opened 1 year ago
I’ve had a similar issue when adding an Arlec smart switch. (PC191HA) I had three that showed current, energy and voltage as DPs/sensors. I have just added a 4th that had been sitting in the cupboard for 6 months and it will not show the DPs. The switch works as expected.
The information is there in the Tuya app and shows up in the attributes but the DPs (18,19 and 20) are not listed in the entities. I recall they are shown in the Tuya IOTPlatform.
When I compare the debug log, the others show the DPs but this one has a very simple listing.
If I use the “official” Tuya integration, all the sensors are there.
The problem
This happens using a smart 8 zone sprinkler irrigation controller, model number DP-WBS01. Some DP that are visible in the API explorer don't seem to be visible when adding entities. In particular seem that some that contain Enums are not displayed. I am focusing on the
irrigation_mode
, which determines if zones are watered in sequence or all simultaneously.This is the payload from Device Control > Get Device Specification Attribute (check near the bottom)
It doesn't seem to be listed when running tuyadebug's
test.py
command:Maybe this is normal, but I couldn't find any info or explanation on why the attribute with DP 44 is not displayed. The device uses protocol 3.3.
Environment
DP dump
Provide Home Assistant traceback/logs
No logs.
Additional information
I am happy to help debug if I can, I know enough python to be dangerous. But possibly this is not a bug but a limitation of tuya's local API.