sonoff-hack icon indicating copy to clipboard operation
sonoff-hack copied to clipboard

Can't disable local record

Open sonped opened this issue 11 months ago • 6 comments

I can't disable local recording in version 0.17. I see similar behaviour in Home Assistant when I try to change the setting through the MQTT device.

image

https://github.com/user-attachments/assets/d5cc8df1-d057-47f2-8938-2c50e546a54a

I haven't been able to find a log file that seems relevant for this issue.

sonped avatar Jan 03 '25 20:01 sonped

Hello @sonped !

I opened an issue for LocalRecord but just the other way round #193. I was not able to disable it. Background:

  • The gui is populated from a value read from the database
  • on your firmware the ipc command that will alter the database value will probably fail due to a missing binary AVRecSch
  • in consequence, no matter what you click, you can't disable local record

Does your camera do local recordings?

Maybe you can provide some information on the directory listing also in issue #193 thx!

flreinhard avatar Mar 09 '25 08:03 flreinhard

@flreinhard Yes camera does local recording which I don't need.

Not sure which directory you what me to provide here, so here is what I can see might be off interest based on #193

[root@sonoff-fee8]# netstat -anp | grep 19000
netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory

[root@sonoff-fee8]# ls -la /mnt/mtd/ipc/app/
drwxrwxrwx   11 root     root           389 Mar 20  2023 .
drwxr-xr-x    3 root     root            51 Jul 29  2021 ..
-rwxr-x---    1 root     root        613668 Mar 20  2023 AlarmServer
-rwxr-x---    1 root     root        228076 Mar 20  2023 IOTCare
-rwxrwx---    1 root     999           5864 Mar 20  2023 ProcessGuard
-rwxr-x---    1 root     root        636168 Mar 20  2023 avencode
-rwxr-x---    1 root     root          7328 Mar 20  2023 captive_server
drwxrwxrwx    3 root     root           259 Mar 20  2023 cfg
-rwxrwx---    1 root     999          26376 Mar 20  2023 checkMid
-rw-r--r--    1 root     root             0 Jan  1  1970 colink
-rwxrwx---    1 root     999           2875 Aug  1  2022 colink.sh
-rwxrwx---    1 root     999           1630 Aug  1  2022 colink_register.sh
-rwxrwx---    1 root     999            530 Aug  1  2022 colinkwtg.sh
drwxrwxrwx    2 root     root            58 Mar 20  2023 dbback
-rwxrwx---    1 root     999         156508 Mar 20  2023 devctrl
drwxrwxrwx    2 root     root           271 Dec 11  2020 drive
-rwxr-x---    1 root     root        133760 Mar 20  2023 factorytest
drwxrwxrwx    2 root     root            93 Dec 11  2020 font
drwxrwxrwx    2 root     root            38 Dec 15  2020 lib
drwxr-xr-x    3 root     root            27 Aug 27  2021 reserved
-rwxr-x---    1 root     root        137576 Mar 20  2023 rtspd
-rwxr-x---    1 root     root       2032260 Mar 20  2023 s3Cloud
drwxrwxrwx    2 root     root           306 Mar  2  2022 script
drwxr-xr-x    2 root     root           125 Dec 11  2020 sd
drwxr-xr-x    4 root     root            96 Feb 26  2022 snd
-rw-r--r--    1 root     root            29 Mar 20  2023 version

sonped avatar Mar 09 '25 18:03 sonped

could you please add your camera model and firmware version? cat /mnt/mtd/ipc/app/version

flreinhard avatar Mar 09 '25 20:03 flreinhard

I can tomorrow, but it's already in the first post.

sonped avatar Mar 09 '25 20:03 sonped

[root@sonoff-fee8]# cat /mnt/mtd/ipc/app/version V5520.2053.0505build20230320

sonped avatar Mar 11 '25 08:03 sonped

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.

github-actions[bot] avatar Jun 10 '25 03:06 github-actions[bot]

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.

github-actions[bot] avatar Oct 20 '25 02:10 github-actions[bot]