roleoroleo / yi-hack-Allwinner

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

Can't save modifications in camera settings tab #390

Closed Berto93 closed 1 month ago

Berto93 commented 1 year ago

My setup:

After update to version 0.3.3 I can't save any modifications in the camera settings tab. Do you have any tips?

Thanks in advance.

roleoroleo commented 1 year ago

Please, clear the cache of the browser.

Berto93 commented 1 year ago

@roleoroleo Thanks for your reply, i tried, also with a different browser but didn't work, the camera is ON but the switch is OFF.

When i try to get camera informations using web service "http://ip:8080/cgi-bin/get_configs.sh?conf=camera" returns camera ="OFF" but the camera is ON.

I also tried to use "http://ip:8080/cgi-bin/camera_settings.sh?switch_on=yes" but gives me the following output:

{ "error":"false" }

roleoroleo commented 1 year ago

Error false means ok, so the command completed successfully. Does the problem refers only to switch_on or to all the settings? If it's only switch_on there is a fixed bug: https://github.com/roleoroleo/yi-hack-Allwinner/issues/391#issuecomment-1443963887

snakuzzo commented 1 year ago

I tried webGUI and web services... and every settings in camera settings are not saved and showed correctly. It's not just a view problem. I have "SWITCH_ON":"no" and I can't change to "SWITCH_ON":"yes" after upgrade to latest release. Trying to view RTSP stream it's impossible to open the stream.

EDIT: Just another info (I don't know if this can help)...

I have two YI 1080. This problem occures just on one of them. On the cam with this problem, looking at main web page I see this...

image

Model suffix is not present. On the other yes

image

Berto93 commented 1 year ago

@roleoroleo it’s exactly the same issue of @snakuzzo

https://github.com/roleoroleo/yi-hack-Allwinner/issues/390#issuecomment-1444439707

roleoroleo commented 1 year ago

@snakuzzo Probably the hack is not correctly installed. If you want to fix it, the best way is to restart from scratch: apply the unbrick procedure and reinstall the hack. If you prefer the soft approach, open a ftp connection with the cam, and compare the yi-hack folder with the released version. And try to fix missing files.

snakuzzo commented 1 year ago

Solved.

EDIT: before this restore procedure, I checked files on broken cam and some folders and files was not present

Berto93 commented 1 year ago

for me still not wortking, tried to remove hack and reinstall on my y30qa but gives me "error while saving" and every time that I try to change any setting camera reboots

roleoroleo commented 1 year ago

Try to run the command with a terminal. Open a ssh session and run:

cd /home/yi-hack/www/cgi-bin/
QUERY_STRING="save_video_on_motion=yes&motion_detection=yes&sensitivity=low&ai_human_detection=no&ai_vehicle_detection=no&ai_animal_detection=no&sound_detection=yes&sound_sensitivity=50&led=no&ir=yes&rotate=no&cruise=no&switch_on=yes" ./camera_settings.sh

and check the output.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.