Closed bigjools closed 1 year ago
Having said all that, I cannot get the login to work either! Requesting a token via the login API returns "please login first". Huh.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Nobody else seeing this?
Camera
Reolink 822A
Firmware version of the camera
v3.1.0.989_22081907
Description
It looks like the basic events API no longer accepts user and password parameters on the POST URL; instead you have to retrieve a token and use that. See https://drive.google.com/file/d/15AFMQSMlMdpjL2USPsvYd-J9xWecrEf9/view for the latest API. I am not sure at which firmware version this happened but at least the most recent one I installed as written above has broken things.
The upshot is that motion events are never received and/or sent to Protect since the way the current request is done always results in an error from the camera saying that you need to log in.
If I change the URL to a GET and remove the body of the request, it defaults to channel 0 anyway and you get back the expected response. However - I tried a quick hack to do this and it didn't pick up the motion, so something else is wrong.
How to reproduce
Using any web request client (I'm using HTTPie here), you can see the response:
Expected behaviour
No response
Screenshots
No response
Aditional information
No response