Longitude setting incorrect

66 views
Skip to first unread message

Craig Young

unread,
Aug 24, 2023, 5:11:07 PM8/24/23
to weewx-user
New installation on Raspberry PI.  All is working, am using the simulator to start with.  The longitude is 175 E but is always showing up in the browser as 175 W.  The documentation says "-" is for W longitude.  I opened and edited conf file and it does indeed show positive on the browser, but still displays W as the longitude.

How do I change this?

Craig

Craig Young

unread,
Aug 24, 2023, 5:14:36 PM8/24/23
to weewx-user
In addition, I did stop the service, edited conf file, saved conf file and the restarted service.

Craig

Tom Keffer

unread,
Aug 24, 2023, 6:21:01 PM8/24/23
to weewx...@googlegroups.com
On Thu, Aug 24, 2023 at 2:11 PM Craig Young <craig.y...@gmail.com> wrote:
I opened and edited conf file and it does indeed show positive on the browser, but still displays W as the longitude.

Not following. What do you mean by "show positive on the browser"?

Perhaps you can post your [Station] section?

Craig Young

unread,
Aug 24, 2023, 6:34:40 PM8/24/23
to weewx-user
Here is the screenshot
Station.jpg

Craig Young

unread,
Aug 24, 2023, 6:37:06 PM8/24/23
to weewx-user
In the conf file the number is positive.  The documentation states "-" is W.  When I installed the software I had a "-" in front of longitude.  I changed this in the conf file to positive by removing the "-" and saved.  So I now have a positive number in conf file but a W on the GUI panel.

Tom Keffer

unread,
Aug 24, 2023, 7:11:54 PM8/24/23
to weewx...@googlegroups.com
Humor me. Show the [Station] section. 

Also, make sure that the file you are editing is the file that WeeWX is actually using. You can tell which configuration file is actually being used by checking the log. Shortly after startup, weewxd will log the path to the configuration file.

Trust me. This will turn out to be a simple problem.

--
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/9f8eda34-f998-478f-be42-1b4506035931n%40googlegroups.com.

Craig Young

unread,
Aug 24, 2023, 8:47:36 PM8/24/23
to weewx-user
I got it fixed by rebooting the pi.  Now it shows E longitude.  Does that mean I need to do this each time I change the conf file?

Tom Keffer

unread,
Aug 24, 2023, 9:18:58 PM8/24/23
to weewx...@googlegroups.com
No. You should only have to restart weewxd. not reboot.

I would guess that weewxd was not actually restarted. You can tell by looking at the log.

Reply all
Reply to author
Forward
0 new messages