HclX / WyzeHacks

Hacks I discovered allowing Wyze camera owners to do customizations
MIT License
789 stars 75 forks source link

Request for USB Ethernet driver? #62

Open ryny24 opened 3 years ago

ryny24 commented 3 years ago

I just found this WyzeHacks and I can't wait to try it.

Would it be possible to add ethernet (USB) support to the WyzeCam? For locations that don't have Wifi. Just a thought!

Keep up the good work!

MelonSmasher commented 3 years ago

@HclX I made it with this script I made: MelonSmasher/WyzeFirmwareTool. I uploaded it here so the other folks working on this could give it a try, I guess I should make a repo to host the firmware images outside of this thread. I'll do that and we can edit the comments so we can edit the links to point to my repo. Sound good? Sorry for the confusion.

MelonSmasher commented 3 years ago

@HclX while your here, the firmware has the following changes:

Any ideas why NFS from HclX/WyzeHacks does not work with a firmware with those changes? I can explain the changes in better detail if I didn't explain them clearly.

HclX commented 3 years ago

It's ok. You can start a repo to host the file, or just leave it here. If you do the later, I'd suggest you create a readme file explaining how it works and make sure users know the risks and zip it together with the binary file and then upload to this thread. It will also help others on how to use it.

As for wyzehacks, I don't see anything related to WiFi so it should work. What's the symptoms when you say it's not working?

On Wed, Mar 3, 2021, 15:46 MelonSmasher notifications@github.com wrote:

@HclX https://github.com/HclX while your here, the firmware has the following changes:

Any ideas why NFS from HclX/WyzeHacks does not work with a firmware with those changed? I can explain the changes in better detail if I didn't explain them clearly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-790157262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWD6NLAWQJIPZHA5SH7DTB3C33ANCNFSM4UXTSUHQ .

MelonSmasher commented 3 years ago

I'm working on adding pre-built firmware to my repo where I'll explain the risks (that I've become too familiar with) of flashing custom firmware.

NFS does not mount. The mnt directory and media directories are empty. I'd offer to give you more info than that, but I managed to brick my camera when doing some stuff I shouldn't have. My new camera should be here tomorrow.

It'd be great if I could get the custom firmware working with your Hacks. I just ordered eight cameras for my house and I really need POE USB ethernet and NFS lol!

HclX commented 3 years ago

I see that you modified app_init.sh so I'd start debugging from there: wyzehacks load itself before app_init.sh, and runs a certain things then load app_init.sh. it is possible something before running app_init.sh is waiting for network connection which won't happen until app_init.sh is launched.

On Wed, Mar 3, 2021, 16:07 MelonSmasher notifications@github.com wrote:

I'm working on adding pre-built firmware to my repo where I'll explain the risks (that I've become too familiar with) of flashing custom firmware.

NFS does not mount. The mnt directory and media directories are empty. I'd offer to give you more info than that, but I managed to brick my camera when doing so stuff I shouldn't have. My new camera should be here tomorrow.

It'd be great if we could get the custom firmware working with your Hacks. I just ordered eight cameras for my house and I really need POE USB ethernet and NFS lol!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-790175098, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWDZ6UDNGO7DNVQCQ7RLTB3FNTANCNFSM4UXTSUHQ .

MelonSmasher commented 3 years ago

@HclX I've replaced the firmware links, not sure if you want to remove the link from your comment? It's probably best that you do since telnet with the default password is enabled in that link. I've generated firmwares for each Wyze release here: https://github.com/MelonSmasher/WyzeFirmwareTool/releases telnet is is disabled on all of them, HclX/WyzeHacks can be used to enable telnet safely with a unique password.

HclX commented 3 years ago

@MelonSmasher thanks for taking care of that. I have deleted my comment containing the link so we should be good now.

MelonSmasher commented 3 years ago

Would you mind pointing me to the entry point where where wyzehacks loads? I'm not familiar with how it gets up and running. I'm wondering if It's as simple as just ensuring that ethernet loads up before wyzehacks.

HclX commented 3 years ago

Sure, it's loaded in the following sequence (assuming you are working on v2 cam): /etc/init/rcS /system/app_init.sh ==> symlinked to /configs/wyze_hack.sh wyze_hack.sh extract itself into /tmp/wyzehack/run (forgot exact path, but something like that) /tmp/wyzehack/run/main.sh main.sh will check the md5 hash of /system/app_init_old.sh ==> this is the original app_init.sh depending on the md5 hash, if there is a directory /run/wyzehack/run/init/: it loads /run/wyzehack/run/init//init.sh init.sh calls /run/wyzehack/run/init//app_init_mod.sh otherwise it loads /run/wyzehack/run/init/unknown/init.sh init.sh calls /configs/app_init_old.sh with some environment variables.

the md5 hash thing is because later wyze build added some nasty things in app_init.sh so we can't hook things non-invasively so we have to create a copy of app_init.sh and manually modify it, and the modification has to match the app_init.sh.

So if your app_init.sh is not in the known list, we try our best by simply calling the original app_init.sh but NFS will not work.

MelonSmasher commented 3 years ago

Ok, I'm going to avoid app_init.sh all together and enter from /etc/init/rcS. When my camera arrives tomorrow, I'll mess around with that change and see if it makes a difference. I'm thinking that should alleviate any incompatibility. Thanks for your help!

MelonSmasher commented 3 years ago

So I got my new camera and I bricked that. I suck lol. Also another issue is I can't get the Wyze app to work with ethernet if /etc/init/rcS is my entry point it only works when app_init.sh is the entry point.

This is what happened right before it bricked. I guess I shouldn't have run that.

[root@WyzeCam-21C7:~]# sh /tmp/wyze_hack/run/main.sh
[root@WyzeCam-21C7:~]# new init upgrading!!!!!!!!!!!!
sh /configs/merge_upgrade.sh ...
Connection closed by foreign host.
MelonSmasher commented 3 years ago

I'm attempting to work the NFS hack into the firmware directly. Luckily I bought 8 cameras, so I can keep going despite the two that are bricked. I have the NFS share mounted at /mnt and /meda/mmcblk0p1 but when the script runs /bin/hackutils mmc_insert and error sendto failed: Connection refused is kicked back and the camera does not show that an SD card is inserted. I also threw /bin/hackutils init at the start of /etc/init.d/rcS right after the libraries load. Not sure what I'm doing wrong?

HclX commented 3 years ago

That sendto message seems to be fine. you need to get libhacks.so into the preloaded libraries for icamera process.

On Thu, Mar 4, 2021, 21:13 MelonSmasher notifications@github.com wrote:

I'm attempting to work the NFS hack into the firmware directly. I have the NFS share mounted at /mnt and /meda/mmcblk0p1 but when the script runs /bin/hackutils mmc_insert and error sendto failed: Connection refused is kicked back and the camera does not show that an SD card is inserted. I also threw /bin/hackutils init at the start of /etc/init.d/rcS right after the libraries load. Not sure what I'm doing wrong?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-791159408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWD4XT2C3WT25GFGMIMLTCBR6PANCNFSM4UXTSUHQ .

MelonSmasher commented 3 years ago

Since I've bricked a few cameras trying to combine the firmware with this mod I'm going to work on implementing the NFS functionality in the firmware. Feel free to take a look at how I have ethernet working and how I have wifi disabled so it can be worked into WyzeHacks. I'd try to implement those features into WyzeHacks myself, but I'm not sure where to even begin. I would have liked to continue to try to get the two working together but I can't afford to brick more cameras, my wife is going to kill me lol. It'd be great to have all the features in WyzeHacks of possible, because I'm sure that my NFS implementation will not be as nice, but for now I need all of the features so I'll have to hack around in my firmware. Thanks for all of the help! If you have any questions regarding the USB ethernet implementation and the wifi hack let me know.

HclX commented 3 years ago

I don't understand how you can brick cameras with this: you should be always able to recover your device using the sd card recovery method. Everything other than files under /configs should be reverted to a determistic state. This method is done by bootloader so it's pretty much unbrickable.

On Fri, Mar 5, 2021, 11:51 MelonSmasher notifications@github.com wrote:

Since I've bricked a few cameras trying to combine the firmware with this mod I'm going to work on implementing the NFS functionality in the firmware. Feel free to take a look at how https://github.com/MelonSmasher/WyzeFirmwareTool I have ethernet working and how I have wifi disabled so it can be worked into WyzeHacks. I'd try to implement those features into WyzeHacks myself, but I'm not sure where to even begin. I would have liked to continue to try to get the two working together but I can't afford to brick more cameras, my wife is going to kill me lol. It'd be great to have all the features in WyzeHacks of possible, because I'm sure that my NFS implementation will not be as nice, but for now I need all of the features so I'll have to hack around in my firmware. Thanks for all of the help! If you have any questions regarding the USB ethernet implementation and the wifi hack let me know.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-791643748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWD4AHBOKTBC32A7KCLTTCEY2LANCNFSM4UXTSUHQ .

MelonSmasher commented 3 years ago

IDK, here's what happens why I try to flash the stock firmware and do a system reset:

https://drive.google.com/file/d/1jwRgm2DvLhcR0gJMDKvbisYT5noUgfp5/view?usp=sharing

To be clear I'm not blaming anyone but myself.

gtxaspec commented 3 years ago

after you do that, does tapping the setup button make anything blink or any sounds come from speaker?

On Fri, Mar 5, 2021, 12:12 MelonSmasher notifications@github.com wrote:

IDK, here's what happens why I try to flash the stock firmware and do a system reset:

https://drive.google.com/file/d/1jwRgm2DvLhcR0gJMDKvbisYT5noUgfp5/view?usp=sharing

To be clear I'm not blaming anyone but myself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-791655239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4N2SGFSZZS5QAQ6CQPVXTTCE3MLANCNFSM4UXTSUHQ .

HclX commented 3 years ago

Hmm, I suggest you open one of your camera and have serial port soldered so you can see what's going on. It's been essential for any work messing around the firmware. I have one of every model of wyze cameras with serial wire soldered for testing purpose. So far I haven't seen a single one not recoverable.

On Fri, Mar 5, 2021, 12:12 MelonSmasher notifications@github.com wrote:

IDK, here's what happens why I try to flash the stock firmware and do a system reset:

https://drive.google.com/file/d/1jwRgm2DvLhcR0gJMDKvbisYT5noUgfp5/view?usp=sharing

To be clear I'm not blaming anyone but myself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-791655239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWDYSUMYAOVEK7445KKDTCE3MLANCNFSM4UXTSUHQ .

MelonSmasher commented 3 years ago

after you do that, does tapping the setup button make anything blink or any sounds come from speaker? On Fri, Mar 5, 2021, 12:12 MelonSmasher @.***> wrote: IDK, here's what happens why I try to flash the stock firmware and do a system reset: https://drive.google.com/file/d/1jwRgm2DvLhcR0gJMDKvbisYT5noUgfp5/view?usp=sharing To be clear I'm not blaming anyone but myself. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4N2SGFSZZS5QAQ6CQPVXTTCE3MLANCNFSM4UXTSUHQ .

It always clicks once, but then nothing after that. No speaker pop, no other clicks and the light does not change from solid orange.

Hmm, I suggest you open one of your camera and have serial port soldered so you can see what's going on. It's been essential for any work messing around the firmware. I have one of every model of wyze cameras with serial wire soldered for testing purpose. So far I haven't seen a single one not recoverable. On Fri, Mar 5, 2021, 12:12 MelonSmasher @.***> wrote: IDK, here's what happens why I try to flash the stock firmware and do a system reset: https://drive.google.com/file/d/1jwRgm2DvLhcR0gJMDKvbisYT5noUgfp5/view?usp=sharing To be clear I'm not blaming anyone but myself. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWDYSUMYAOVEK7445KKDTCE3MLANCNFSM4UXTSUHQ .

I'm considering it, need to buy a soldering iron, it's going to be a mess lmao

musseilm commented 3 years ago

Has anyone got this to work? USB ethernet? Disable the wifi. Thanks

ryny24 commented 3 years ago

@musseilm I've been able to get the camera online using ethernet only after it boots and then disabling Wifi, but I am unable to get it online where there is no Wifi.

satmandu commented 3 years ago

@gtxaspec Any chance of getting the usbnet and six modules built for the wyzecamv3? The modules earlier in this thread give me this:

[root@WyzeCam-0879:tmp]# insmod usbnet.ko 
insmod: can't insert 'usbnet.ko': invalid module format
[root@WyzeCam-0879:tmp]# insmod asix.ko 
insmod: can't insert 'asix.ko': invalid module format
[root@WyzeCam-0879:tmp]# cat /proc/version 
Linux version 3.10.14__isvp_swan_1.0__ (chenx@chenx-Latitude-3490) (gcc version 4.7.2 (Ingenic r2.3.3 2016.12) ) #16 PREEMPT Wed Dec 23 18:40:28 CST 2020

Also from dmesg:

[80498.853544] usbnet: version magic '3.10.14 preempt mod_unload MIPS32_R1 32BIT ' should be '3.10.14__isvp_swan_1.0__ preempt mod_unload MIPS32_R1 32BIT '
[80613.287155] asix: version magic '3.10.14 preempt mod_unload MIPS32_R1 32BIT ' should be '3.10.14__isvp_swan_1.0__ preempt mod_unload MIPS32_R1 32BIT '
ryny24 commented 3 years ago

@satmandu

Actually, the V3 works already with USB ethernet modules. @gtxaspec posted this on Feb 6 in this thread, and I confirmed it works.

satmandu commented 3 years ago

@ryny24 I can't seem to get asix USB Ethernet to load. I'm using the Amazon Basics Ethernet to USB dongle, which appears to have an asix chipset. Hmmm..

satmandu commented 3 years ago

Here's the kernel config from inside https://s3-us-west-2.amazonaws.com/download.wyzecam.com/firmware/gpl/Linux_kernel_3.10_Wyze_Cam_v3.tar.gz found at https://support.wyze.com/hc/en-us/articles/360012546832-Open-Source-Software - and I'm just not seeing anything asix related inside. Also, I noticed CONFIG_USB_USBNET is not set in here, which is needed for USB ethernet, no?

wyzev3.3.10.14.kernel.config.txt

# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_RTL8152 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AT76C50X_USB is not set
CONFIG_USB_ZD1201=y
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8187 is not set
# CONFIG_RTL8188EU is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_WIFI_CONTROL_FUNC is not set
# CONFIG_ATH_CARDS is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_BRCMFMAC is not set
# CONFIG_HOSTAP is not set
# CONFIG_LIBERTAS is not set
# CONFIG_P54_COMMON is not set
# CONFIG_RT2X00 is not set
# CONFIG_RTLWIFI is not set
# CONFIG_WL_TI is not set
# CONFIG_ZD1211RW is not set
# CONFIG_MWIFIEX is not set
# CONFIG_BCM43341 is not set
# CONFIG_BCMDHD_1_141_66 is not set
# CONFIG_BCMDHD_AP6181 is not set
# CONFIG_MT7601_STA is not set
jdesai61ilu commented 2 years ago

I connected this POE adapter to my Wyze Cam V3 firmware 4.36.2.5 (https://www.amazon.com/gp/product/B0876N3PMZ) and can confirm that it powers the camera and I get an ethernet interface as well. I can assign a static IP or run dhcp using

udhcpc -i eth0 -H WyzeCamEth -p /var/run/udhcpceth.pid -b

[delete] ~~However, I can't figure out how to bring if wlan down. "ifconfig wlan0 down" doesn't seem to have any practical effect. It shows down using "ifconfig", but still has IP and I can telnet to the WiFi address. ~~

Has anyone ~~figured out how to disable WiFi ~~or at least route all traffic thru ethernet (even if I waste WiFi IP address)? [delete]

[EDITED TO ADD] I see folks have posted some scripts for disabling WiFi. Will try them out to see if I can get them to work automatically on reboot on my v3

jdesai61ilu commented 2 years ago

@MelonSmasher I gave your scripts a try on my WyzeCam v3 by using following in wyze config .

export CUSTOM_SCRIPT='/mnt/WyzeCams/scripts/myscript.sh

And adding these lines in myscript.sh

/mnt/WyzeCams/WyzeFirmWareTool/WyzeFirmwareTool-master/support/mods/scripts/eth0_init.sh &
/mnt/WyzeCams/WyzeFirmWareTool/WyzeFirmwareTool-master/support/mods/scripts/wlan0_kill.sh &

This brings up the eth0 up and sort of takes down wlan0. But I can't figure out how to replace wpa_cli and wpa_supplicant with your dummy files (possibly because I don't know how to build my own firmware) to fully use eth0 in place of wlan0. Your repository has firmware for v2, but I am using v3.

Any help on how to do those final steps, and I should be on my way to fully functional setup with PoE /ethernet /NFS on wyze v3 .

satmandu commented 2 years ago

Thanks @jdesai61ilu ! That device does work for me.

jdesai61ilu commented 2 years ago

It would be great if I could remove wlan0 completely. However, trying to remove it seems to stop the camera from responding

I tried adding

echo -n "mmc1:0001:1" > /sys/bus/sdio/drivers/rtl8189ftv/unbind But that leave the camera in weird mode - I can telnet to the camera, but I streaming stops working. NFS mount stops responding.

jdesai61ilu commented 2 years ago

@gtxaspec Thanks for the logs. I got it working! I replaced the following files with shell scripts:

There are also two scripts that are started from the init scripts in /system/init:

  • wlan0_kill.sh -- cleans up unused processes related to wireless, seems like this is required to complete initialization
  • eth0_init.sh -- fires up eth0

Below is a firmware image for the Wyze Cam v2 that will enable the USB ethernet adapter, disable wireless, and enables telnet. I haven't tried the hacks from this repo yet, but fingers are crossed that they work with it.

MelonSmasher/WyzeFirmwareTool/releases

Can someone please provide some steps on how to use the WyzeFirmwareToo to create an image with dummy scripts above for v3 firmware? Thanks

satmandu commented 2 years ago

FYI I'm using https://github.com/FiveLeavesLeft/WyzeCameraLiveStream with the v3 cam and this ethernet adapter: https://www.amazon.com/gp/product/B0876N3PMZ

I created a script: /configs/enable_eth0.sh Which has this inside:

#!/bin/ash
udhcpc eth0

Then I made it executable: chmod +x /configs/enable_eth0.sh Confirm that it works:

/configs/enable_eth0.sh
udhcpc (v1.22.1) started
Sending discover...
Sending select for 10.0.x.x...
Lease of 10.0.x.x obtained, lease time 43200
deleting routers
adding dns 10.0.x.x

Then I added this line to /configs/wyze_hack.cfg:

export CUSTOM_SCRIPT='/configs/enable_eth0.sh'

Then I rebooted and the eth0 interface was up on reboot!

jdesai61ilu commented 2 years ago

@satmandu Thanks. I do have a script to enable eth0 on boot working. What I am trying to do is remove wlan0 completely - by using ifconfig and dummy scripts bogus wpa_supplicant etc mentioned by @gtxaspec work automatically at startup on my v3.

satmandu commented 2 years ago

@jdesai61ilu Maybe setting a bogus SSID to connect to with wpa_supplicant would be sufficient to force an usage? If a lack of wlan0 breaks the gui stuff, maybe it is simpler to leave it in place?

It would make sense for the Wyze folks to make wlan0 being absent a deal breaker for some of their software functioning...

jdesai61ilu commented 2 years ago

@satmandu Agree. But that's why the simple scripts mentioned above fools the rest of the system.

/system/bin/wpa_cli --> bogus wpa_cli
/system/bin/wpa_supplicant --> bogus wpa_supplicant
/system/bin/restart_wlan0.sh --> bogus restart_wlan0.sh

I am just trying to create a v3 firmware image with these substitute scripts replacing the aoriginal executables.

jdm0 commented 2 years ago

Gentlemen: I'm desperate to get something like WyzeHacks working on the Eufy Indoor Cam 2K (model T8400), but I lack the sharpened Linux hacking skillz you all seem to have. I can tell you that the Eufy cam uses the exact-same SoC as the Wyze V3 — namely, the Ingenic T31 — and I've spent countless hours running operational experiments and examining log files from the cams. If you know of anyone who's working on a project like this — which I suppose one might call "EufyHacks" — or if you would be interested in working on it yourself, PLEASE message me!! ~ Apologies for the tangential comment. Thanks.

HclX commented 2 years ago

I happen to have bought one eufy 2k camera for investigation. Unfortunately I haven't made much progress. One probem with eufy camera is they don't have SD card recovery mechanism also no firmware downloadable from their website. That definitely adds some barrier to get the firmware out for analysis. I think I will manage that by simply open the case and dump flash directly. But I'm really busy nowadays and haven't got any chance to that step yet...

On Fri, Aug 20, 2021, 17:06 jdm0 @.***> wrote:

Gentlemen: I'm desperate to get something like WyzeHacks working on the Eufy Indoor Cam 2K (model T8400), but I lack the sharpened Linux hacking skillz you all seem to have. I can tell you that the Eufy cam uses the exact-same SoC as the Wyze V3 — namely, the Ingenic T31 — and I've spent countless hours running operational experiments and examining log files from the cams. If you know of anyone who's working on a project like this — which I suppose one might call "EufyHacks" — or if you would be interested in working on it yourself, PLEASE message me!! ~ Apologies for the tangential comment. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-903015379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWD2DCFTWAUYMCQ6BRG3T53UXRANCNFSM4UXTSUHQ . 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&utm_campaign=notification-email .

jdm0 commented 2 years ago

@HclX wrote:

One problem with Eufy camera is they don't have SD card recovery mechanism also no firmware downloadable from their website. That definitely adds some barrier to get the firmware out for analysis. I think I will manage that by simply open the case and dump flash directly.

Another possible approach might be to manually initiate the download of a firmware update to the cam, the next time one becomes available, after preparing to use Wireshark/Debookie and a MITM technique to intercept the firmware binary as it's passing thru your local router on its way to the cam.

satmandu commented 2 years ago

I hope there's a way to enable USB ethernet for the official Wyze Cam v3 RTP firmware!

(Opened an issue for that here: https://github.com/HclX/WyzeHacks/issues/138 )

dudududodododedede commented 2 years ago

Is anyone using this Wyze ethernet method for constant RTSP streaming? Has it been more stable than wifi?

satmandu commented 2 years ago

I've been using the ethernet driver for constant rtsp streaming on the Cam v3, not using the official RTSP firmware. (I'm in a high density wifi area though, so any offloading from wifi is a good thing.)

evanheckert commented 2 years ago

@satmandu I'd like to do the same, but can't even get logged into the Wyze apps. Multiple devices, and it always says "Login Error. Problem connecting to server, please try again." Is there a way to do this without ever connecting to wyze?

Edit: Secondary question - regarding your official firmware issue - what is your reasoning for wanting the USB Ethernet on that firmware if you've got RSTP via ethernet already working?

satmandu commented 2 years ago

I am using this: https://github.com/FiveLeavesLeft/WyzeCameraLiveStream

I don't think it requires you to login through the web interface at all.

nadigo commented 2 years ago

Did you get it to work on ver 3 camera? mine is crashing every 20s or so when i install this ...

On Mon, Sep 27, 2021 at 9:10 AM Satadru Pramanik @.***> wrote:

I am using this: https://github.com/FiveLeavesLeft/WyzeCameraLiveStream

I don't think it requires you to login through the web interface at all.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-927859636, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOQZBNJBF7IDC64K7HM3BDUEBUNJANCNFSM4UXTSUHQ . 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.

satmandu commented 2 years ago

You might need an older firmware. Mine is stable.

Getting the newer Actual RTSP firmware working with Ethernet would be ideal though.

On Mon, Sep 27, 2021, 9:43 AM nadigo @.***> wrote:

Did you get it to work on ver 3 camera? mine is crashing every 20s or so when i install this ...

On Mon, Sep 27, 2021 at 9:10 AM Satadru Pramanik @.***> wrote:

I am using this: https://github.com/FiveLeavesLeft/WyzeCameraLiveStream

I don't think it requires you to login through the web interface at all.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-927859636, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABOQZBNJBF7IDC64K7HM3BDUEBUNJANCNFSM4UXTSUHQ

. 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 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/62#issuecomment-927888724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAILX7PCNFRGNQ3HOIBOU2LUEBYJTANCNFSM4UXTSUHQ .

jdesai61ilu commented 2 years ago

Is anyone using this Wyze ethernet method for constant RTSP streaming? Has it been more stable than wifi?

I use ethernet and constantly streaming/recording using frigate. It is completely stable. I can't comment on wifi comparision because I didn't try stability tests with wifi.

jdm0 commented 2 years ago

Lo and behold, someone has recently posted the SDK for the Ingenic T31 SoC here on Github. If you haven't seen it before, I think you may find it extremely helpful in making progress with hacking the Wyze V3 (and also the Eufy Indoor 2K).

Lots of juicy goodies there, including technical documentation of the Ingenic T31 chip. The section on the boot process (pp. 25–26) may be of particular interest.

Enjoy!

evanheckert commented 2 years ago

Could someone with a V3 and working ethernet based local network streaming comment with which firmware they're on, and which (if any) hacks they've applied?

Vendo232 commented 2 years ago

@satmandu

Actually, the V3 works already with USB ethernet modules. @gtxaspec posted this on Feb 6 in this thread, and I confirmed it works.

Sir, would you know if it is possible to change SSID/Password of the V3 remotely using Telnet?

Vendo232 commented 2 years ago

You might need an older firmware. Mine is stable. Getting the newer Actual RTSP firmware working with Ethernet would be ideal though. On Mon, Sep 27, 2021, 9:43 AM nadigo @.> wrote: Did you get it to work on ver 3 camera? mine is crashing every 20s or so when i install this ... On Mon, Sep 27, 2021 at 9:10 AM Satadru Pramanik @.> wrote: > I am using this: https://github.com/FiveLeavesLeft/WyzeCameraLiveStream > > I don't think it requires you to login through the web interface at all. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#62 (comment)>, or > unsubscribe > < https://github.com/notifications/unsubscribe-auth/ABOQZBNJBF7IDC64K7HM3BDUEBUNJANCNFSM4UXTSUHQ > > . > 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 >. > > — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAILX7PCNFRGNQ3HOIBOU2LUEBYJTANCNFSM4UXTSUHQ .

@satmandu Sir, would you be so kind and write a short few steps guide how to enable USB LAN on V3? Will try to place it on this WIKI repo for others. thank you

satmandu commented 2 years ago

@satmandu Sir, would you be so kind and write a short few steps guide how to enable USB LAN on V3? Will try to place it on this WIKI repo for others. thank you

I don't actually have Ethernet setup on my V3 at the moment, so you're best off following the steps mentioned above. I'm just using the RTSP firmware with wifi at the moment.