openipcamera / openipc-firmware

OpenIPC Firmware for Wyze Cameras
https://openip.cam
886 stars 128 forks source link

motion detection configuration errors #83

Open mlepisto opened 5 years ago

mlepisto commented 5 years ago

On the manage -> motion detection page, when first viewing the page, the region boundary values are all (4x) zero but the visual tool range appears to be full screen. This leads me to want to think it is will select the whole screen when saving.

So when saving with other motion settings but not changing the range, the quick view slider displays "Invalid Argument ? Motion Configuration done"

When I figured that out, the save message appears without "Invalid Argument ? " but I'm not sure the settings are being saved because motion.conf is empty. It has the correct date/time but no content.

[root@DAFANG:config]# ls -al motion* -rwxr-xr-x 1 root root 0 Jul 24 18:24 motion.conf -rwxr-xr-x 1 root root 480 Jun 8 04:12 motion.conf.dist

nik0 commented 5 years ago

Does last version of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks solve the problem ?

mlepisto commented 5 years ago

I haven't tried. I'm a bit confused as to the differences between the two, and how much they can interact.

What's the best method to update? Should I just follow the update instructions here? https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/install_cfw.md

I see an autoupdate.sh in /system/sdcard

nik0 commented 5 years ago

The problem is that autoupdate seems outdated. The best is to copy the whole firmware_mod on your sdcard (replacing the existing), save the previous at least ... If you are on windows download as zip

mlepisto commented 5 years ago

The problem is that autoupdate seems outdated.

Gotta love the irony. I'll give a manual update a try.

mlepisto commented 5 years ago

I installed the Dafang-Hacks version (clean install of that, following their instructions) and the motion config works properly with it.