mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #603] Including max6675 library invalidates settings #502
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#502
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 @PiteousHonking on GitHub (Apr 30, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/603
----------------------------- Remove above -----------------------------
Basic Infos
Adding the max6675 library to a sketch causes settings invalidated error
Hardware
WiFimanager Branch/Release: Development
Hardware: Esp8266 WemosD1
https://github.com/adafruit/MAX6675-library 1.0 installed
Arduino 1.8.5 IDE
Description
The attached code works as expected, creates an AP, stores wifi settings and Blynk auth token and connects to Blynk server sucessfully
If I include the max6675.h library ait will run through the same process but fail to connect to the Blynk server with the error:
*WM: settings invalidated
*WM: THIS MAY CAUSE AP NOT TO START UP PROPERLY. YOU NEED TO COMMENT IT OUT AFTER ERASING THE DATA.
(⸮)⸮R(⸮⸮⸮
Comment out the max665.h library and it works again. Also posted on the blynk forum but it seems to be a wifimanager/max6675 issue.
Settings in IDE
Module: Wemos D1
Additional libraries: https://github.com/adafruit/MAX6675-library
Sketch
Debug Messages
@felipepereira92 commented on GitHub (Jun 17, 2018):
I'm also with this problem. We need help!!!
@tablatronix commented on GitHub (Jun 17, 2018):
settings invalidated means something called resetSettings() explicitly. And that makes no sense, check your code.
@PiteousHonking commented on GitHub (Jun 17, 2018):
Can you expand on what you mean, is there a way of determining what it is that's calling resetSettings?
@tablatronix commented on GitHub (Jun 17, 2018):
That sketch is surely not your entire code
@tablatronix commented on GitHub (Jun 17, 2018):
I cant even get blynk to connect, it just sits in blynk.connect loop.
hmm
@tablatronix commented on GitHub (Jun 17, 2018):
ahh I forgot #define BLYNK_PRINT Serial
@tablatronix commented on GitHub (Jun 17, 2018):
I cannot reproduce so this must be in your code. Not sure what else to test here.
@felipepereira92 commented on GitHub (Jun 17, 2018):
I got, i include the send sensor, BlynkTimer and i cheked the pins (D4, D5 and D6) because i had chnged.
@consolacion commented on GitHub (Oct 6, 2018):
I don't think it is 'his code' I have the same problem with the unaltered example code "autoconnect with custom parameters"
@tablatronix commented on GitHub (Oct 6, 2018):
Settings invalidated come from wm.resetSettings
There is no other reason for it occur unless you are calling it
@consolacion commented on GitHub (Oct 6, 2018):
Thanks, I see the example called that 'for testing'.
I understand now. Learning every day :-)
@tablatronix commented on GitHub (Oct 6, 2018):
I just commented it out in that one example in developement , it was not supposed to be active
oops sorry
@consolacion commented on GitHub (Oct 6, 2018):
That might be a good idea. I overlooked it as I thought that was what the
SPIFFS.format();
was for :-) But I start to understand the code better now. Tnx