Comments (5)
Thanks for the info, are you able to send the output from a run through as well please? (remember to remove your WiFi password). I can then take a look and try and see what it maybe.
from sonota.
Logs:
C:\Users\christiam.munoz-del-\SonOta\SonOTA-master>python sonota.py
Select IP address of the WiFi interface:
0: 192.168.1.17
Select IP address [0]: 0
WiFi SSID: BettyCl
WiFi Password: XXXXXX
Using the following configuration:
Server IP Address: 192.168.1.17
WiFi SSID: BettyCl
WiFi Password: XXXXXX
** Now connect via WiFi to your Sonoff device.
** Please change into the ITEAD WiFi network (ITEAD-100001XXXX). The default pas
sword is 12345678.
To reset the Sonoff to defaults, press the button for 7 seconds and the light wi
ll start flashing rapidly.
** This application should be kept running and will wait until connected to the
Sonoff...
.........~~ Connection attempt
HTTP GET /10.10.7.1/device
timed out
HTTP GET /10.10.7.1/device
<< {
"deviceid": "1000113dc3",
"accept": "post",
"apikey": "4439b735-6a9e-4503-b94a-b37fe46fddbf"
}
HTTP POST /10.10.7.1/ap
%s {
"version": 4,
"port": 8443,
"ssid": "BettyCl",
"password": "XXXXXX",
"serverName": "192.168.1.17"
}
<< {
"error": 0
}
~~ Provisioning completed
Starting stage2...
** The IP address of <serve_host> (192.168.1.17) is not assigned to any interfa
ce on this machine.
** Please change WiFi network to BettyCl and make sure 192.168.1.17 is being ass
igned to your WiFi interface.
** This application should be kept running and will wait until connected to the
WiFi...
...........~~ 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 conne
ct to the new SSID "FinalStage" to finish the process.
** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiF
i 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 Addres
s you were allocated, please ensure no other device has connected, and reboot yo
ur Sonoff.
..............................
*** IMPORTANT! ***
** AFTER the first download is COMPLETE, with in a minute or so you should conne
ct to the new SSID "FinalStage" to finish the process.
** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiF
i 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 Addres
s you were allocated, please ensure no other device has connected, and reboot yo
ur Sonoff.
..............................
*** IMPORTANT! ***
** AFTER the first download is COMPLETE, with in a minute or so you should conne
ct to the new SSID "FinalStage" to finish the process.
** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiF
i 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 Addres
s you were allocated, please ensure no other device has connected, and reboot yo
ur Sonoff.
..............................
*** IMPORTANT! ***
** AFTER the first download is COMPLETE, with in a minute or so you should conne
ct to the new SSID "FinalStage" to finish the process.
** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiF
i 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 Addres
s you were allocated, please ensure no other device has connected, and reboot yo
ur Sonoff.
........
from sonota.
There does not appear to be any incoming HTTP connections so my guess would be that there is a firewall running on the host. Can you check that all firewalls have been disabled and see how you go?
from sonota.
Same happened for me and the issue was that my iptables firewall was up. Flushed it and it all went fine.
from sonota.
I turn off the firewall and try several times.. it works after the fifth time, I don't know why it failed the first four attempts.
Thank you for the support!
from sonota.
Related Issues (20)
- ESP8285 based relay board doesn't like certificate HOT 5
- [New Smart G2 2.0.1]Successfull flash, help for template/model selection HOT 1
- set_nodelay? HOT 3
- add SonOFF T2 support
- pip3 fails to import main
- Script crashed starting web server HOT 4
- eWeLink Mini PCI-e Desktop PC Remote Control HOT 4
- DIY Mode for Stock Firmware 3.3 or Higher? HOT 1
- Sonota.exe not progressing after connecting to ITEAD-SSID HOT 2
- Sonoff TH10 2.6.0 firmware
- Can device get bricked if something goes wrong? HOT 2
- How to update from the shipped SonOTA .bin to a newer version?
- SSL Error on 11 ('xxx', 4098): [SSL] internal error (_ssl.c:1108) HOT 4
- Latest firmware HOT 5
- No FinalStage network is shown.
- Never ending loop at stage2 when trying to flash Tasmota for the first time HOT 7
- The ssid details sent to the device are not working
- No Final Stage For Windows EXE - Different IP subnet? HOT 1
- WARNING: SSL Error on 12 ('192.168.0.60', 8708): [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)
- Does it work with the Zb Bridge ( wich look really like the RF Bridge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonota.