Thank you for your answers. In my case the loop is every 2.5 seconds and I thought that at each interval it was written in the card. I am working with a Raspberry Pi as you can imagine. Now I have clear that it is not like that. Maybe I'll give MQTT an opportunity and learn something else :-)
Best regards (Sorry for my English) El mié., 17 jul. 2019 21:43, Pat <[email protected]> escribió: > In addition to this, weewx may not always send to MQTT every 2.5 seconds. > This MQTT publish interval is based on your weather station hardware and > how often weewx gets data from it. This is called the LOOP. > > Some LOOPS are every 20 seconds. As a result weewx's MQTT message will be > every 20 seconds. > > Some LOOPs can be 60 seconds, so MQTT will only get a message every 60 > seconds. > > And so on, dependent on the LOOP interval. > > With that said, Tom has weewx running on a Raspberry Pi and it has pretty > good uptime. 4 years 7 months and counting > <http://www.threefools.org/weewx/status/index.html>. > > > On Wednesday, July 17, 2019 at 2:36:55 PM UTC-4, vince wrote: >> >> On Wednesday, July 17, 2019 at 11:19:12 AM UTC-7, Chema S. wrote: >> >>> I have a question related to MQTT and how it works. I am a newbie with >>> MQTT and its functions so I must apologize if this question is very basic. >>> Anyway here I go: I know that WeeWX writes every 5 minutes in the SD Card >>> (as usual unless user changes this setup) and MQTT sends to the website >>> every 2.5 seconds the generated information. Does it mean that every 2.5 >>> seconds writes in the SD Card and in the WeeWX data base? I am concerned >>> about too much writes could damage the SD Card. >>> >>> >> MQTT sends a 'network' message to the MQTT broker you have specified. So >> it's talking to a process on the other end. It's not writing to disk >> locally. >> > -- > 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/e7771379-c89e-4a04-81a9-18fbd5fd8ab5%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/e7771379-c89e-4a04-81a9-18fbd5fd8ab5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPygQOw5UNZB%3DG7rgbUyvyrq-rqvffv6-KYL_90BA29DCzBZeA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
