Closed tbarmann closed 4 months ago
If the cam saves record in /tmp/sd/record, probably the events are detected. Otherwise the folder should be empty.
But it will not detect motion and record on its own.
Do you mean that the you don't receive notifications? Plase try to remove the sd card and test the cam without the hack.
Do you mean that the you don't receive notifications?
No. It will not record. Nothing in the /tmp/sd/record
directory except the two mp4 videos I recorded manually from the app.
Is there some way to write a debugging function that would "listen" for motion events?
You can run a sniff program and check the output. ipc_sniff.gz
/tmp/sd/bin/ipc_sniff ipc_dispatch_4
These are the codes for motion start and motion stop:
#define IPC_MOTION_START "\x01\x00\x00\x00\x02\x00\x00\x00\x7c\x00\x7c\x00\x00\x00\x00\x00"
#define IPC_MOTION_STOP "\x01\x00\x00\x00\x02\x00\x00\x00\x7d\x00\x7d\x00\x00\x00\x00\x00"
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.
I have a Yi Home 2K Pro and have loaded the latest firmware, yi-hack-Allwinner-v2 0.3.1 ZFUS, y623.
Web server, ssh seem to be working fine. But it will not detect and/or record motion events. I can manually make recordings from the app, and those appear as one-minute mp4 files in the
/tmp/sd/record
directory. But it will not detect motion and record on its own.In addition, the sound detection does seem to work, and the app is making short video recordings. However, those are not present in the
/tmp/sd/record
directory. (I don't actually need sound detection, but am adding the issue here in case it helps diagnose the issue with video recording.)output of http://192.168.1.26/cgi-bin/get_configs.sh?conf=system