- Improve config system allowing a user customizable config_override.h file to ensure git pulls don't require merges

- Move DTU_RADIO_ID to config.h to allow for easy customization for multiple DTUs with non conflicting radio IDs
This commit is contained in:
Oliver Fueckert 2022-08-30 08:52:47 +02:00
parent 348ad4bd07
commit 7fc57ffc8c
6 changed files with 45 additions and 4 deletions

View file

@ -20,10 +20,12 @@ This code can be compiled using Visual Studio Code and **PlatformIO** Addon. The
### Optional Configuration before compilation
- number of supported inverters (set to 3 by default) `defines.h`
- DTU radio id `hmRadio.h`
- number of supported inverters (set to 3 by default) `config.h`
- DTU radio id `config.h` (default = 1234567801)
- unformated list in webbrowser `/livedata` `config.h`, `LIVEDATA_VISUALIZED`
Alternativly, instead of modifying `config.h`, `config_override_example.h` can be copied to `config_override.h` and customized.
config_override.h is excluded from version control and stays local.
## Flash ESP with firmware