roleoroleo / yi-hack-Allwinner

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
437 stars 66 forks source link

Firm 0.3.3 Base 12.2 Motion Detection Switch always show as disabled #391

Closed ibratos closed 1 year ago

ibratos commented 1 year ago

Firmware Version 0.3.3 Base Version 12.2.0.2_202212191129 Model Suffix y20ga Serial Number 00009FUS

Camera config/General/Motion Detection switch always show as disabled when refresh page, but motion detection works when enabled it and save.

ibratos commented 1 year ago

http://[IP]/cgi-bin/get_configs.sh?conf=camera ... "MOTION_DETECTION":"yes", ...

http://[IP]:8080/index.html?page=camera_settings GUI show Motion Detection disabled

When change anything in camera settings at gui (enable IR for example) it save all params and disable Motion detection. At HA Integration (0.4.4) it works fine.

roleoroleo commented 1 year ago

Fixed: https://github.com/roleoroleo/yi-hack-Allwinner/commit/8b3ac406ef4fb246b8d787f92bc24a0d063d377d