I found a way to get the loop data as I would like it, after posting on
github, I got a pointer.
This is how it went...
The simplest/least amount of converting was to set METRICWX for mqtt data
as it otherwise defaulted to US units.
For anyone else interested and as a reminder to my future self, here's what
I did.
In weewx.conf, add within MQTT stanza...
[[MQTT]]
unit_system = METRICWX
[[[inputs]]]
[[[[windSpeed]]]]
units = mile_per_hour
[[[[windSpeed10]]]]
units = mile_per_hour
[[[[windGust]]]]
units = mile_per_hour
I still need to figure out why my web facing page doesn't load the live
mqtt data....
Nigel
On Wednesday, 17 June 2026 at 08:19:39 UTC+1 R wrote:
> https://steepleclaydonweather.uk/ works and takes me to a landing page
>
> https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/ comes
> up with a 404 error when I hit the link in your original post. I thought it
> opened a document when I quickly looked at it a few days ago.
>
> On Wednesday, 17 June 2026 at 16:30:46 UTC+10 steepleian wrote:
>
>> Just checked, it’s working for me. The link takes you to a landing page
>> where you can select different skins.
>>
>> I did try an update to new-belchertown last night which virtually broke
>> everything. The menu buttons and two hamburger buttons displaying all the
>> time from wide screen to phone. MQTT connection also broke. In the end I
>> had to roll all the way back to a pre June 13 version. I presume this
>> problem is related to BootStrap changes.
>>
>> It would probably be better if beta changes were restricted to a
>> development branch and not buried in the master branch.
>>
>> https://steepleclaydonweather.uk
>>
>> On 17 Jun 2026, at 03:57, R <[email protected]> wrote:
>>
>> Ian,
>>
>>
>> Your link is giving me a 404 error, is it still available or has it moved?
>>
>>
>> On Monday, 15 June 2026 at 19:47:44 UTC+10 steepleian wrote:
>>
>>> If it is any help, I have created documentation on how to setup
>>> new-Belchertown MQTT using reverse proxy through a cloudflared tunnel. You
>>> can find it here: -
>>> Publishing Local Services Through a Cloudflare Tunnel — No Open Ports,
>>> with Cloudflare Access
>>> <https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>
>>> belchertown.steepleclaydonweather.uk
>>> <https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>
>>> [image: favicon.ico]
>>> <https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>
>>> <https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>
>>>
>>> On 15 Jun 2026, at 03:46, John Smith <[email protected]> wrote:
>>>
>>>
>>>
>>> I just noticed you are only using the mqtt javascript from Cloudflare,
>>> in that cause you'll need to port forward on your router etc
>>>
>>> On Mon, 15 Jun 2026 at 12:43, John Smith <[email protected]> wrote:
>>>
>>>> You need to set the host and change the port, if you open your website
>>>> over the net then open the console (F12 and click on the console tab) you
>>>> will see these errors
>>>>
>>>> paho-mqtt.min.js:37 WebSocket connection to 'ws://wx:9001/mqtt' failed:
>>>>
>>>>
>>>> Since you seem to be using Cloudflare, the port needs to be 80 for
>>>> websocket or 443 for wss, and the hostname needs to match whatever
>>>> hostname
>>>> you are pointing to your mqtt server
>>>>
>>>> On Mon, 15 Jun 2026 at 04:10, Devonian <[email protected]> wrote:
>>>>
>>>>> I should add to my post above that Chrome and MS Edge are happy with
>>>>> local (LAN) connections and display live data, but not over the web.
>>>>>
>>>>> On Sunday, 14 June 2026 at 19:05:54 UTC+1 Devonian wrote:
>>>>>
>>>>>> I have installed New Belchertown and basically have it running OK.
>>>>>> However, it is displaying US units and what I would like is uk2
>>>>>> style. That is, a mix of metric and imperial, e.g. wind speed in MPH
>>>>>> and
>>>>>> temperature in Centigrade and rain in millimetres etc.
>>>>>> How can I achieve that as the mqtt loop data is imperial (US)?
>>>>>> I'm likely missing something, but don't want to meddle as this is
>>>>>> above me now.
>>>>>> You can see it here:
>>>>>> http://www.nthead.co.uk/wx (for weewx)
>>>>>> and
>>>>>> http://www.nthead.co.uk/new-belchertown/ (for New-Belchertown) -
>>>>>> Chrome and MS Edge don't like to display the live/loop data but Firefox
>>>>>> and
>>>>>> Safari are happy?!
>>>>>> Any ideas on both 'issues' above?
>>>>>>
>>>>>> Regds,
>>>>>> Nigel
>>>>>>
>>>>>> On Thursday, 11 June 2026 at 20:45:24 UTC+1 uajqq wrote:
>>>>>>
>>>>>>> There is a fix for this in the new v2.1 beta.
>>>>>>>
>>>>>>> On Wednesday, June 10, 2026 at 4:45:20 AM UTC-4 Anton Diedericks
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Good day,
>>>>>>>> Another issue I picked up:
>>>>>>>> As per attachment, this was not the case with the older Belchertown
>>>>>>>> skin.
>>>>>>>> This only affects sub-pages (Records, Charts, Reports, About) but
>>>>>>>> not the Homepage.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Anton
>>>>>>>> On Tuesday, 2 June 2026 at 23:13:44 UTC+2 uajqq wrote:
>>>>>>>>
>>>>>>>> New Belchertown (the updated fork of the original Belchertown) v2.0
>>>>>>>> is now out with a refreshed card-based layout and tons of new
>>>>>>>> features. Let
>>>>>>>> me know what you think!
>>>>>>>>
>>>>>>>> https://github.com/uajqq/weewx-belchertown-new
>>>>>>>>
>>>>>>>> Example site: https://www.uajqq.com/new-belchertown
>>>>>>>>
>>>>>>>> --
>>>>> 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 visit
>>>>> https://groups.google.com/d/msgid/weewx-user/e80069f1-5fc2-4d9a-b09d-dd312efcf7f7n%40googlegroups.com
>>>>>
>>>>> <https://groups.google.com/d/msgid/weewx-user/e80069f1-5fc2-4d9a-b09d-dd312efcf7f7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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 visit
>>> https://groups.google.com/d/msgid/weewx-user/CAGTinV5CXw4TOY6m3OnjF_c%3D_X6rnemaWQTBRMcx8uB00DmziA%40mail.gmail.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/CAGTinV5CXw4TOY6m3OnjF_c%3D_X6rnemaWQTBRMcx8uB00DmziA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>> 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 visit
>> https://groups.google.com/d/msgid/weewx-user/57097f4a-452a-4793-950a-00e53436c46en%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/57097f4a-452a-4793-950a-00e53436c46en%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
--
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 visit
https://groups.google.com/d/msgid/weewx-user/ca989a05-ac32-42a1-8eb6-1efb7fefa2e1n%40googlegroups.com.