Skip to content

Disabled cameras: must be ignored during the periodic update (each 60s) #14

@Bch78

Description

@Bch78

Ask for an improvement.

In my Account I have 6 cameras.

I have noted that each periodic update for these six cameras has a cost of 40 API Calls :
=> so, for an hour it will cost 2400 calls and for a whole day 57600 calls
As there is only 30000 free API calls / month, it will require extra costs each month.

I want to use HA to only handle 2 of these cameras (the most strategics).
So, I have set 4 cameras in a state "disabled" from an HA point of view (see the figure).

image

But, even with this "disabled" state, the 4 disabled cameras are always included in the periodic update.

So, my request is:
Is it possible to improve the code in order to exclude the disabled cameras from the periodic update ?

Regards

Note: in the same approach (minimize / adjust API calls according to the needs), the 60 seconds of the periodic update should be configurable .

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