weewx.conf-5.1.0 location field under [Station]

43 views
Skip to first unread message

tmia...@gmail.com

unread,
Aug 31, 2025, 5:50:20 PM (7 days ago) Aug 31
to weewx-user
Can the location field be lengthened?  Can the field be made multi-line?  What are the default limits (number of characters and number of lines) of the field?

Tom Keffer

unread,
Aug 31, 2025, 6:14:38 PM (7 days ago) Aug 31
to weewx...@googlegroups.com
The location field can be as long as you like (within whatever limits ConfigObj imposes). 

Unfortunately, ConfigObj does not allow fields to be split between lines in the configuration file, so you have to write it as a very long line on a single line.

Or, do you mean that you want it to be rendered as multi-line? In that case, you can embed HTML line breaks (<br/>) like this:

    location = "123 Main St.<br/>My Town, PA<br/>USA"

You might have to fiddle with the CSS to get it to display properly.

-tk

On Sun, Aug 31, 2025 at 2:50 PM tmia...@gmail.com <tmia...@gmail.com> wrote:
Can the location field be lengthened?  Can the field be made multi-line?  What are the default limits (number of characters and number of lines) of the field?

--
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 visit https://groups.google.com/d/msgid/weewx-user/b4422e17-9088-46f2-97d2-4442904045bbn%40googlegroups.com.

Russell Harris

unread,
Aug 31, 2025, 6:31:46 PM (7 days ago) Aug 31
to weewx...@googlegroups.com
Thanks, Tom; that is what I needed to know. I begin my location with
the string, "Deep in the Heart of Texas..." and terminated it, "... 5
miles south of Smithville." but upon the last installation (5.1.00
things hung until I shortened the string. I settled for "GMT clock".
www.alysonwonderland.org.
> To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECk5mB84_s_zs%2B6EH5UXTZ2EAcn%2BwQztA0KKM1bcbLNaA%40mail.gmail.com.

Tom Keffer

unread,
Aug 31, 2025, 9:10:22 PM (7 days ago) Aug 31
to weewx...@googlegroups.com

Russell Harris

unread,
Aug 31, 2025, 10:29:29 PM (7 days ago) Aug 31
to weewx...@googlegroups.com
As best as I recall events of a couple of weeks ago, with a long
string, I would type the restart command, but subsequently typing the
status command revealed that the restart did not occur. I shortened
the string twice, and finally the system restarted.

system configuration:

= weewx 5.0.1 installed on a Dell Vostro 200, running on UPS

= Vostro 200 has fresh install of Debian 12, and is dedicated to weewx

= installation via weewx Debian procedure (not pip)

= Davis Vantage Pro2 wireless, six or seven years old

= Davis USB datalogger, connected directly to Vostro USB port

= upload at 5 minute intervals to www.alysonwonderland.org (shared
hosting on hostgator)

I shall be glad to run any diagnostics you wish.

RLH
> To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAPq0zED7Erb6hhPrU3%3D-gFkgvDDZvnqATRmRJEm_ApuqRV6%3DcA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages