Giter Site home page Giter Site logo

Comments (5)

trosenda avatar trosenda commented on August 15, 2024

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.

from smlreader.

Pewibe avatar Pewibe commented on August 15, 2024

@trosenda Thanks for your answer but I'm still missing hints to go further.

  1. You explained the usage of AP password but not the syntax. Except minimum 8 characters there is no clear documentation for the necessary types of characters. Or easily say if my used password "ASDFqwer1234" should work.
  2. DHCP etc. is double checked by using Tasmota software (everything incl. SSID/PW works fine).
  3. 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=''
    Value of arg 'mqttTopic' is:iot/smartmeter/
    mqttTopic='iot/smartmeter/'
    Config size: 685
    Saving config 'iwcThingName'= 'SMLReader'
    Saving config 'iwcApPassword'=
    Saving config 'iwcWifiSsid'= 'TestSSID'
    Saving config 'iwcWifiPassword'=
    Saving config 'iwcApTimeout'= '30'
    Saving config 'mqttServer'= '192.168.0.2'
    Saving config 'mqttPort'= '1883'
    Saving config 'mqttUsername'= ''
    Saving config 'mqttPassword'=
    Saving config 'mqttTopic'= 'iot/smartmeter/'
    Configuration was updated.

    _Rebooting after 1 second.

ets Jan 8 2013,rst cause:1, boot mode:(3,0)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vbc204a9b
~ld
Setting up 1 configured sensors...
Initializing sensor 1...
Initialized sensor 1.
State of sensor 1 is 'WAIT_FOR_START_SEQUENCE'.
Sensor setup done.
Setting up WiFi and config stuff.
Adding parameter MQTT server.
Adding parameter MQTT port.
Adding parameter MQTT username.
Adding parameter MQTT password.
Adding parameter MQTT topic.
Config size: 685
Wrong config version.
Missing or invalid config.
MQTT publisher disabled.
Setup done.
AP password was not set in configuration
State changing from: 0 to 1
Setting up AP: SMLReader
With default password:
AP IP address: 192.168.4.1
State changed from: 0 to 1
Connection to AP._

It looks to me like a bug (see bold lines) that passwords are set but not saved.

from smlreader.

mruettgers avatar mruettgers commented on August 15, 2024

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.

from smlreader.

mruettgers avatar mruettgers commented on August 15, 2024

"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.

from smlreader.

Pewibe avatar Pewibe commented on August 15, 2024

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.

from smlreader.

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.