(for others in the future) - a nice user 'James-76'  replied to the github 
issue I opened and mentioned that if you set "group_distance = km" when 
editing your weewx.conf file per Pat's instructions, it indeed does show 
the earthquake distance in km.

The underlying issue was a line previously missing from Pat's docs online, 
which he's fixed already.

So Belchertown works as expected with metric units.  See Pat's online 
readme for the updated edits to go metric.

On Tuesday, November 2, 2021 at 5:52:36 PM UTC-7 vince wrote:

> I'm giving up at this point. You continue to decline to set debug=1 and 
> provide us with *updated* logs and verbatim transcripts of what you're 
> seeing and doing.  We can't read minds.  Sorry.
>
> FWIW, there's nothing wrong with Raspbian. I retested on a pi updated to 
> current os and Belchertown works just fine when set to your AU locale with 
> the exception that the earthquake does still display in miles (I opened a 
> github issue to Pat on this yesterday so he's aware of it).
>
> The weewx.conf I used (gzipped) vs. the simulator driver is attached. 
>  There is no magic required here on this one.
>
> On Tuesday, November 2, 2021 at 3:50:23 PM UTC-7 [email protected] wrote:
>
>> I have done everything suggested so far with the same results.
>>
>> Is there a list of prerequisites for both Weewx and Belchertown, as I am 
>> beginning to think that I am missing a component that is needed to display 
>> these extra sets of information.  Alternatively could it be an order of 
>> precedence in the positioning of each option in the .conf files.  I am 
>> getting this feeling as there are no errors in the logs when I try 
>> activating these options and they do not appear.
>>
>> I might add that I have managed to kill WeeWx a couple of times with some 
>> of my attempts to try different things and managed to get it back.
>>
>> By the way I am using the current release of Rasbian (RasberryP1 4)  So 
>> there may a limitation here as well.
>>
>> Cheers
>>
>> On Tuesday, November 2, 2021 at 5:35:04 AM UTC+11 vince wrote:
>>
>>> ok - I installed weewx 4.5.1 and the latest Belchertown from git to 
>>> catch up with all changes since the last release, set my system locale to 
>>> yours, and set the units to metric.  All edits were made in weewx.conf and 
>>> there are no errors when it runs for me over debian11.
>>>
>>> Problems I can replicate:
>>>
>>>    - earthquake distance using the USGS source 'is' in miles not km 
>>>    (likely a Belchertown bug)
>>>    
>>> Problems I can not replicate:
>>>
>>>    - Aeris forecast works
>>>    - Air quality works
>>>    - Facebook (ugh) like button is there
>>>    - Share button is there
>>>    - Twitter button is there
>>>
>>> I might add that if you install the latest Belchertown skin from his git 
>>> repo (not the released version), it will add template commented-out stanzas 
>>> for all the configuration items.   There is one bug there too, when I sent 
>>> the Pull Request to Pat a while back to add the configurable items in the 
>>> right places, I added two 'twitter_owner' lines in there.  Be sure that if 
>>> you use the latest (unreleased) version that you have only one 
>>> twitter_owner or weewx will rightly barf on startup.  I'll send Pat a note 
>>> in a minute to correct my error there.
>>>
>>> On Monday, November 1, 2021 at 9:47:01 AM UTC-7 vince wrote:
>>>
>>>> It is close to impossible to help when you post such cryptic 
>>>> descriptions of what you are seeing (or not seeing) and basically no 
>>>> descriptions of what you typed at the shell console nor what you see.   At 
>>>> this point I'd suggest dropping back to square one re: Belchertown and 
>>>> taking a more slow and steady approach.
>>>>
>>>> First of all:
>>>>
>>>>    - *set debug=1 in your weewx.conf so we see more debugging info*
>>>>    - disable all skins other than the Seasons or Standard skin
>>>>    - restart weewx
>>>>    - look at the 'one' enabled skin's output - do you see your weather 
>>>>    data in the units you want ?
>>>>
>>>> If that works:
>>>>
>>>>    - save a copy of your weewx.conf file someplace
>>>>    - *uninstall the Belchertown skin*
>>>>    - remove all Belchertown sections from your weewx.conf
>>>>    - save 'another' copy of your weewx.conf so we can verify (if later 
>>>>    needed) that you really cleaned weewx.conf up completely
>>>>    - install the Belchertown skin again
>>>>    - change 'nothing' yet regarding Belchertown 
>>>>    - restart weewx - does a bare minimum Belchertown have the units 
>>>>    you want ?
>>>>
>>>> If so, work adding 'one' item to Belchertown at a time:
>>>>
>>>>    - do one thing, restart weewx, check your output, verify it works 
>>>>    and has your desired units
>>>>    - do the next thing similarly, and so on
>>>>
>>>>
>>>>
>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6d2bde43-afba-461f-8fb6-2c49bde2d68bn%40googlegroups.com.

Reply via email to