-
Notifications
You must be signed in to change notification settings - Fork 68
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
Button Press doesn't work anymore #358
Comments
Also not working for me |
I also enabled debugging as well as monitoring events - nothing coming up at all... |
Did the same thing. Didn't see any events firing after button press. |
Found these errors in the HA log file |
Anyone get button press working? I'm using an EmpireTech DB2X-WP. Button events not going through. Happy to toss @rroller a coffee to fix. :-) |
I'm so sorry everyone. I've been busy and not able to dig into this. I will make it a top priority soon. I'll try for this weekend |
Not a problem, I know it's voluntary. Figured a bribe may help. Events and logs aren't helpful aside from the logs stating that the add-on isn't compliant with recently depreciated and removed Core changes. I enabled SIP Server on my doorbell. It's pushing events again. Didn't need it before. |
@derekcentrico Facing the same issue here but my doorbell has always had the SIP server enabled. Did you change anyhing else? |
@lluiscab I disabled/cleared the SIP settings (basically a factory reset on device so that cleared) and re-enabled with the SIP server on the local doorbell if that helps. Not sure at which point this made it function but SIP running on the local doorbell makes it work. If I disable it it stops working. |
Can confirm Disabling SIP stops button press from working on mine - VTO2211G-WP. |
Sure, so my log says that as well. The 30 second delay, I think, is related to the SIP calling a home device (theoretically but not happening unless you have those base stations). |
Since the change to schedule_update_ha_state the integration is now using a hard fix value of 30 seconds to poll the VTO for any updates. This can be changed by updating SCAN_INTERVAL_SECONDS = timedelta(seconds=30) under init.py. I updated this setting to 2 seconds and the doorbell press works faster. Home Assistance is now polling the doorbell every 2 seconds. The async_schedule_update_ha_state() seems like it was waiting for the doorbell to push a message to home assistance instead of waiting for polling interval to happen. |
After updating to Home Assistant 2024.6.1 (not sure if that had anything to do with it) and restarting the VTO, I'm receiving the button press event again. Regardless of what the real cause for this issue might be, it feels like there's some error checking / reconnecting logic missing from this component in order to handle this kind of issues more smoothly, maybe we could get a "Connection to VTO lost" notification or similar. |
Can confirm, the button press doesn't work when SIP is disabled. |
https://github.com/rroller/dahua/releases/tag/0.9.55 released to fix a few of the deprecation warnings above. I'm not able to apply a fix for the button press as I've not been able to reproduce the issue yet |
To make things more complicated:
but of course, thanks to rrollerr for this integration! I'm very grateful for it! |
Could this be related to - #230 I.e. Dahua disabled the button presses on their end with a firmware upgrade? |
Guys, I don't know about you, but after installing HA 2024.06.2 or 2024.06.03 (I installed them at the same time, so not sure which one), I suddenly get buttonpress-events again! For me, the problem seems to be solved! Was an HA issue afterall, it seems. Can anybody confirm? |
Still borked on my install. See my post above yours. |
That post was from 2 weeks ago. Did you upgrade your HA to the latest 2024.6.3? That's what apparently fixed it for me. |
I updated and still not working. Gobe back to the dahua vto integration instead which isn't as good but at least it works with button press |
Hello!
Ever since (I think) HA 2024.5.x the button press on the doorbell doesn't register anymore. Maybe more isn't working anymore either, but I'm only using the cameras (still works!) and the doorbell press event.
Would be amazing if this could be fixed!
HA: 2024.5.x
Doorbell: DHI-VTO3211D-P4-S2
The text was updated successfully, but these errors were encountered: