Open nagisa opened 11 months ago
@nagisa it sound like you could be the ideal person to volunteer to write such examples ;)
Yeah, please assign; can’t do it myself. Filed this issue entirely upon request by a reviewer and to keep track of the TODO in the source code.
@nagisa Purely out of curiosity, is there a solid reason for adding Module Things in the Bridge Thing text file? (as opposed to adding via the Main UI where all these properties can be added / edited with ease.
For example, are you creating a script to automatically create Things files from a VelbusLink config file?
I'm allergic to the mouse. As a person close to code I'm also much more comfortable with textual representation of things. It brings me a peace of mind knowing that I can put these text files in another system, plug the cables and get back an instantly working system (even if the previous one happened to meet with its maker.) In fact my entire system is configured this way, not just OpenHAB, and the move from an older server to the new one took me exactly 10 minutes to get back to a fully configured system (plus the time it took to copy over the media files…)
I'm allergic to the mouse. As a person close to code I'm also much more comfortable with textual representation of things. It brings me a peace of mind knowing that I can put these text files in another system, plug the cables and get back an instantly working system (even if the previous one happened to meet with its maker.) In fact my entire system is configured this way, not just OpenHAB, and the move from an older server to the new one took me exactly 10 minutes to get back to a fully configured system (plus the time it took to copy over the media files…)
I completely understand that.
I am 90% the same, expect that I add the Module Things via the UI so that they can be re-profiled easily when updates to the binding are rolled out.
What I love is that there is no fixed way to achieve the same end goal.
See the
TODO
reference to this issue in the velbus module’s README.In short, there’s an example that reads along the lines of
however the specific modules can also accept various properties (such as those specifying subaddresses.) The example should ideally demonstrate specification of these properties.