FiveLeavesLeft / WyzeCameraLiveStream

Hack to allow live streaming from wyze cameras to vlc or mpv on your desktop.
MIT License
100 stars 7 forks source link

Wyze not detecting motion when hack is enabled #2

Closed mrlt8 closed 3 years ago

mrlt8 commented 3 years ago

Camera firmware: 4.9.6.241 No Wyze Cam Plus subscription.

Direct stream from camera and live view on the Wyze app work great, but motion tagging (green box around motion) is not working and motion events are not getting uploaded to the Wyze cloud when the hack is enabled.

Disabling the hack by commenting out the LD_LIBRARY_PATH in /system/init/app_init.sh restores the motion tagging and Wyze cloud events.

FiveLeavesLeft commented 3 years ago

Just an update: I can recreate this issue and when I run a minimal program with just the dynamic loading at the start and none of the server or video stuff the problem still exists so it has something to do with with the loader. I did q quick test using LD_PRELOAD but that hung the device. My guess is the loader is not able to load a routine the firmware needs. The log messages from the app are pretty verbal about it which is nice.( Messages saying a function is failing -1, not a message from the ladder saying it couldn’t find a function ) I’m going to busy with other things for a couple of days. On this version of the firmware you can see log messages with “readlog”. The messages are in /tmp/.log .

On Apr 19, 2021, at 7:05 PM, mrlt8 @.***> wrote:

Camera firmware: 4.9.6.241 No Wyze Cam Plus subscription.

Direct stream from camera and live view on the Wyze app work great, but motion tagging (green box around motion) is not working and motion events are not getting uploaded to the Wyze cloud when the hack is enabled.

Disabling the hack by commenting out the LD_LIBRARY_PATH in /system/init/app_init.sh restores the motion tagging and Wyze cloud events.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FiveLeavesLeft/WyzeCameraLiveStream/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVGDMUGYVWN7HL5YM4X64TTJTOPJANCNFSM43HFFCLQ.

mrlt8 commented 3 years ago

Thanks for the update!

Is there an older Wyze firmware version that is compatible with the stream hack?

FiveLeavesLeft commented 3 years ago

4.9.6.199 is the most recent that works uploading events.

On Apr 22, 2021, at 6:17 AM, mrlt8 @.***> wrote:

Thanks for the update!

Is there an older Wyze firmware version that is compatible with the stream hack?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FiveLeavesLeft/WyzeCameraLiveStream/issues/2#issuecomment-824832922, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVGDMT72N65RZYPFHL4XRTTKAOVVANCNFSM43HFFCLQ.

FiveLeavesLeft commented 3 years ago

In the latest release, the stream hack is integrated into WyzeHacks and I believe the events are being reported in the later V2 firmware now. See the README file.

mrlt8 commented 3 years ago

In the latest release, the stream hack is integrated into WyzeHacks and I believe the events are being reported in the later V2 firmware now. See the README file.

Yes, can confirm notifications and motion tagging are working with the latest firmware! Thanks Charlie!