Thanks Tom,

It worked like a charm!

A small typo in your second line:
--output=weewx_vpro_conf.new
must be
--output=weewx_vpro.conf.new

I have modified all my dedicated *.conf files and found a few lines in the 
[[Calculations]] section which should not be there.

Luc

On Sunday, 12 April 2020 13:58:12 UTC-3, Tom Keffer wrote:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> 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/cec9f36e-fc8f-48c9-82ac-680ad75cd201%40googlegroups.com.

Reply via email to