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

Backup doesn't contain/restore MQTT settings #284

Closed
xvisor16 opened this issue Feb 23, 2024 · 4 comments
Closed

Backup doesn't contain/restore MQTT settings #284

xvisor16 opened this issue Feb 23, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@xvisor16
Copy link

Hardware

ESP32

Firmware version

v2.3.1

Application version

v2.3.1

What happened? What did you expect to happen?

I wanted to update and this failed with a Github error. After that ESPSomfy crashed at trying to access the webinterface. I reinstalled the ESP32 with the latest onboard file (v2.4.0) through ESPHome. Setup Network and restored the last backup. Everything seemed fine except that MQTT wasn't working anymore. Upon checking all settings MQTT was disabled and all the settings missing

How to reproduce it (step by step)

1. Reinstall from scratch through ESPHome.
2. Install the latest onboard bin file (v2.4.0).
3. Setup networking (WiFi).
4. Recover from the latest backup (was from v2.3.1).

Logs

No response

@xvisor16 xvisor16 added the bug Something isn't working label Feb 23, 2024
@rstrouse
Copy link
Owner

MQTT settings are not included in the backup file by design.

Please read the reasoning for this in the wiki.

https://github.com/rstrouse/ESPSomfy-RTS/wiki/Configuring-the-Software#backup-and-restore

@xvisor16
Copy link
Author

Thnx, I should probably start re-reading the Wiki every update ;) I do understand the reasoning behind not storing usernames, passwords and wifi information in plain text backups. But isn't it an option to at least store the selected options and the MQTT topic's leaving the server and the credentials out? This would be safe enough wouldn't it?

@rstrouse rstrouse added enhancement New feature or request and removed bug Something isn't working labels Feb 24, 2024
@rstrouse
Copy link
Owner

The MQTT topics and the auto configure option do make sense. I'll add it to the list.

@rstrouse
Copy link
Owner

v2.4.0 release backs up and restores the MQTT settings sans username and password.

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

No branches or pull requests

2 participants