mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #988] Can't use stored mqtt variables for PubSubclient #841
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#841
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 @nicedevil007 on GitHub (Jan 2, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/988
Hey guys,
I'm took some code from the examples out here and I always got stuck at this point where the MQTT Server and Port should be used to connect to my MQTT Server.
The error messages are always those two:
and this:
My sketch looks like this:
I'm using a Wemos D1 Mini R2.
Can anyone help me out?
@nicedevil007 commented on GitHub (Jan 3, 2020):
ok solved it with this
mqtt_port = (uint16_t)strtol(mqtt_temp, NULL, 10);