Closed willemdh closed 6 years ago
Did some more work. Rearanged the args, so verbose and debug work consistently now, splitup some stuff into functions and further finished the exportfile. There are less default values now when there is no /var/tmp/FireMotD.json
. This means less overhead for systems without specific software and more flexibility. Feedback is welcome.
@ThomDietrich @dimon222 Going to accept this pr tomorrow unless negative review fyi. Grtz!
A good step forward. I would anyhow recommend to divide the content of the full script at some point. I did that to the bigger project that includes FireMotD (openhabian) and it has shown great benefits.
Please review this change. It's the first step in moving the json config out of the FireMotD. script. That way, we can make different config jsons and allow users to only select a few items out of the full reference. it's just a PoC for now, ideas are welcome. :)