Disable alarm sound
Describe the bug After Update to 0.4.0, all my cams Are playing an alarm Sound. I cant find anything to disable this behaviour.
Expected behaviour Disable sound
Set Up Details (please complete the following information):
- Firmware Version: 0.4.0 and also 0.4.1.a
- Device: yi_outdoor
- Model: 4CUS
@danielhainich what is different :)
Also, try 0.4.1a instead
it seems that the alarm sound will be triggered by motion detection. alarm is only triggered when someone is in range of cameraview.
I have this behavior too, but only if "record to cloud" is disabled. Would be great to be able to disable this sound on motion detection if cloud is disabled. I'm in 0.4.1a
This issue has been stale for 30 days - it will be closed within the next 7 days if not updated
bug isnt resolved yet
checked in 0.4.1b, I confirmed it's still present. Tested on Yi Outdoor
I don’t have the issue on yi home 720p might be related to yi outdoor only
how can I read logs on the camera when motion is detected to check why alarm sound is on ?
@Minims you would need to run services like ipc_cmd from the console
https://github.com/alienatedsec/yi-hack-v5/blob/38c0cf6b28b7101e19a0f5677f7b297f1d40d0b4/src/ipc_cmd/ipc_cmd/ipc_cmd.h#L36
I just need to launch this command to get logs or check if I get the ALARM Sound ?
ipc_cmd IPC_MOTION_START
This issue has been stale for 30 days - it will be closed within the next 7 days if not updated
Issue still present
It seems that this command make a difference:
ipc_cmd -o on
It was on or off i don’t remember, i have tested both. But on restart it still working for now and motion detection is working without sound and cloud.
@danielhainich can you give it a try ?
Hum it does not work. The sound alarm only appears after a motion start only if there were no motion for many minutes.
Upgraded to 0.4.1e and i still the issue when I Disable Cloud
Hum seems related to this function in app « Camera Alarm »
It was ON, i set to OFF, disabled Cloud, reboot. Seems better, will check tomorrow.
Hum seems related to this function in app « Camera Alarm »
It was ON, i set to OFF, disabled Cloud, reboot. Seems better, will check tomorrow.
I confirm, it works also for me, many thanks!!
This issue has been stale for 30 days - it will be closed within the next 7 days if not updated
I'll just make a comment, partially to keep the issue alive and partially to trigger it for alienatedsec to close.
Is Yi-Hack-v5 intended to fully replace the use of Yi Cloud? If so, then this should be on the to-do list. If it's just supplemental, then probably close the issue.
My preference, whatever good a non-dev's preference is, would be to replace Yi Cloud. I currently have the camera, even running this firmware, on my IOT network where the devices are fully firewalled from my main network but also the internet. It's actually a royal pain to punch the hole through the firewall to let the camera out long enough to flip the switch, not to mention the fact that I don't have a yi account anymore. I assume I'll have to reset the whole thing to add it to a new account, and I commented on the discord that my cameras aren't in the most accessible positions to begin with.
Either way, the issue can be closed if it's out of scope.
This issue has been stale for 30 days - it will be closed within the next 7 days if not updated
I was able to stop beeping by removing the acodec kernel module
diff -au system.sh.orig system.sh
--- system.sh.orig 2024-06-16 16:45:55.246021590 +0200 +++ system.sh 2024-06-16 16:47:02.250021241 +0200 @@ -471,3 +471,7 @@ $YI_HACK_PREFIX/script/check_update.sh
crond -c $YI_HACK_PREFIX/etc/crontabs + +# Disable audio out. Stop beeping +rmmod acodec +
Ran into the same issue. I got this cam today and started tinkering. First I configured the bare minimum in the cloud app, for better safe than sorry formatted the SD inside the camera via app, too and then flashed the release firmware. Btw for me the BEEP was there before any mod was flashed already. I hoped that I can disable that after modding and went on. Then I went to the prerelease as I did not find any way for disabling it. Btw... The j prerelease does not seem to reenable the cloud anymore, but even if it would, this one is a nasty one that should be added to WebUI IMO. I now disabled the same kernel module @johol did to skip a full reset just to make it stfu.
Now something positive next to not sound like a egoist. This mod compared to the Allwinner2 variant did not have any stuck motion detection sensor problems yet. It just works perfectly! The video is already smiling at me from Home Assistant :D
EDIT: Fixed my stupidity to switch to a prerelease that is older than the recent release. And I fixed the audio problem by renaming /home/app/audio_file/alarm_ring.aac to /home/app/audio_file/alarm_ring.aac.off I used FTP for this and now all kernel modules are back to default and still the cam is silent.
@alienatedsec if there is no good way to disable the alarm by mod WebUI, maybe the aac file renaming I did above would be a useful workaround?
