It's possible to do it using the tool wee_config. For example (NOT TESTED):
cd /home/weewx python3 ./bin/wee_config --upgrade --config=weewx_vpro.conf --dist-config=weewx.conf.4.0.0b18 --output=weewx_vpro_conf.new # (Check over weewx_vpro_conf.new, then) mv weewx_vpro.conf weewx_vpro.conf.backup mv weewx_vpro.conf.new weewx_vpro.conf -tk On Sun, Apr 12, 2020 at 8:41 AM Lucas Heijst <[email protected]> wrote: > Tom, > > On several of my systems more than one weewx instance is run, so I have > created a weewx.conf for each instance like: > weewx_vpro.conf (vantage driver) > weewx_mstk.conf (meteostick driver) > weewx_klim.conf (klimalogg driver) > weewx_rtld.conf (rtldavis driver) > weewx_tfrc.conf (tfrec driver) > weewx_mben.conf (modbus energy driver) > weewx_cmon.conf (computer monitor driver) > > With an update of weewx only the file 'weewx.conf' is checked and changed. > > Would it be difficult to check and change all weewx*.conf files in the > /home/weewx directory as well? > Now I have to rename them one by one to weewx.conf, do the upgrade and > rename them back afterwards. > > Luc > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-development/a62bc30b-2fea-48e0-be73-1f59c66bb9e2%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/a62bc30b-2fea-48e0-be73-1f59c66bb9e2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEBAiJbUN4UuCcCju2w3D0AgBaURz9ezcckgrEAYTw2hzw%40mail.gmail.com.
