roleoroleo / yi-hack-Allwinner

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

No sound detection - 9FUS - 0.3.1 #371

Closed Wall-8 closed 1 month ago

Wall-8 commented 1 year ago

9FUS model, y25qa, after upgrade from 0.2.9 to 0.3.1 Sound detection doesn't work anymore

roleoroleo commented 1 year ago

I need time to check this problem.

Rushmed commented 1 year ago

Also having this issue.

roleoroleo commented 1 year ago

Only sound? Does motion detection work?

roleoroleo commented 1 year ago

Please, try this library. ipc_multiplex.so.gz Uncompress it to /home/yi-hack/lib and reboot the cam.

Rushmed commented 1 year ago

Yes, only Sund detection is not working. ipc_multiplex.so.gz does not seem to work.

roleoroleo commented 1 year ago

I tested it again and, with the new ipc_multiplex.so, it works for me.

Wall-8 commented 1 year ago

Thanks for the new library! It is only sound detection indeed, motion detection still works. I replaced the ipc_multiplex but the problem still persists

Rushmed commented 1 year ago

Just to be sure /home/yi-hack/lib has to look like: image and sound detection still has its own topic, right?

Edit: Switched rights of ipc_multiplex.so to 777, now it works. Is that as intended? Thanks.

Wall-8 commented 1 year ago

Hmm I cant seem to turn sound detection on in camera settings. If I save and refresh it is off again.

roleoroleo commented 1 year ago

Edit: Switched rights of ipc_multiplex.so to 777, now it works. Is that as intended? Thanks.

It depends on how it was before. But 755 is enough.

Hmm I cant seem to turn sound detection on in camera settings. If I save and refresh it is off again.

Try to refresh the cache of the browser.

jcPOLO commented 1 year ago

it works... but detections are not happening always like motion detection does. Sometimes, you do a noise and cam does not send any mqtt packet.

Baby crying never works.

wireshark filter: (ip.src == 192.168.1.35) && (mqtt) ha ip with mosquito broker: 192.168.1.41 yi camera ip: 192.168.1.35 GitHub project yi-hack-Allwinner-v2 Hostname Yi35 Firmware Version 0.2.3 Base Version 9.0.19.02_202007141512 Model Suffix y21ga image

After rebooting the camera, first sound detected always works. Next ones seems like it is a random thing.

Any idea why this could be happening?

roleoroleo commented 1 year ago

My cam also behaves like this. I think it's a problem of the yi software because the original app also does not receive notifications.

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.