Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosing all data from setup and automation #100

Open
Krky1 opened this issue Oct 21, 2021 · 2 comments
Open

Loosing all data from setup and automation #100

Krky1 opened this issue Oct 21, 2021 · 2 comments

Comments

@Krky1
Copy link

Krky1 commented Oct 21, 2021

Hi, I have a problem with storing setting in my controller.
I am using Wemos d1mini V3, i try with Wemos d1mini pro, and have same issue.
Every time I turn off the power all settings are lost (Temperature sensor addresses, PID tuning setup and everything).
also when I update automation process over network when press set everything is lost.
it seems there is some problem with writing and storing data in EEPROM.
any help?

@vitotai
Copy link
Owner

vitotai commented Oct 26, 2021

  1. try another d1mini. There are so cheap that quality control seems to be an issue.
  2. try formatting the file system. You can find how to do it in the document.
  3. Try disconnecting d1mini from the board. Connect it direct to your PC, and try saving the settings and etc.

@Krky1
Copy link
Author

Krky1 commented Oct 28, 2021

Problem solved,
SPI/FSS was not defined correctly.
In platformio.ini file line 152 changed from:
build_flags = -Wl,-Tesp8266.flash.4m.ld -DMultipleSensorEnabled=true
to
build_flags = -Wl,-Tesp8266.flash.4m2m.ld -DMultipleSensorEnabled=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants