When I use the ThingerWebConfig or ThingerSmartConfig libraries, my NodeMCU refuses to connect to the Thinger servers. I am running the basic example code for both libraries. Output with debugging on:
I am having the same situation, using ESP8266 with webconfig example.
The ESP8266 able to connect to wifi, however the device is still disconnected.
Any help?
Can you specify the Thinger, WiFimanager and ESP8266 libraries revision that are being used? IT should be any compatibility problem with the newest version of wifimanager but not pretty sure
It will probably works with WiFI 0.15, but I think that the main problem is with ESP new versions…
Thinger.io arduino libraries have not been updated for a long time… even though they are Open Source, but it appears that there are not to many contributors who are encouraged to modify them XD
During the last months the development team has been focused on the deployment of a new server infrastructure, that was released yesterday. Maybe now they can find some time to fix these kind of problems, so stay tuned
Please take a look at the example documentation above:
/*
Steps for getting the ESP8266 WebConfig working:
1. Connect to Thinger-Device WiFi with your computer or phone, using "thinger.io" as WiFi password
2. Wait for the configuration window, or navigate to http://192.168.4.1 if it does not appear
3. Configure the wifi where the ESP8266 will be connected, and your thinger.io device credentials
4. Your device should be now connected to the platform.
More details at http://docs.thinger.io/arduino/
*/
at least until the libraries become updated, yes. Although I don’t think you’ll lose any functionality.
As I hope you will understand it is difficult for a small team to keep 100% of the integration libraries always updated. However, as the library is completely Open Source and there are more than 50,000 freemium users from all over the world working with it, maybe a skilled programmer will be encouraged to contribute the community by performing the update and sending a pull request to the library repository.
Sorry, I just got spare time to catch up again.
I agree that it is okay to be not perfect.
Thank you for your hard work. I very appreciate thinger.io.
Here I update the debug output using thinger.io 2.13.0, WifiManager 0.15.0, ESP8266 board 2.7.1.
The config is okay using the example of ESP8266 but not ESP8266Webconfig
This is the debug output of Webconfig.
[_CONFIG] Mounting FS...
[_CONFIG] FS Mounted!
[_CONFIG] Starting Webconfig...
*WM: Adding parameter
*WM: user
*WM: Adding parameter
*WM: device
*WM: Adding parameter
*WM: credential
*WM:
*WM: Configuring access point...
*WM: Thinger-Device
*WM: thinger.io
*WM: AP IP address:
*WM: 192.168.4.1
*WM: HTTP server started
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
*WM: Handle root
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
*WM: Scan done
*WM: twentybb
*WM: -45
*WM: Sent config page
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
*WM: WiFi save
*WM: Parameter
*WM: user
*WM: (this is my user id, it is correct)
*WM: Parameter
*WM: device
*WM: (this is name of my device, it is correct)
*WM: Parameter
*WM: credential
*WM: ****** (the credential is correct)
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client...
*WM: Status:
*WM: 0
*WM: [ERROR] WiFi.begin res:
*WM: 6
*WM: Connection result:
*WM: 3
[_CONFIG] Updating Device Info...
[_CONFIG] Done!
*WM: freeing allocated params!
[NETWORK] Connected!
[_SOCKET] Connecting to iot.thinger.io:25202...
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Error while connecting!
[_SOCKET] Connecting to iot.thinger.io:25202...
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Error while connecting!
[_SOCKET] Connecting to iot.thinger.io:25202...
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Error while connecting!
[_SOCKET] Connecting to iot.thinger.io:25202...
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Error while connecting!
[_SOCKET] Connecting to iot.thinger.io:25202...
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Error while connecting!