Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) 2016 Microsoft Corporation. All rights reserved.
- PS C:\WINDOWS\system32> cd C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master
- PS C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master> ls
- Directory: C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master
- Mode LastWriteTime Length Name
- ---- ------------- ------ ----
- d----- 2017-11-13 00:16 ssl
- d----- 2017-11-13 00:16 static
- -a---- 2017-11-13 00:16 29 .gitignore
- -a---- 2017-11-07 22:19 64 debug_1510089572.log
- -a---- 2017-11-07 22:23 443 debug_1510089799.log
- -a---- 2017-11-07 22:29 6565 debug_1510089863.log
- -a---- 2017-11-07 22:47 10809 debug_1510090261.log
- -a---- 2017-11-07 22:56 45112 debug_1510091301.log
- -a---- 2017-11-13 00:17 81 debug_1510528658.log
- -a---- 2017-11-13 00:22 4548 debug_1510528698.log
- -a---- 2017-11-13 00:16 130 ISSUE_TEMPLATE.md
- -a---- 2017-11-13 00:16 18046 LICENSE
- -a---- 2017-11-13 00:16 6394 README.md
- -a---- 2017-11-13 00:16 50 requirements.txt
- -a---- 2017-11-13 00:16 26741 sonota.py
- PS C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master> python.exe .\sonota.py --slowstream
- Current IPs: ['192.168.1.179']
- Select IP address of the WiFi interface:
- 0: 192.168.1.179
- Select IP address [0]: 0
- WiFi SSID: MrTomato
- WiFi Password: ********
- Using the following configuration:
- Server IP Address: 192.168.1.179
- WiFi SSID: MrTomato
- WiFi Password: ********
- Platform: win32
- ** Now connect via WiFi to your Sonoff device.
- ** Please change into the ITEAD WiFi network (ITEAD-100001XXXX). The default password is 12345678.
- To reset the Sonoff to defaults, press the button for 7 seconds and the light will start flashing rapidly.
- ** This application should be kept running and will wait until connected to the Sonoff...
- ..........Current IPs: []
- ..Current IPs: ['10.10.7.2']
- ~~ Connection attempt
- >> HTTP GET /10.10.7.1/device
- << {
- "accept": "post",
- "deviceid": "100012ef1e",
- "apikey": "7b05c27a-8f77-443d-8602-01f0590d0e38"
- }
- >> HTTP POST /10.10.7.1/ap
- >> {
- "version": 4,
- "password": "********",
- "port": 8443,
- "ssid": "MrTomato",
- "serverName": "192.168.1.179"
- }
- << {
- "error": 0
- }
- ~~ Provisioning completed
- Starting stage2...
- ** The IP address of <serve_host> (192.168.1.179) is not assigned to any interface on this machine.
- ** Please change WiFi network to MrTomato and make sure 192.168.1.179 is being assigned to your WiFi interface.
- ** This application should be kept running and will wait until connected to the WiFi...
- ....................Current IPs: ['192.168.1.179']
- ~~ Starting web server (HTTP port: 8080, HTTPS port 8443)
- ~~ Waiting for device to connect
- *** IMPORTANT! ***
- ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finis
- h the process.
- ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
- This server should automatically be allocated the IP address: 192.168.4.2.
- If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no o
- ther device has connected, and reboot your Sonoff.
- ..............................
- *** IMPORTANT! ***
- ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finis
- h the process.
- ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
- This server should automatically be allocated the IP address: 192.168.4.2.
- If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no o
- ther device has connected, and reboot your Sonoff.
- ..............................
- *** IMPORTANT! ***
- ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finis
- h the process.
- ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
- This server should automatically be allocated the IP address: 192.168.4.2.
- If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no o
- ther device has connected, and reboot your Sonoff.
- .....................
Add Comment
Please, Sign In to add comment