-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no longer detecting all dp_id #838
Comments
When i setup my local devices none of my p ids were detected. In all the tutorials i watched they showed. Is this a change on Tuya side |
Same issue here for adding a smart curtain, the options I was given in the wizard while adding the curtain, none looked like an ID field. ran the debug script:
|
Actually simbesh, I think those look OK. Have you got the Device Specification Attribute from the Tuya IOT Platform website ? LocalTuya only shows the DP_ID number and current value - but the Tuya IoT Device Specification (once it's formatted) shows a name (which they call "code"), variable type, and range of possible values for each dp_id ... which makes it so much easier to guess what they are for. This thread has a better explanation.
My guess (based only on my own blind motor) is that DP_ID #1 is the main control mechanism, possibly with values "open", "close" and "stop"; and at the time you ran the above test.py the blind was stopped 33% closed. In this thread i found that the Tuya IoT website has two menu entries for almost the same thing. Confusing :-( |
@donburch888 looks like ID is just looking for the state of the device and not an actual ID. added it as 1 and it seems to be working fine |
Actually simbesh, I think those look OK. Have you got the Device Specification Attribute from the Tuya IOT Platform website ? LocalTuya only shows the DP_ID number and current value - but the Tuya IoT Device Specification (once it's formatted) shows a name (which they call "code"), variable type, and range of possible values for each dp_id ... which makes it so much easier to guess what they are for. This thread has a better explanation.
My guess (based only on my own blind motor) is that DP_ID #1 is the main control mechanism, possibly with values "open", "close" and "stop"; and at the time you ran the above test.py the blind was stopped 33% closed. In this thread i found that the Tuya IoT website has two menu entries for almost the same thing. Confusing :-( |
I just updated my Home Assistant, and the LocalTuya inrtegration ... and tried to update one og my plugs. It appears that all the dp_id's are back; so as far as I am concerned this issue is closed. |
The problem
My Zemismart blind motor recently stopped making the blind position available, so I tried reinstalling it - and found that previously available dp_id entries (including "percent_control") are no longer being detected.
Environment
Steps to reproduce
I note that the dp_id numbers are no longer being provided :-( Is this significant ?
Personally I prefer the older "Add new Entity" with drop-down fields, to the new layout where all options are listed in one super-long page. A screen shot would be helpful here.
the Add new entiry page starts by asking for ID with only 2 options listed, being:
These same two options are presented for Current position and Set position. In fact some playing around shows they are the only options presented for all platform types.
Configuration
configuration.yaml
orconfig_flow
I used the GUI to install the blind motor, but where is 'config_flow' ? Do you mean /config/custom_components/localtuya/config_flow.py ?
DP dump
Provide Home Assistant taceback/logs
Additional information
I then enabled access through my router and managed to control all aspects of the blind motor using the Tuya phone app - indicating that it isn't a blind motor firmware problem.
The text was updated successfully, but these errors were encountered: