Giter Site home page Giter Site logo

FinnalStage SSID never shows up about sonota HOT 5 CLOSED

mirko avatar mirko commented on July 2, 2024
FinnalStage SSID never shows up

from sonota.

Comments (5)

sillyfrog avatar sillyfrog commented on July 2, 2024

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.

christiamdc avatar christiamdc commented on July 2, 2024

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.

sillyfrog avatar sillyfrog commented on July 2, 2024

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.

strasharo avatar strasharo commented on July 2, 2024

Same happened for me and the issue was that my iptables firewall was up. Flushed it and it all went fine.

from sonota.

christiamdc avatar christiamdc commented on July 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.