Comments (5)
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.
@trosenda Thanks for your answer but I'm still missing hints to go further.
- 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.
- DHCP etc. is double checked by using Tasmota software (everything incl. SSID/PW works fine).
- 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.
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.
"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.
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)
- Wiki is broken HOT 4
- After Update to 2.2.0 aedes broker crashes HOT 2
- Sending Intervall HOT 6
- No readout HOT 9
- MQTT client does not connect to MQTT broker after a TCP reconnection HOT 33
- Itron eHZ-B HOT 1
- no wifi connection HOT 2
- is it work with iec62056-21 HOT 1
- OBIS ID 96.1.0 not decoded
- main.cpp errors when building/compiling HOT 11
- JSON Value Support
- No Data in MQQT broker HOT 1
- How to activate internal pull-up resistor when using more than one sensor? HOT 2
- No mqtt data HOT 2
- Change output 1.8.0 / 2.8.0 from Wh to kWh HOT 3
- SSL/TLS support HOT 2
- AP Password lost HOT 1
- Selection of transmitted topics
- Default Password of SMLReader SSID
- Mehrere Sensoren gleichzeitig
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 smlreader.