mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #473] Thingspeak and wifi manager #399
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#399
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 @jgarridc on GitHub (Dec 17, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/473
@liebman commented on GitHub (Dec 17, 2017):
I am assuming that your JSON config file specifies the value as a number and not a string, a string would be a quoted value - see this example: https://github.com/bblanchon/ArduinoJson/blob/master/examples/JsonParserExample/JsonParserExample.ino
FYI - this has nothing to do with WiFiManager.
@jgarridc commented on GitHub (Dec 19, 2017):
How its possible to convert the unsigned long to a char*?
@liebman commented on GitHub (Dec 19, 2017):
Again I'll make an assumption. That this line is the one you get the error for:
Again, this is totally unrelated to WiFiManager and should be handled in a forum related to ThingSpeak. In any case the issue is that your passing a character array, 'myChannelNumber', to a function that expects an integer of some size.
There are functions that will convert these for you:
as well as other methods to do this conversion. Some google searches for "string to int c" or "string to int c++" can give you more information.
FYI: You have marked many lines with "here I have the problem" without indicating the exact line that produced the error. And the formatting is almost unreadable.
@jgarridc commented on GitHub (Dec 20, 2017):
OK, thanks a lot, sorry but I am not a programmer and I have a lot of problems with the code, but all help its good. I am goin to look for information about your answer and try, thank you very much,.