-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Bug]: Wrong interpretaion of presence sensor #326
Comments
I had a look into the code and found that for presence detected value
correct values are ["none", "presence", "move"]" |
Can you post the device diagnostics |
I have the same sensor and it has been working perfectly for over a year. Here is my template file. |
Homeassistant binary sensor can only have So you may need to go to Devices -> Localtuya -> Reconfigure existing device -> Choose the device Or use @Theo16 template if the devices are the same |
I do not understand what you sent me. It is part of a config but I do not know when to put it |
@Theo16 It seems we have different devices: your device has the entity "Detection delay" with id 101 and I have the same entity with an id 102. There are couple of other differences in devices |
@salos1982 What are you trying to reach here? do you want the device detect the movement ? if yes then do the steps here #326 (comment) |
@salos1982 try to config id 104 as binary sensor and set on value as "exist" and check if this sensor change value in the same time as in Tuya app. |
After all modification and restart the
Thanks, that helps me. I've added new sensor and it works correctly |
LocalTuya Version
2024.7.0
Home Assistant Version
2024.7.4
Environment
What happened?
I use a presence sensor ZY-M100-WIFI24G. The sensor shows presence only when the micro move is detected.
You can watch the video with the Home Assistant application and Tuya application on the same screen
https://drive.google.com/file/d/1NzC4G3YGyktqP3NcMDckImimDDKviItm/view?usp=sharing
Steps to reproduce.
Enter the room with presence sensor - tuya app detects movement but local Tuya does not
Stay still for about 5 seconds - Tuya app detects micro-movements and local Tuya detects the presence
Go out of the room and wait about 10 seconds - Tuya app detects nobody and local Tuya detects nobody.
Relevant log output
No response
Diagnostics information.
No response
The text was updated successfully, but these errors were encountered: