Cumulus MX -> weewx

266 views
Skip to first unread message

Sidney

unread,
Mar 17, 2024, 7:09:30 PM3/17/24
to weewx-user
Hi, I would love to switch from Cumulus MX template to weewx. How can I become a tester to get the latest installation files please? Thank you. Sidney

Sidney

unread,
Mar 19, 2024, 8:06:32 PM3/19/24
to weewx-user
Hi, I believe I've successfully installed weewx. The manual says: 

After about 5 minutes (the exact length of time depends on your archive interval), copy the following and paste into a web browser. You should see your station information and data.

/var/www/html/weewx/index.html
Can anyone help me how to call for this index from another computer on the same network? I'm connected to my Raspberry over SSH and cannot open the browser there. Thank you.
Screenshot 2024-03-19 at 21.03.34.png

Sidney

unread,
Mar 19, 2024, 8:07:54 PM3/19/24
to weewx-user
And for example, when I want to view my CumulusMX Dashboard, I call for: "http://192.168.0.40:8998/"

Rainer Lang

unread,
Mar 19, 2024, 8:10:22 PM3/19/24
to weewx...@googlegroups.com

if you have a webserver installed, entering http://ip-address-of-the-weewx-server/weewx will show you the last created Seasons skin

--
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/d38aec43-a3c5-4d55-af04-78ac2c7fa02en%40googlegroups.com.

Rainer Lang

unread,
Mar 19, 2024, 8:12:41 PM3/19/24
to weewx...@googlegroups.com

correct, but weewx (its Seasons skin) doesn't have a realtime dashboard (except you install the mqtt based Belchertown skin).
The update interval is defined in weewx.conf and could go down to one minute instead of five minutes (in theory - in practice to be found out if the reports can complete in that short time)

--
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.

Sidney

unread,
Mar 19, 2024, 8:23:58 PM3/19/24
to weewx-user
Thank you for a quick response. web server is for sure installed as I do see Cumulus web server:
Screenshot 2024-03-19 at 21.20.46.png
When I try to go to http://192.168.0.40/weewx I'm getting  This site can’t be reached. Sorry for probably a silly question. Appreciate your support. THank you. 

vince

unread,
Mar 19, 2024, 9:57:24 PM3/19/24
to weewx-user
You didn't provide enough detail to really understand your setup.   Does Cumulus MX have some software it runs that responds on port 8998 ?

Did you even install a normal webserver such as nginx or apache ?   If not, see the wiki (link) for how to do install one and hook it together with weewx.

Sidney

unread,
Mar 19, 2024, 10:43:25 PM3/19/24
to weewx-user
Thank you, Vince. 
Seems I'm a bit lost in it and will be exploring it to find the trouble.

Sidney

unread,
Mar 19, 2024, 10:44:35 PM3/19/24
to weewx-user
And to explain... I got the Raspberry unit which was already running Cumulus MX software and now I'm trying to use weewx. But as I'm seeing for the first time, it seems a bit tough.

Rainer Lang

unread,
Mar 19, 2024, 10:54:09 PM3/19/24
to weewx...@googlegroups.com

@Sidney - I think you are confusing a few things and are comparing apples with pears.
You may not be aware of the functionality of and the need to have a webserver (program).
CumulusMX has an inbuilt webserver, but not one which is available to users other than the CMX users.
So when you can reach CMX via a defined port and the URL of your weewx server e.g. IP:8998 this doesn't mean that a generally available webserver is installed.

So, as Vince already mentioned, a webserver like nginx or apache2 needs to be installed for you to see the weewx skin via a browser via the URL.
You can of course open /var/www/html/weewx/index.html in a web browser by loading it into the browser, but to reach it via the URL ip-address/weewx a webserver is needed which has access to the html-root (default /var/www/html) and subdirectories and replies to your http request.

Sidney

unread,
Mar 19, 2024, 10:58:18 PM3/19/24
to weewx-user
I do follow now. Thank you for the explanation. I'm now trying to install a web server to get the page load on the local network. Let's see whats next then. Thanks again.

Sidney

unread,
Mar 19, 2024, 11:35:06 PM3/19/24
to weewx-user
I was able to instal nginx. yay! Thanks for advising me.
Screenshot 2024-03-20 at 0.26.53.png
I'm now trying:
change the skin and get out of simulation to real data. Unfortunately, I have no luck with it.
I'm using the following:

# Stop the daemon sudo systemctl stop weewx # Reconfigure to use your hardware weectl station reconfigure # Delete the old database rm /var/lib/weewx/weewx.sdb # Start the daemon sudo systemctl start weewx
But seems it does not reflect my selected meteo station and keeps using Simulation. 

The same with skin which I try to change in etc/weewx/weewx.conf but it does not reflect anything.

I'm sorry for these questions, your support is very helpful.

Rainer Lang

unread,
Mar 19, 2024, 11:42:51 PM3/19/24
to weewx...@googlegroups.com

I'm not sure if you have understood the weewx concepts ...

What would be the use of changing skins - except you don't like the Seasons skin ....
But  before you do this, you better get weewx running with the default Seasons skin.
Once running, you can add or switch skins.

You probably want to use data from your station - then you have to change your station, not the skin

You need to install the driver for your station ...

So you have to install the respective weewx driver for your station which would then replace the Simulator station.

What's your station ? Brand, model ?

Sidney

unread,
Mar 20, 2024, 12:07:42 AM3/20/24
to weewx-user
Type: Davis Vantage Pro2/Vue 
Station model: WeatherDuino 4Pro DB 
Connection: TCP/IP 

Thank you Rainer. 

Rainer Lang

unread,
Mar 20, 2024, 12:20:29 AM3/20/24
to weewx...@googlegroups.com

Rainer Lang

unread,
Mar 20, 2024, 12:33:24 AM3/20/24
to weewx...@googlegroups.com

in addition, look up

https://weewx.com/docs/5.0/utilities/weectl-station/#create-a-new-station-data-directory

there you find the example how to create a Vantage station (of course the values for altitude, longitude, latitude have to be replaced by your values)

weectl station create --no-prompt --driver=weewx.drivers.vantage \
    --altitude="400,foot" --latitude=45.1 --longitude=-105.9 \ 
    --location="My Special Station"

the result should be a properly configured weewx.conf

Sidney

unread,
Mar 20, 2024, 12:39:35 AM3/20/24
to weewx-user
Thank you. I'm on it. Getting some issues error messages unfortunately. Do you please have an idea what's wrong?

root@kralovice:~# weectl device --info

Using configuration file /etc/weewx/weewx.conf

Using driver weewx.drivers.vantage.

Using Vantage driver version 3.6.2 (weewx.drivers.vantage)

Traceback (most recent call last):

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 354, in openPort

    self.socket.connect((self.host, self.port))

socket.timeout: timed out


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/usr/share/weewx/weectl.py", line 74, in <module>

    main()

  File "/usr/share/weewx/weectl.py", line 42, in main

    weectllib.device_actions.device()

  File "/usr/share/weewx/weectllib/device_actions.py", line 91, in device

    configurator.configure(config_dict)

  File "/usr/share/weewx/weewx/drivers/__init__.py", line 71, in configure

    self.do_options(options, parser, config_dict, not options.noprompt)

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2238, in do_options

    station = Vantage(**config_dict[DRIVER_NAME])

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__

    self.port.openPort()

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in openPort

    raise weewx.WeeWxIOError(ex)

weewx.WeeWxIOError: timed out

root@kralovice:~# weectl device --info

Using configuration file /etc/weewx/weewx.conf

Using driver weewx.drivers.vantage.

Using Vantage driver version 3.6.2 (weewx.drivers.vantage)

Traceback (most recent call last):

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 354, in openPort

    self.socket.connect((self.host, self.port))

socket.timeout: timed out


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/usr/share/weewx/weectl.py", line 74, in <module>

    main()

  File "/usr/share/weewx/weectl.py", line 42, in main

    weectllib.device_actions.device()

  File "/usr/share/weewx/weectllib/device_actions.py", line 91, in device

    configurator.configure(config_dict)

  File "/usr/share/weewx/weewx/drivers/__init__.py", line 71, in configure

    self.do_options(options, parser, config_dict, not options.noprompt)

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2238, in do_options

    station = Vantage(**config_dict[DRIVER_NAME])

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__

    self.port.openPort()

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in openPort

    raise weewx.WeeWxIOError(ex)

weewx.WeeWxIOError: timed out

Message has been deleted

gary....@gmail.com

unread,
Mar 20, 2024, 10:23:18 AM3/20/24
to weewx-user
Is your CMX install still active? My logger doesn't accept multiple connections.

Sidney

unread,
Mar 20, 2024, 11:33:57 AM3/20/24
to weewx-user
Ah, I see. Yes, I have CMX active and need to keep it alive :(
Reply all
Reply to author
Forward
0 new messages