Vorab: Sorry wenn das doppelt ist, dann einfach in den jeweiligen Post verschieben. Wollte nicht unbedingt andere Posts mit meinen Problemen zu hauen
Hab mich eben mal am WLAN Flash für den Basic versucht. Anleitung war diese Youtube Video
sowie dieses
Habe alles was in den Videos beschrieben ist erledigt, aber beim ersten Verbinden mit dem WLAN des Sonoff bekomme ich eine Fehlermeldung. Hier mal der komplette Auszug:
Spoiler anzeigen
~~ Connection attempt
>> HTTP GET /10.10.7.1/device
<< {
"deviceid": "100027860b",
"apikey": "0825c7a9-8acd-4d93-b45b-af3b97eaf10e",
"accept": "post"
}
>> HTTP POST /10.10.7.1/ap
>> {
"version": 4,
"ssid": "FRITZ!Box 7362 SL",
"password": "********************",
"serverName": "192.168.178.82",
"port": 8443
}
Traceback (most recent call last):
File "C:\Users\Julian\Documents\Sonoff\SonOTA\sonota.py", line 734, in <module>
main()
File "C:\Users\Julian\Documents\Sonoff\SonOTA\sonota.py", line 729, in main
stage1()
File "C:\Users\Julian\Documents\Sonoff\SonOTA\sonota.py", line 612, in stage1
"http://10.10.7.1/ap", "POST", json.dumps(data))
File "C:\Users\Julian\AppData\Roaming\Python\Python36\site-packages\httplib2\__init__.py", line 1322, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "C:\Users\Julian\AppData\Roaming\Python\Python36\site-packages\httplib2\__init__.py", line 1072, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "C:\Users\Julian\AppData\Roaming\Python\Python36\site-packages\httplib2\__init__.py", line 1025, in _conn_request
response = conn.getresponse()
File "C:\Users\Julian\AppData\Local\Programs\Python\Python36\lib\http\client.py", line 1331, in getresponse
response.begin()
File "C:\Users\Julian\AppData\Local\Programs\Python\Python36\lib\http\client.py", line 297, in begin
version, status, reason = self._read_status()
File "C:\Users\Julian\AppData\Local\Programs\Python\Python36\lib\http\client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\Julian\AppData\Local\Programs\Python\Python36\lib\socket.py", line 586, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
C:\Users\Julian\Documents\Sonoff\SonOTA>
Kann mir jemand sagen woran das liegt?
Habe nur Windows Defender sowie die Firewall auf dem Laptop und beides deaktiviert. Win 10 64bit.
Danke schon mal. Gruß Julian