You may want to check out this project already doing this, its great and I use it.
https://github.com/mlukasek/M5_NightscoutMon#the-syntax-of-m5nsini-configuration-file
You may want to check out this project already doing this, its great and I use it.
https://github.com/mlukasek/M5_NightscoutMon#the-syntax-of-m5nsini-configuration-file