yi-hack-Allwinner
yi-hack-Allwinner copied to clipboard
Cam stops working after ??hours, after reboot all fine
Hi, Cam should run 24/7, have script to get image (every 20min) and send it out. Have 2 cams, both repeatedly stop responding. At different times(10 and more hours), I think. Have to power off, after boot up all is OK.
yi-hack-Allwinner 0.2.6 y25ga_0.2.6.tgz [email protected]
Any idea how to fix it?
- cam 8:32h
- cam 5:10h other cams yi, edimax, hik work fine.
Is the swap file enabled? The cam runs with little free memory and the snapshot is very expensive.
no just switched on, will let you know. thanks for a prompt reply
cams are working, I believe you solved it. thanks
I'm having the same issue with version 0.2.6. Right after rebooting the camera records movement correctly, I can see a couple of videos it recorded. Then it stops recording even when there's movement. Swap is enabled. Camera conf:
SWITCH_ON=yes
SAVE_VIDEO_ON_MOTION=yes
SENSITIVITY=medium
AI_HUMAN_DETECTION=no
SOUND_DETECTION=no
SOUND_SENSITIVITY=80
LED=no
ROTATE=no
IR=yes
system.conf:
HTTPD=yes
TELNETD=no
SSHD=yes
FTPD=no
BUSYBOX_FTPD=no
DISABLE_CLOUD=yes
REC_WITHOUT_CLOUD=yes
MQTT=no
RTSP=yes
RTSP_STREAM=high
RTSP_AUDIO=
SPEAKER_AUDIO=yes
ONVIF=no
ONVIF_WSDD=no
ONVIF_PROFILE=high
ONVIF_WM_SNAPSHOT=no
NTPD=yes
NTP_SERVER=pool.ntp.org
PROXYCHAINSNG=no
SWAP_FILE=yes
RTSP_PORT=554
ONVIF_PORT=80
HTTPD_PORT=8080
USERNAME=MYUSER
PASSWORD=MYPASS
TIMEZONE=CET-1CEST,M3.5.0,M10.5.0/3
FREE_SPACE=20
FTP_UPLOAD=no
FTP_HOST=
FTP_DIR=
FTP_DIR_TREE=no
FTP_USERNAME=
FTP_PASSWORD=
FTP_FILE_DELETE_AFTER_UPLOAD=yes
SSH_PASSWORD=
CRONTAB=
Around here the same, after a while the camera stops working, firmware 0.27 - BFUS
What features stop working?
Stop being online, both for local and for app yi, restart returns to online. In the Yi home app it indicates that I have a pending update firmware but it does not take place.
Maybe a memory leak. Are you able to connect with ssh when the cam stops working? If yes, please check the memory and cpu usage. Run top, df and free commands.
ok right now it is online, as soon as I lose connection I try.
I have lost the connection again, it does not ping the ip, the yi app does not respond or ip: 8080.
Is swap enabled?
yes,
I can also confirm this. I could observe when ipc_cmd is run twice at the same time it occurs more.
The camera is then no longer reachable via the network.
I don't know how to find the problem...
Methode 1:
- open the ptz page.
- make movements in front of the camera.
- send in the same time with ssh multiple ipc_cmd commands (e.g. record and stop).
Methode 2:
- disable the wifi from your router and enable it again.
- wait 30 seconds.
- repeat these steps several times.
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.