Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

AI Detection does not work with latest firmware. #245

@rodakswe

Description

@rodakswe

So I have a problem with the latest firmware and decided to downgrade to see if it really was the firmware.
After downgrading the AI Detection works again.
My setup:
reolink_dev release: v0.19 (https://github.com/fwestenberg/reolink_dev/releases/tag/v0.19)
Home Assistant 2021.8.3
Camera: RLC-822A
Working firmware: V300177 https://reolink.com/download-center/
Non working firmware: V3.0.0.250 https://reolink.com/download-center/

With working firmware V300177 I get the following result:
[ { "cmd" : "GetAiState", "code" : 0, "value" : { "channel" : 0, "people_state" : 0, "vehicle_state" : 0 } } ]
Reolink V300177
The "Person state" gets true once a person gets in front of the camera.

With the latest firmware V3.0.0.250 I get the following result:
[ { "cmd" : "GetAiState", "code" : 0, "value" : { "channel" : 0, "face" : { "alarm_state" : 0, "support" : 0 }, "people" : { "alarm_state" : 0, "support" : 1 }, "vehicle" : { "alarm_state" : 0, "support" : 1 } } } ]
Reolink V3 0 0 250
The "Person state" has now been renamed to "Person" and also "Face" has been added as attribute.
None of the attributes ever gets "True".
Can it be that the integration has to consider the new formatting from the API?
The firmware includes new attributes but also it specifies "alarm_state" and "support" for each attribute, this was not the case with previous versions.
I've seen multiple reports of people not having the "People" attribute ever change to "True" and all of the repports seems to have the same formatting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions