[GH-ISSUE #328] Q: EEPROM storage for MQTT access data #276

Closed
opened 2026-02-28 01:24:27 +03:00 by kerem · 3 comments
Owner

Originally created by @ghost on GitHub (Mar 4, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/328

I want to put the MQTT access data into the EEPROM, without an additional SD card. I'm not a good programmer and I'm looking for a good example. I am afraid that I will overwrite the EEPROM data of the WiFiManager.

Originally created by @ghost on GitHub (Mar 4, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/328 I want to put the MQTT access data into the EEPROM, without an additional SD card. I'm not a good programmer and I'm looking for a good example. I am afraid that I will overwrite the EEPROM data of the WiFiManager.
kerem closed this issue 2026-02-28 01:24:27 +03:00
Author
Owner

@tzapu commented on GitHub (Mar 4, 2017):

hi

see my sonoff boilerplate, it should have all you need and then some

cheers

On 4 Mar 2017, at 11:35, ASeerig notifications@github.com wrote:

I want to put the MQTT access data into the EEPROM, without an additional SD card. I'm not a good programmer and I'm looking for a good example. I am afraid that I will overwrite the EEPROM data of the WiFiManager.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/328, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2FkAhLbsqSgeT-3T5Ejl8vbtEiIPAzks5riTBXgaJpZM4MTCQz.

<!-- gh-comment-id:284140592 --> @tzapu commented on GitHub (Mar 4, 2017): hi see my sonoff boilerplate, it should have all you need and then some cheers > On 4 Mar 2017, at 11:35, ASeerig <notifications@github.com> wrote: > > I want to put the MQTT access data into the EEPROM, without an additional SD card. I'm not a good programmer and I'm looking for a good example. I am afraid that I will overwrite the EEPROM data of the WiFiManager. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <https://github.com/tzapu/WiFiManager/issues/328>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AC2FkAhLbsqSgeT-3T5Ejl8vbtEiIPAzks5riTBXgaJpZM4MTCQz>. >
Author
Owner

@ghost commented on GitHub (Mar 7, 2017):

Hello, the mqtt implementation has worked well.
I wanted to add the "alias" as another value, but I do not get it. I read with server and alias always the same value.
What the hell does the value "#define EEPROM_SALT 12667"

In principle, the node should use the ChipID as a prefix for the topic. Via the alias (example: "bathroom") I can set the location over the Frontend.

My current code is here:
Https://github.com/aseerig/SensorNode.git

Can you give me a tip for implementing another value?

<!-- gh-comment-id:284761441 --> @ghost commented on GitHub (Mar 7, 2017): Hello, the mqtt implementation has worked well. I wanted to add the "alias" as another value, but I do not get it. I read with server and alias always the same value. What the hell does the value "#define EEPROM_SALT 12667" In principle, the node should use the ChipID as a prefix for the topic. Via the alias (example: "bathroom") I can set the location over the Frontend. My current code is here: Https://github.com/aseerig/SensorNode.git Can you give me a tip for implementing another value?
Author
Owner

@merlokk commented on GitHub (Apr 19, 2017):

library to work with eeprom here
https://github.com/merlokk/SmartHome/blob/master/lib/xparam.h

<!-- gh-comment-id:295250747 --> @merlokk commented on GitHub (Apr 19, 2017): library to work with eeprom here https://github.com/merlokk/SmartHome/blob/master/lib/xparam.h
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#276
No description provided.