FiveLeavesLeft / WyzeCameraLiveStream

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

Alternative install #24

Open nadigo opened 3 years ago

nadigo commented 3 years ago

WYZE blocked wyze_hack scripts (read about it here) and made getting the wyze_hack fw much difficult (you need DNS spoofing). I was able to get the wyze_hack fw on my V3 camera and I can telnet to the camera. Can I manually install using the new install script? on my camera running system_read_only=$(grep -w /system /proc/mounts | grep -w -c to)
gets system_read_only= 1 so I need only to wrap /configs/wyze_hack.sh and get the new libimp.so

Is that correct?

FiveLeavesLeft commented 3 years ago

@nadigo Thanks for that link. Interesting. It's been awhile but you might try one of these: $ ls -l /.so -rwxr-xr-x. 1 crb user 28704 Apr 19 17:36 current/libimp.so -rwxr-xr-x. 1 crb user 29876 Jun 16 18:29 dev/libimp.so

These are at http://www.sonic.net/~crb/{current,dev}/libimp.so

krhainos commented 3 years ago

I was able to install successfully on a downgraded 4.36.0.228 Wyze Cam V3 by altering the url and spoofing the DNS entry as described in this post https://github.com/HclX/WyzeHacks/issues/132#issuecomment-890560497

I'm able to view the stream in VLC as mentioned on the readme. Have not tried the rest of the WyzeHacks like NFS yet.

My unit initially shipped with 4.36.0.280.

nadigo commented 3 years ago

How do you downgrade? I have V3 with 4.36.2.5

krhainos commented 3 years ago

How do you downgrade? I have V3 with 4.36.2.5

You'll need a MicroSD card and the instructions here https://support.wyze.com/hc/en-us/articles/360031490871-How-to-flash-your-Wyze-Cam-firmware-manually

From that page, there's a link to all past firmwares, so I grabbed 4.36.0.228 (demo_wcv3_4.36.0.228.bin.zip)

In case the instructions disappear, here's a copy of it:

  1. Wyze Cam v3 files can be found on the Release Notes page.
  2. Download a specific version of firmware, For Windows 10: Right-click on the folder and select extract all. For Mac: Just drag and drop the folder, put it on the root directory of your microSD card. For both Mac and Windows, rename the file to demo_wcv3.bin.
  3. Power off your camera and insert your microSD card.
  4. Hold the setup button, plug in your USB cable, keep holding the setup button for 3-6 seconds until the light is solid purple, then release the button. (Note: For "Solid Purple" both the blue and red LEDs will be on at once, making it appear to be a solid purple.)
  5. Wait for 3-4 minutes. The camera will reboot and change light status during this time.
  6. Once this is done, your camera should be functioning with the original setup. No need to re-setup your camera!
Vendo232 commented 3 years ago

I was able to install Wyzehack using the DNS spoofing then I was able to login via Telnet using root/WYom2020 credentials Than I was apparantly able to install the Stream Hack via Telnet Command

cd /configs wget crb.users.sonic.net/current/install.sh chmod +x install.sh ./install.sh

All Works!!! but remember on Windows to open "RUN" program and enter "vlc http://192.168.1.174:12345 --demux h264" to check your stream!!! Stream does not work directly in VLC!!!

I need the http stream for Frigate , it works flawlessly

image image

nadigo commented 3 years ago

How do you install the Stream Hack? I have telnet access bu couldn't get stream to work for me

On Sat, Sep 4, 2021 at 3:49 PM Vendo232 @.***> wrote:

I was able to install Wyzehack using the DNS spoofing then I was able to login via Telnet using root/WYom2020 credentials Than I was apparantly able to install the Stream Hack via Telnet Command but it is not working for me in VLC

[image: image] https://user-images.githubusercontent.com/44098230/132106350-9c8b2bf5-e0df-4b01-b5ba-2b6b09b1622f.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FiveLeavesLeft/WyzeCameraLiveStream/issues/24#issuecomment-913030553, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOQZBI2F6CYCYWKYPMXPTLUAJZ3JANCNFSM5A53MFTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Vendo232 commented 3 years ago

How do you install the Stream Hack? I have telnet access bu couldn't get stream to work for me On Sat, Sep 4, 2021 at 3:49 PM Vendo232 @.***> wrote: I was able to install Wyzehack using the DNS spoofing then I was able to login via Telnet using root/WYom2020 credentials Than I was apparantly able to install the Stream Hack via Telnet Command but it is not working for me in VLC [image: image] https://user-images.githubusercontent.com/44098230/132106350-9c8b2bf5-e0df-4b01-b5ba-2b6b09b1622f.png — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#24 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOQZBI2F6CYCYWKYPMXPTLUAJZ3JANCNFSM5A53MFTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

once you telnet in cd /configs wget crb.users.sonic.net/current/install.sh chmod +x install.sh ./install.sh

remember on Windows to open "RUN" program and enter "vlc http://192.168.1.174:12345 --demux h264" to check your stream!!! The stream does not work in VLC directly!!!

image

virmaior commented 2 years ago

Is this compatible with wyezhacked 4.36.2.5 or does it require wyzehacked 4.36.0.228 ?