Hi Ian,

Right on! I see you responded to the discussion too. Excellent. We will take it over there.

Take care!

---
pablo


On 2026-06-16 02:48, 'steepleian' via weewx-user wrote:
Hi Pablo,

 I did understand what you were saying. In reality of what I am proposing the axis would just be set to Wind Chill without the unit labels. The unit label would be generated automatically in real-time, depending on the unit system selected.
Ian

https://steepleclaydonweather.uk

On 16 Jun 2026, at 02:21, Pablo Sanchez <[email protected]> wrote:

 Hi Ian,

My apologies for being unclear. I was talking about HighCharts. I pulled up the JSON for one of the charts. The contents matches the unit of measure of my site. Here is a snippet:

      "windchill": {
        "obsType": "windchill",
        "yAxis_label": "Wind Chill (°C)",
        "polar": "false",
        "color": "#29B6F6",
        "lineWidth": 2.0,
        "name": "Wind Chill",
        "rounding": 1.0,
        "data": [
          [
            1781496300000.0,
            16.28
          ],
          [
            1781496600000.0,
            16.28
          ],
          [
            1781496900000.0,
            16.17
          ],
          [
            1781497200000.0,
            16.11
          ],
          [

Cheers!
---
pablo


On 2026-06-15 20:23, 'steepleian' via weewx-user wrote:
Pablo,
The chart units should also change as well. I already have that on my own skin DivumWX, selected via the side fly out menu.
Ian
https://steepleclaydonweather.uk

On 15 Jun 2026, at 22:16, Pablo Sanchez <[email protected]> wrote:


Oh neat feature. That request was just posted in the Discussion area of New Belchertown repo.

I'm assuming any charts will not change eh?
---
pablo

On June 15, 2026 17:11:35 "'Ian Millard' via weewx-user" <[email protected]> wrote:

Nigel,

For the time being find this sub stanza in [StdReport] and set them to the same as mine.

You have actually caught me in the middle of writing a small piece of code to add an additional menu item to new-belchertown ‘Units’ will will allow ‘on the fly’ selection of either US, UK, Metric, Scandinavian, Canadian or Aviation unit sets. I just like the idea of visitors to a site being able to select the units they are most familiar with. I will share when complete.

Ian

    [[Defaults]]
        # Which language to use for all reports. Not all skins support all
        # languages.  You can override this for individual reports.
        lang = en
        # Which unit system to use for all reports. Choices are 'us', 'metric',         # or 'metricwx'.  You can override this for individual reports.
        unit_system = metricwx
        [[[Units]]]
            # Option "unit_system" above sets the general unit system, but             # overriding specific unit groups is possible. These are popular             # choices. Uncomment and set as appropriate.  The unit is always             # in the singular, e.g., 'mile_per_hour', NOT 'miles_per_hour'
            [[[[Groups]]]]
                # group_altitude   = meter              # Options are 'foot' or 'meter'                 group_pressure = hPa    # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'                 # group_rain   = mm                 # Options are 'inch', 'cm', or 'mm'                 # group_rainrate   = mm_per_hour        # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'                 group_temperature = degree_C    # Options are 'degree_C', 'degree_F', or 'degree_K'
                group_speed = mile_per_hour
                group_speed2 = mile_per_hour2
                # The following line is used to keep the above lines indented
                # properly. It can be ignored.
                unused = unused
                group_density = kg_per_meter_cubed    # No Option simply 'kg_per_meter_cubed'

https://steepleclaydonweather.uk



On 15 Jun 2026, at 21:46, Devonian <[email protected]> wrote:

Thanks for the replies.
I host at home and use nginx as a seperate reverse proxy, nothing other than that (aside from port forwards on my router). I'll have to dig a bit more myself on the live data not working over the web,  probably an nginx issue.

Ian, I see you have the units displaying on your site how I would like them, any hints on how to get them in the correct format? (Centigrade instead of Fahrenheit and mm instead of inches etc). It currently looks correct on the web but is 'stale' data, not 'live' data from the loop data.

I made a typo in my original post...
http://www.nthead.co.uk/weewx/ is now correct

http://www.nthead.co.uk/new-belchertown/ was correct

Nigel.

On Monday, 15 June 2026 at 10:47:44 UTC+1 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/>
        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/5e2cfce6-42e3-4d96-8a3c-80f17fb76c02n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/5e2cfce6-42e3-4d96-8a3c-80f17fb76c02n%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/7634E309-E649-4792-B662-78B59D778681%40btinternet.com <https://groups.google.com/d/msgid/weewx-user/7634E309-E649-4792-B662-78B59D778681%40btinternet.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/19ecd24b338.2848.44b74f35a7a433c111dbfaee4cca1c2d%40hillsandlakes.com <https://groups.google.com/d/msgid/weewx-user/19ecd24b338.2848.44b74f35a7a433c111dbfaee4cca1c2d%40hillsandlakes.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/88A24A26-FA0E-4D37-9DB3-5BB4FF260C40%40btinternet.com <https://groups.google.com/d/msgid/weewx-user/88A24A26-FA0E-4D37-9DB3-5BB4FF260C40%40btinternet.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/e8538f91-434b-4bcf-890f-ca3f3b2296c1%40hillsandlakes.com <https://groups.google.com/d/msgid/weewx-user/e8538f91-434b-4bcf-890f-ca3f3b2296c1%40hillsandlakes.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/9D3CEB6D-47D3-48BE-A194-8822C1A3CBBE%40btinternet.com <https://groups.google.com/d/msgid/weewx-user/9D3CEB6D-47D3-48BE-A194-8822C1A3CBBE%40btinternet.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/3dc3c157-95ec-4cd6-bd5f-1002d95e23c6%40hillsandlakes.com.

Reply via email to