HclX / WyzeHacks

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

"remote_install.sh" is successful (PAN). Connection refused on telnet. #81

Closed ryny24 closed 3 years ago

ryny24 commented 3 years ago

I have been trying this for a week now with no success. I download "wyze_hacks_0_5_01.zip", extract it, copy and modify config.inc. Then I run remote_install.sh, yes Y for the camera I want to update (PAN). It says something I can't hear but reboots, however, telnet is always connection refused after it starts pinging again. Here is a copy of the script output:

`Found local config file, including into firmware update archive... Upgrade/config.inc Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0) INFO:root:Trying saved credentials from /home/ryan/.wyze_token. INFO:root:Checking device, mac=2CAA8E0F543A

Device type: Camera (WYZECP1_JEF) Device name: Garage Pan Firmware version: 4.10.6.156 IP Address: 192.168.241.129

Pushing firmware to this device? [y/N]:y INFO:root:Serving firmware file './firmware.bin' as 'http://192.168.241.38:11808/firmware.bin', md5=70590380c45effc77acb0b7b5a797ca6 192.168.241.129 - - [07/Feb/2021 23:02:40] "GET /firmware.bin HTTP/1.1" 200 -

ryan@pi:~ $ telnet 192.168.241.129 Trying 192.168.241.129... telnet: Unable to connect to remote host: Connection refused ` I've tried doing this with many different versions on the PAN, including the current version and several that were confirmed working.

Thank you for your help!

ryny24 commented 3 years ago

Can confirm V2 works ok, only this PAN that I can't get installed. Tried .218 & .156 but it won't take.

ryny24 commented 3 years ago

After many, many attempts, it finally took. Not sure why. Thank you!