> > I host at home and use nginx as a seperate reverse proxy
Just add a path to nginx config, eg /mqtt and then setup a websocket proxy that points to your mqtt server websocket port, then update the skin config to point to ws://www.nthead.co.uk/mqtt On Tue, 16 Jun 2026 at 06: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/> >> [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/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/CAGTinV4E2j4g%3DrYYoOyhQS1qeB5mLEBMMLyPnEFz2rKfOocovQ%40mail.gmail.com.
