List of Config options that users can define #219
Replies: 2 comments 1 reply
-
As a new user I give this a bit thumbs up and would love to help. I'm going to start a tutorial document that can hopefully live in the Wiki to help other new users but I believe a bit of a refactor of the user-configurable options would be great too. For example, I believe (I could be wrong!) the follow to configurations are very similar in their function, but very different in their naming:
and
I get that sensors and gateways have different roles but it's amazing how much little things like this can throw a complete new user. Another thing I've been doing is making a document with all the correct settings for my different ESP devices. Is there currently any mechanism to contribute these to a separate include file named after the device and then just include the device you have rather than manually configuring all the pins? It would be great to crowd source a library of device configurations to live in the project. Stu |
Beta Was this translation helpful? Give feedback.
-
Could consolidate all the lines with pin definitions into one section of the conf file and then surround the lines with #ifndef/#endif as example below:
Then supply other conf files for each board and in those conf files #define PINCONF so that those lines are used instead of the files in the node_conf or gateway_conf file. board pin config file could be called something like Would contain all the default pin definitions for the Hallard Shield and thus replace the pin definitions in the node_conf or gateway_conf file. Hope that makes sense. |
Beta Was this translation helpful? Give feedback.
-
From PR #216:
"My idea: I think we should start a list of configs that the user can define. Then we can add a quick bit of documentation to the config file about how local vs. global configs work, as well as the list of configs that can be defined locally. Then I'd like to condense the configs a bit and remove seldom-used options like the MQTT topics and static IP configs (they'll be moved to the list), plus move the WiFi credentials and MQTT info closer to the top. I'll think about the blurb and try to get those changes submitted in the next couple days."
Beta Was this translation helpful? Give feedback.
All reactions