I have an issue with the wireless flashing method and I’m hoping someone can explain why it’s not working as advertised:
Equipment: Sonoff 433RF Bridge R2 V1.0 2017.11.23
Laptop running Windows 10 - current patch level
Method with comments:
- Download and install Python3
- Update Python3: ‘python3 -m pip install –upgrade pip’
- Download SonOtA: https://github.com/mirko/SonOTA - ensure that you download the zip file not just the sonota.py file
- Win10 install C++ tools – http://landinghub.visualstudio.com/visual-cpp-build-tools - this link is broken, I downloaded Visual Studio 2019 Community version from the Microsoft site
- Navigate to SonOtA directory and get all the requirements
Run: ‘pip3 install –user -r requirements.txt’ - multiple runtime errors if you skip this step!
- Disable any firewalls and Windows Defender
- Press and hold the onboard button for around 6 seconds until the blue LED goes solid then flashes in a 3 flash, pause, 3 flash pattern - hold the button again for around 6 seconds and the LED will flash rapidly.
- Run SonOtA: ‘python.exe sonota.py’
- Choose the IP address for the computer you’re running Sonota.py on
- Input your Wifi name and password when asked
Note: if you get the password wrong you will receive no warning
- Watch for iTead Wifi SSID and select it when it’s available password 12345678 – if it does not appear try setting the computer to use only 2.4GHz wireless
- Reconnect to your home wifi when the iTead SSID disappears.
- Select Final Stage Wifi SSID when it appears – This is where I go wrong, FinalStage does not appear - I used the Android phone with a WiFi scanner app to confirm this - I also hot-spotted the Android phone to ensure a good WiFi signal close to the bridge
The instructions carry on, I did not get this far:
14. Connect to ‘sonoff-###” Wifi SSID
15. Configure Tasmota with your Wifi name and PW
16. Reconnect to your home Wifi SSID
17. Find the IP address for your new sonoff from your router, or something like Fing
18. Finish configuring Tasmota
After several tries with the hotspot running, I got this:
Traceback (most recent call last): File "sonota.py", line 736, in <module> main() File "sonota.py", line 731, in main stage1() File "sonota.py", line 613, in stage1 "http://10.10.7.1/ap", "POST", json.dumps(data)) File "C:\Python\Python37\lib\site-packages\httplib2\__init__.py", line 1953, in request cachekey, File "C:\Python\Python37\lib\site-packages\httplib2\__init__.py", line 1618, in _request conn, request_uri, method, body, headers File "C:\Python\Python37\lib\site-packages\httplib2\__init__.py", line 1556, in _conn_request response = conn.getresponse() File "C:\Python\Python37\lib\http\client.py", line 1336, in getresponse response.begin() File "C:\Python\Python37\lib\http\client.py", line 306, in begin version, status, reason = self._read_status() File "C:\Python\Python37\lib\http\client.py", line 267, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Python\Python37\lib\socket.py", line 589, in readinto return self._sock.recv_into(b) socket.timeout: timed out
I downloaded the eWeLink app and used it to pair the bridge - this worked right off so the bridge is okay.
Anyone able to assist with this?