mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #1225] Combining with ubidots #1046
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1046
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @invidia191 on GitHub (Mar 7, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1225
Basic Infos
Hardware
Esp8266/Esp32: esp8266
Hardware: wemos d1 mini
Core Version: 2.4.0, staging
Description
Hello, i'm trying to combine with ubidots. Problem is all dots in serial monitor after ap config.
I need to define the wifi settings, but there is the problem i think.
This is the problem i think (very noobish in scripting):
#define WIFINAME "WiFi.SSID()" // Your SSID
#define WIFIPASS "WiFi.psk()" // Your Wifi Pass
Settings in IDE
Module: Wemos D1
Additional libraries: UbidotsESPMQTT
Sketch
@tablatronix commented on GitHub (Mar 7, 2021):
Where is your logging ?
@invidia191 commented on GitHub (Mar 7, 2021):
Is this log output ?:
11:56:13.181 -> *WM: 1
11:56:13.228 -> *WM:
11:56:13.228 -> *WM: Configuring access point...
11:56:13.228 -> *WM: AutoConnectAP
11:56:13.228 -> *WM: password
11:56:13.697 -> *WM: AP IP address:
11:56:13.697 -> *WM: 192.168.4.1
11:56:13.697 -> *WM: HTTP server started
11:56:26.519 -> *WM: Request redirected to captive portal
11:56:26.800 -> *WM: Request redirected to captive portal
11:56:36.907 -> *WM: Scan done
11:56:36.907 -> *WM: DUP AP: telenet-392
11:56:36.907 -> *WM: telenet-392-ext2
11:56:36.907 -> *WM: -42
11:56:36.907 -> *WM: telenet-392-modem
11:56:36.907 -> *WM: -58
11:56:36.907 -> *WM: TelenetWiFree
11:56:36.907 -> *WM: -59
11:56:36.907 -> *WM: telenet-392
11:56:36.907 -> *WM: -70
11:56:36.907 -> *WM: DIRECT-OdC43x Series
11:56:36.907 -> *WM: -81
11:56:36.907 -> *WM: TP-DEV
11:56:36.907 -> *WM: -88
11:56:36.907 -> *WM: Sent config page
11:56:48.238 -> *WM: WiFi save
11:56:48.238 -> *WM: Parameter
11:56:48.238 -> *WM: server
11:56:48.238 -> *WM:
11:56:48.238 -> *WM: Parameter
11:56:48.238 -> *WM: port
11:56:48.238 -> *WM: 8080
11:56:48.238 -> *WM: Parameter
11:56:48.238 -> *WM: blynk
11:56:48.238 -> *WM: YOUR_BLYNK_TOKEN
11:56:48.238 -> *WM: Sent wifi save page
11:56:49.254 -> *WM: Connecting to new AP
11:56:49.254 -> *WM: Connecting as wifi client...
11:56:49.254 -> *WM: Status:
11:56:49.254 -> *WM: 0
11:56:49.348 -> *WM: [ERROR] WiFi.begin res:
11:56:49.348 -> *WM: 6
11:56:53.854 -> *WM: Connection result:
11:56:53.854 -> *WM: 3
11:56:53.948 -> Should save config
11:56:53.948 -> connected...yeey :)
11:56:53.948 -> The values in the file are:
11:56:53.948 -> mqtt_server :
11:56:53.948 -> mqtt_port : 8080
11:56:53.948 -> blynk_token : YOUR_BLYNK_TOKEN
11:56:53.948 -> saving config
11:56:53.948 -> {"mqtt_server":"","mqtt_port":"8080","blynk_token":"YOUR_BLYNK_TOKEN"}local ip
11:56:53.995 -> 192.168.1.252
11:56:54.572 -> ...................................................
@tablatronix commented on GitHub (Mar 7, 2021):
11:56:49.254 -> *WM: Connecting as wifi client...
11:56:49.254 -> *WM: Status:
11:56:49.254 -> *WM: 0
11:56:49.348 -> *WM: [ERROR] WiFi.begin res:
11:56:49.348 -> *WM: 6
11:56:53.854 -> *WM: Connection result:
11:56:53.854 -> *WM: 3
Your wifi is not connecting
@invidia191 commented on GitHub (Mar 7, 2021):
But i am getting an ip address ?
When defining the wifi settings manually, no problem. But i want to use the saved settings to connect with ubidots. I think it is a problem with defining the wifi settings for ubidots.
@tablatronix commented on GitHub (Mar 7, 2021):
you can just skip this ?
client.wifiConnection(WIFINAME, WIFIPASS);
@invidia191 commented on GitHub (Mar 7, 2021):
Damn, that was simple.
Thx for the great help ! Awesome.