duanemck / ezviz.net

Experimental .net library for interacting with the Ezviz API. Based on the excellent work in https://github.com/BaQs/pyEzviz
MIT License
4 stars 0 forks source link

Detection sensitivity level seems to act in a scale from 1 to 6, on my CAM, this is from 0 to 100 #13

Open duanemck opened 10 months ago

duanemck commented 10 months ago

Raised in #7

duanemck commented 9 months ago

The EZViz API returns the following values, not sure how that maps to your specific camera, perhaps the app is doing some mapping?

image

Looking at the code now, the Python ezviz library (that this code is based on) does seem to treat sensitivity differently on battery camera but it still seems to map it to those levels.

The sensitivity is requested via a separate API call to the main call I'll have to add some additional logging to see what value is coming back on your side.

duanemck commented 9 months ago

I've pushed a new version to tag PREVIEW_LOGGING which now also logs other API requests. If you update, you should now see a log file with the prefix Sensitivity, what is in there?