koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
4.15k stars 247 forks source link

reolink: fix deviceprovider for cameras with siren #1508

Closed gtalusan closed 3 months ago

gtalusan commented 3 months ago

Looks like I inadvertently caused a bug. It's more than likely I had a cached response in my storage settings from intermediate code.

Anyway, my "production" instance of Scrypted synced up with the latest publish and I couldn't see the sirens after adding in my test camera.

This fixes it.

Apologies as I'm still learning my way around this codebase.

koush commented 3 months ago

Yeah I put in a couple other fixes, device provider was always being added (despite the change to fix that). setting the ai state was causing a settings refresh once per second, need to be more discerning about doing that. can check the commit history on that path.