Closed Pewibe closed 3 years ago
AP Password is the WiFi Password when in AP mode (your device unable to connect to given wifi sssid/passwd) make sure you enter wifi ssid, wifi password, ap password. save powercycle
if it doesnt connect, check your dhcp server or flash the debug and share output of serial console.
@trosenda Thanks for your answer but I'm still missing hints to go further.
Debug output shows:
Updating configuration
Value of arg 'iwcThingName' is:SMLReader
iwcThingName='SMLReader'
Value of arg 'iwcApPassword' is:ASDFqwer1234
iwcApPassword was set
Value of arg 'iwcWifiSsid' is:TestSSID
iwcWifiSsid='TestSSID'
Value of arg 'iwcWifiPassword' is:TestPW
iwcWifiPassword was set
Value of arg 'mqttServer' is:192.168.0.2
mqttServer='192.168.0.2'
Value of arg 'mqttPort' is:1883
mqttPort='1883'
Value of arg 'mqttUsername' is:
mqttUsername=''
Value of arg 'mqttPassword' is:
mqttPassword='
ets Jan 8 2013,rst cause:1, boot mode:(3,0)
It looks to me like a bug (see bold lines) that passwords are set but not saved.
Could you please post the debug output after reboot? Before you edited your message I noticed something like "Wrong config version". It looks like the Sonoff Basic R3 is driven by an ESP8255 chip. The library used for configuration (IotWebConf) is using EEPROM for storage, maybe there is an issue with the EEPROM of the ESP8255? Unfortunately I don't have any ESP8255 device here to test with.
"Wrong config version" indicates, that the version of the config in EEPROM does not match the one that has been written previously, or that there is no config found at all.
I added the missed lines to the previous debug output. Sorry for the mess of the font size. I'm sure that you are right concerning 8255. So I cannot use the prefabricated .bin and have to compile.
Help is needed!