Andy Castille
Andy Castille
I'm almost certain the device is returning a "successful" HTTP status code because doorbirdby [calls `raise_for_status()`](https://gitlab.com/klikini/doorbirdpy/-/blob/master/doorbirdpy/__init__.py?ref_type=heads#L471) (which would throw an error if it was a 4xx or 5xx status code)...
Update: I ran a script that requested `/bha-api/open-door.cgi?r=1` and logged the result every 5 minutes between 8/17 and 8/25. In that time, it logged 2,516 requests, 2 of which had...
Update: DoorBird support suggested that the device may be auto-rebooting, so it is not online when these requests are sent. I don't believe this is the problem because I'd be...
After more extensive testing (4,181 test requests over 30 days), the device failed to respond to three of them. Two of those failures were "no route to host" and one...
Tiny update from DoorBird support: > I wanted to update you on the findings from our development team regarding the device restarts you reported. They have confirmed that these are...
@bdraco I've pushed a new version with `@retry` annotations to the doorbirdpy dev branch. If it looks good to you, I'll go ahead and release it to PyPI: https://gitlab.com/klikini/doorbirdpy/-/commit/73e8ea277077dccd97f090fde5a85c7b622b5f1b
I pushed it to master and the build [failed](https://gitlab.com/klikini/doorbirdpy/-/jobs/8156105367), so I'll look into it after work today or tomorrow.
Update: fixed the test, 3.0.6 is now in PyPI.
@bdraco I removed the retry annotation from info() and pushed 3.0.7 to PyPI.
When you run the command manually, does sudo prompt you for a password? I've run into this before where it would fail to ask for a password (because it's not...