Installing multiple weewx instances with weewx 4

124 views
Skip to first unread message

Gert Andersen

unread,
May 14, 2020, 11:25:14 PM5/14/20
to weewx-user
Hi

I would like to know if there are some who have been successful in installing multiple weewx instances on the same computer and with weewx 4. First I tried with weewx-multi which I could not get to work. I have also tried 2 startup scripts where I have changed names so the weewx startup script points to its own .conf file. These 2 scripts are based on the startup script that comes with weewx4.

I also asked a question about weewx-multi here, but it's a very old thread not using weewx 4

System Ubuntu 20.04, weewx installed with apt(not install.py)

Before I go any further, it would be nice to know if this is possible. If anyone has multiple instances running using weewx 4, it would also be nice to know which method is used, weewx-multi or separate startup scripts

Thanks for your advice.

Gert

Garry A Lockyer

unread,
May 15, 2020, 1:18:07 AM5/15/20
to weewx...@googlegroups.com
I got two stations, a Vantage and a WeatherFlow, running under 3.9.x using information at https://github.com/weewx/weewx/wiki/weewx-multi.

Unfortunately I’m in the middle of implementing weewx 4 with python3 and the WeatherFlow driver doesn’t work with python3, so I’m done to one station.  But it just occurred to me that I could run a second Vantage!  I’ll try that tomorrow and get back to you.

Regards,

Garry Lockyer
E: Ga...@Lockyer.ca


On May 14, 2020, at 20:25, Gert Andersen <gert.a...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/91f0c07e-e6d2-4268-9144-d9fd98622fbb%40googlegroups.com.

Michael

unread,
May 15, 2020, 1:51:49 AM5/15/20
to weewx-user
i use weewx V4.0.0. multi as described here (https://github.com/weewx/weewx/wiki/weewx-multi) without any problems. installation type: setup.py
What exactly does not work?

Michael

Gert Andersen

unread,
May 15, 2020, 2:40:44 AM5/15/20
to weewx-user
Hi Michael

Sounds good it's possible. 

My installation is not based install.py and maybe that was the problem. Even if I changed the pointers to my installation, weewx-multi could not be started. Maybe I should try install.py.

Could you please post your files you use with weewx 4(weewx-multi used in init.d and weewx-mulite used in default)

Thanks a lot for looking

Gert

Michael

unread,
May 15, 2020, 3:33:26 AM5/15/20
to weewx-user
Hi Gert,

I don't think it has anything to do with the installation method.
My installation of weewx is in /home/weewx
And in this directory are also both .conf files.

Michael
weewx
weewx-multi

Gert Andersen

unread,
May 15, 2020, 3:45:29 AM5/15/20
to weewx-user
Hi Michael

Thanks a lot, I'll try once more. I'll let you know about the result.

Gert

steeple ian

unread,
May 15, 2020, 4:03:30 AM5/15/20
to weewx...@googlegroups.com
Multiple instances working well for me with WeeWX4.0.0 Python3.7 following the wiki instructions. I'm am using Debian10 (Raspbian) on a RaspberryPi4

I have tried it with setup.py and Deb package and both work fine using the multi startup script. Currently running three instances with setup.py install



--

Gert Andersen

unread,
May 15, 2020, 4:12:11 AM5/15/20
to weewx-user
Hi 

I have just installed using install.py and using the files from Michael and now it's working. 

Next step to use mqtt and Belchertown for 3 instances. 

Thanks for your help.

Gert

On Friday, May 15, 2020 at 10:03:30 AM UTC+2, steeple ian wrote:
Multiple instances working well for me with WeeWX4.0.0 Python3.7 following the wiki instructions. I'm am using Debian10 (Raspbian) on a RaspberryPi4

I have tried it with setup.py and Deb package and both work fine using the multi startup script. Currently running three instances with setup.py install



On Fri, 15 May 2020 at 04:25, Gert Andersen <gert.a...@gmail.com> wrote:
Hi

I would like to know if there are some who have been successful in installing multiple weewx instances on the same computer and with weewx 4. First I tried with weewx-multi which I could not get to work. I have also tried 2 startup scripts where I have changed names so the weewx startup script points to its own .conf file. These 2 scripts are based on the startup script that comes with weewx4.

I also asked a question about weewx-multi here, but it's a very old thread not using weewx 4

System Ubuntu 20.04, weewx installed with apt(not install.py)

Before I go any further, it would be nice to know if this is possible. If anyone has multiple instances running using weewx 4, it would also be nice to know which method is used, weewx-multi or separate startup scripts

Thanks for your advice.

Gert

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Tom Keffer

unread,
May 15, 2020, 8:16:24 AM5/15/20
to weewx-user
I run 3 instances of weewx V4 on one machine, all using the same code base, but different versions of weewx.conf. It should not be a problem.

It also doesn't matter how you install the code base. The key is weewx.conf. It contains the information on where each instance is to find its drivers, skins, database, etc.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/18170890-95e3-4465-b1a8-de7f80c99a9b%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages