-
Notifications
You must be signed in to change notification settings - Fork 50
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
Missing DPIDs for Tuya PIR Sensor #97
Comments
This isn't bug it just Auto configure couldn't find data for your device. |
Yep, That's what I thought. Sorry if it was tagged as a bug.
Full Diags config_entry-localtuya-d6d1c62282b4cf4e32f66d2628357f28.json.txt |
You can re-download integration via HACS and choose to install "master version" then test if it works :) |
Works perfectly! Thank you! I'll mark this as solved. |
Actually, one minor tweak if it's possible please. The Sensitivity and Light Level values should be logically reversed. 0 = High Sensitivity 0 = High Light Level Not sure if that's possible to represent on the card or not, but thanks for trying. |
The entity number can have "min" and "max" values, and the "min" can't be greater then "max" otherwise the entity will stuck on minimum value and can't be slide anymore. It probably possible to make "min" is negative number e.g. -981 and "max" is 0. same for sensitivity -4 to 0. but not sure this the right approach? |
Thank you, I understand. Thanks for considering it. I know this is beyond the scope of LocalTuya, but are you aware of any way to visually represent the Low/High values on a sliders or some other control card please? Thank you again! |
I always use the default "entities" card for numbers entities. if that what you mean. |
Thanks, I'll have a look and see if I can find a way to represent the sliders in a more logical way. I'll close this issue now, thanks again for your help. |
Just making sure is this also the case in Tuya app? for example if you set the value 981 in HA does it shows 981 in Tuya app as well? |
Just re-opening this issue because of some weird behaviour with this device. The PIR sensor has changed behaviour recently - A few weird issues. Local Tuya Master Branch 4afac6c Weird problems: However, the 101 DPID seems to be setup fine in the Device Configuration page.
However! I have attached an extract of the Debug log file and the Device Diagnostics as well. Thanks in advance for your awesome work! |
This is related to #118 if the select platform failed to startup in one device it won't works for other devices |
any news about this after you fixed your select #118 issue? |
Hi sorry for the delayed reply. The 1st problem with the missing mode selection was resolved when I fixed #116 The 2nd problem of not being able to change the values still exists. When I set the values via a Scene in Tuya SmartLife, the values are 10x smaller than the display values. Would you know how I can test this in HA to verify the theory? |
Hi again, Changes made to the Lux, Time and Sensitivity attributes via the SmartLife app appear in the Home Assistant device. However the MODE setting works fine both ways, so I know the communications are working. Was there anything of interest in the debug logs above? Thanks again for your help, I really appreciate it. |
if my guess is correct I think the value type that being set by localtuya |
Perfect! Attribute changes work perfectly in both directions now. Thanks again for your awesome work. Closed issue as fixed. |
Environment
The problem
Hi Bander,
Would you be able to have a look to see why this PIR sensor device is not pulling the correct DPIDs from the Cloud please?
Product: Mercator Ikuu SXSEN003PIR IP65 Motion Detector (Wi-Fi)
Device Information
Product Name: SXSEN003PIR
Device ID: 63580033e8db8481fd5d
Product Category: pir
When I add the device, it can't map the auto-discovered DPIDs with any known entities.
An error occurred: Couldn't find the data for your device category: pir.. If reason isn't showing, check logs.
Log file:
I get the following DPIDs when I Query the Things Data Model
This is what the Smart Life app shows for the device:
Thanks in advance :)
The text was updated successfully, but these errors were encountered: