No idea, I've only been playing with MQTT for a few weeks, because I got a relative ZigBee sensors for their garden which led me to setting up zigbee2mqtt and in the last couple of days, I re-coded large parts of my weather site that was updating every 5 minutes from a text file generated by weeWX every 5 minutes to displaying loop and archive data.
Then a satellite image of Australia that gets updated hourly, now gets sent via MQTT as well and since those messages are retained in MQTT the last message posted is then loaded. We lost internet for about 4 days a month or 2 back due to the internet provider using uncommon plugs on their power supplies and it just happened to blow up and we can't keep spares of them. Due to previous prolonged outages I got an OpenWRT router and it can get internet by connecting to my phone in hotspot mode and I have a Cloudflare tunnel setup in the router and during the whole outage everything kept working as if nothing had changed because Cloudflare tunnels work even behind mobile phone company CGNAT. On Sat, 30 May 2026 at 23:56, Ian Rattew <[email protected]> wrote: > thanks, I have use the standard MQTT so is weewx-mqtt-publish a > replacement for that? > > On Friday, May 29, 2026 at 7:18:39 PM UTC+1 John Smith wrote: > >> You can use the MQTT Publish extension to send archive data too, eg >> >> [[topics]] >> [[[loop]]] >> binding = loop >> [[[[fields]]]] >> [[[[[dateTime]]]]] >> ignore = false >> append_unit_label = false >> conversion_type = integer >> [[[archive]]] >> binding = archive >> [[[[fields]]]] >> [[[[[dateTime]]]]] >> ignore = false >> append_unit_label = false >> conversion_type = integer >> >> On Sat, 30 May 2026 at 03:32, Ian Rattew <[email protected]> wrote: >> >>> Hi Tom, >>> thanks for the feedback. Always a good idea to read the manual! >>> >>> I have done a lot of reading and it is all rather daunting at first! I >>> have been accustomed to building my website pages from individual data >>> records that would equate to the values that I see in Home Assistant, the >>> MQTT weather/Loops data. I guess I am looking for the archive records that >>> are stored in the SQL database. The approach seems to be the creation of >>> reports that include those values. Is there an easy to directly get the >>> those values? >>> >>> I searched for $hour. and $day. but didn't find any specific references. >>> How do I know what values are available? >>> >>> On a separate note I am considering getting an Ecowitt WS90 with a >>> GW2000 or GW3000 gateway. Reading the wiki I became aware that there are >>> three drivers, ecowittcustom, ecowitt_http and GW1000 - how do determine >>> which would be the best? >>> >>> Thanks, Ian >>> On Friday, May 29, 2026 at 3:35:17 PM UTC+1 Tom Keffer wrote: >>> >>>> Did you look through the Customization Guide >>>> <https://www.weewx.com/docs/5.3/custom/introduction/>? It has answers >>>> to your questions. For example, >>>> >>>> Max temperature last hour: *$hour.currentTemp.max* >>>> Min temperature last hour: *$hour.currentTemp.min* >>>> Today's average soil temperature: *$day.soilTemp1.avg* >>>> >>>> and so on. >>>> >>>> -tk >>>> >>>> On Fri, May 29, 2026 at 5:33 AM Ian Rattew <[email protected]> wrote: >>>> >>>>> Hi all, I have come from the world of meteohub on a raspberry pi which >>>>> I have run for over a decade. I have a now old Davis VP2 and the wind vane >>>>> is playing up yet again so I thought I would investigate what is current >>>>> in >>>>> Weather-stations and Software. I have always run a WordPress weather >>>>> station website that I would like to maintain but I am now looking for >>>>> something that also has Home Assistant integration. >>>>> >>>>> So I found Weewx. I have it fully installed with Home Assistant >>>>> integration and some Skins. WordPress integration seems doable. >>>>> >>>>> I can see that it is very good regarding live data reporting but I am >>>>> confused how to do aggregate and historic values such max and min >>>>> temperature in the last hour or average soil temp today. >>>>> >>>>> Any advice would be greatly appreciated. >>>>> >>>>> Thanks, Ian >>>>> >>>>> -- >>>>> >>>> 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/b75064fb-662a-4be6-ba6c-592a7dec9fdan%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/b75064fb-662a-4be6-ba6c-592a7dec9fdan%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/cad014c5-98cc-4701-9dd4-b6f45cdcfa57n%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/cad014c5-98cc-4701-9dd4-b6f45cdcfa57n%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/e403e8cf-f4c6-4148-87bc-cb77b5b253e4n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/e403e8cf-f4c6-4148-87bc-cb77b5b253e4n%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/CAGTinV5m8BJMvMG%2BwBz41NgBdWfmLK8QWh-yhYHYJDY%2BHAfWnw%40mail.gmail.com.
