You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's possible to parse a human readable config.py file and output it as equally readable after updates, but it seems much simpler to use json.dump(config_dict, filename, indent = 4) to make it fairly human readable for hacking and dev, but very python readable and rely on a config web page for truly human readable non-coders to interact.
This will require:
Refactoring the config file into JSON (including the config checker as this will be crucial for OTA changes to config and firmware) - Logged issue Refactor SMIBHID config.py into config.json #250
Writing a basic web UI that shows all config values and allows updating and saving (can expand into type checking and fancy widgets for incrementing numbers etc. and displaying which entries need a reset to apply).
Call check config before applying to improve the odds of surviving a config change
Have a web page show the config values and allow you to update them.
New config would be written out to config file and reinit/restart to apply.
The text was updated successfully, but these errors were encountered: