Guest User

Untitled

a guest
Nov 12th, 2017
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Windows PowerShell
  2. Copyright (C) 2016 Microsoft Corporation. All rights reserved.
  3.  
  4. PS C:\WINDOWS\system32> cd C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master
  5. PS C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master> ls
  6.  
  7.  
  8.     Directory: C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master
  9.  
  10.  
  11. Mode                LastWriteTime         Length Name
  12. ----                -------------         ------ ----
  13. d-----       2017-11-13     00:16                ssl
  14. d-----       2017-11-13     00:16                static
  15. -a----       2017-11-13     00:16             29 .gitignore
  16. -a----       2017-11-07     22:19             64 debug_1510089572.log
  17. -a----       2017-11-07     22:23            443 debug_1510089799.log
  18. -a----       2017-11-07     22:29           6565 debug_1510089863.log
  19. -a----       2017-11-07     22:47          10809 debug_1510090261.log
  20. -a----       2017-11-07     22:56          45112 debug_1510091301.log
  21. -a----       2017-11-13     00:17             81 debug_1510528658.log
  22. -a----       2017-11-13     00:22           4548 debug_1510528698.log
  23. -a----       2017-11-13     00:16            130 ISSUE_TEMPLATE.md
  24. -a----       2017-11-13     00:16          18046 LICENSE
  25. -a----       2017-11-13     00:16           6394 README.md
  26. -a----       2017-11-13     00:16             50 requirements.txt
  27. -a----       2017-11-13     00:16          26741 sonota.py
  28.  
  29.  
  30. PS C:\Users\Jocke\Downloads\SonOTA-master\SonOTA-master> python.exe .\sonota.py --slowstream
  31. Current IPs: ['192.168.1.179']
  32. Select IP address of the WiFi interface:
  33.     0: 192.168.1.179
  34. Select IP address [0]: 0
  35. WiFi SSID: MrTomato
  36. WiFi Password: ********
  37.  
  38. Using the following configuration:
  39.         Server IP Address: 192.168.1.179
  40.         WiFi SSID: MrTomato
  41.         WiFi Password: ********
  42. Platform: win32
  43. ** Now connect via WiFi to your Sonoff device.
  44. ** Please change into the ITEAD WiFi network (ITEAD-100001XXXX). The default password is 12345678.
  45. To reset the Sonoff to defaults, press the button for 7 seconds and the light will start flashing rapidly.
  46. ** This application should be kept running and will wait until connected to the Sonoff...
  47. ..........Current IPs: []
  48. ..Current IPs: ['10.10.7.2']
  49. ~~ Connection attempt
  50. >> HTTP GET /10.10.7.1/device
  51. << {
  52.     "accept": "post",
  53.     "deviceid": "100012ef1e",
  54.     "apikey": "7b05c27a-8f77-443d-8602-01f0590d0e38"
  55. }
  56. >> HTTP POST /10.10.7.1/ap
  57. >> {
  58.     "version": 4,
  59.     "password": "********",
  60.     "port": 8443,
  61.     "ssid": "MrTomato",
  62.     "serverName": "192.168.1.179"
  63. }
  64. << {
  65.     "error": 0
  66. }
  67. ~~ Provisioning completed
  68. Starting stage2...
  69. ** The IP address of <serve_host> (192.168.1.179) is not assigned to any interface on this machine.
  70. ** Please change WiFi network to MrTomato and make sure 192.168.1.179 is being assigned to your WiFi interface.
  71. ** This application should be kept running and will wait until connected to the WiFi...
  72. ....................Current IPs: ['192.168.1.179']
  73. ~~ Starting web server (HTTP port: 8080, HTTPS port 8443)
  74. ~~ Waiting for device to connect
  75.  
  76. *** IMPORTANT! ***
  77. ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finis
  78. h the process.
  79. ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
  80. This server should automatically be allocated the IP address: 192.168.4.2.
  81. If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no o
  82. ther device has connected, and reboot your Sonoff.
  83. ..............................
  84. *** IMPORTANT! ***
  85. ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finis
  86. h the process.
  87. ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
  88. This server should automatically be allocated the IP address: 192.168.4.2.
  89. If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no o
  90. ther device has connected, and reboot your Sonoff.
  91. ..............................
  92. *** IMPORTANT! ***
  93. ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finis
  94. h the process.
  95. ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
  96. This server should automatically be allocated the IP address: 192.168.4.2.
  97. If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no o
  98. ther device has connected, and reboot your Sonoff.
  99. .....................
Add Comment
Please, Sign In to add comment