OK, thanks. On the # in the topic, I appreciate your calling that out. Fixed my config.
On the archive records being in the loop topic but having different data, that is good to know. I expected there to be an archive topic, for some reason. Thanks for clarifying on both counts. Great skin - I am just playing with it in earnest. On Wednesday, July 24, 2019 at 10:45:03 AM UTC-4, Pat wrote: > > I would advise you to change your mqtt_websockets_topic to > "weather/vt-dev/loop". The # topic is the "firehose" and typically only > used for troubleshooting. Using # in the skin can sometimes cause > unintended things to happen. > > I'm trying to understand your question though. You're looking for the > archive (REC) payload on your MQTT broker? If so, those show up in the loop > topic I mentioned above. The only difference are the items within that > payload that identify it as the archive packet. > > > > > On Wednesday, July 24, 2019 at 5:26:43 AM UTC-4, Tom Mitchell wrote: >> >> Hello, >> >> Running weewx 3.9.2 and mqtt 0.18 and Belchertown skin v1.0.1. >> >> I have my own mosquitto server and all seems well with loop records. >> However, archive records seem to be getting posted by the mqtt extension >> but for the life of me I can not find them on the mqtt server, which I am >> looking at with MQTT Explorer. >> >> Here is my relevant config: >> >> [[MQTT]] >> server_url = mqtt://xxx:[email protected]:1883 >> topic = weather/vt-dev >> unit_system = US >> binding = archive, loop >> aggregation = aggregate >> >> >> >> [[Belchertown]] >> HTML_ROOT = public_html/belchertown >> skin = Belchertown >> [[[Extras]]] >> [snip] >> mqtt_websockets_enabled = 1 >> mqtt_websockets_ssl = 0 >> mqtt_websockets_host = "web.foo.bar" # The MQTT broker hostname or IP >> mqtt_websockets_port = 9001 # The port of the MQTT broker's Websockets >> port. Check your broker's documentation. >> mqtt_websockets_topic = "weather/vt-dev/#" # The topic to subscribe >> to for your weather data >> disconnect_live_website_visitor = 1800000 #The number of seconds after a >> visitor has loaded your page that we disconnect them from the live >> streaming updates. The idea here is to save your broker from a streaming >> connection that never ends. Time is in milliseconds. 0 = disabled. 300000 = >> 5 minutes. 1800000 = 30 minutes >> >> Log snippet: the blue highlighted records are making it fine (I can see >> them in the client. The yellow ones seem to be leaving weewx but I am >> not able to see them in the client. If I generate one manually and post it >> to the archive topic, it shows up in the client. >> >> Wondering what I might be doing wrong. Any tips appreciated. >> >> Jul 24 05:15:29 weewx-deployment-vt-dev-54f7b44d6d-qsq5b weewx[28]: >> manager: Added record 2019-07-24 05:15:00 EDT (1563959700) to daily summary >> in 'weewx_vt_dev' >> Jul 24 05:15:29 weewx-deployment-vt-dev-54f7b44d6d-qsq5b weewx[28]: >> engine: Launch of report thread aborted: existing report thread still >> running >> Jul 24 05:15:29 weewx-deployment-vt-dev-54f7b44d6d-qsq5b weewx[28]: >> restx: MQTT: Published record 2019-07-24 05:15:00 EDT (1563959700) >> Jul 24 05:15:30 weewx-deployment-vt-dev-54f7b44d6d-qsq5b weewx[28]: >> manager: Added record 2019-07-24 05:15:31 EDT (1563959731) to database >> 'weewx_vt_dev' >> : 0, outTemp: 55.4, pressure: 28.6496180628, radiation: 0.0, rain: 0.0, >> rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, >> soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.07, stormStart: >> 1563768000, sunrise: 1563960300, sunset: 1564014060, trendIcon: 0, >> txBatteryStatus: 0, usUnits: 1, windchill: 55.4, windDir: 355.0, windGust: >> 1.0, windGustDir: 355.0, windSpeed: 1.0, windSpeed10: 0.0, yearET: 0.92, >> yearRain: 0.16 >> LOOP: 2019-07-24 05:15:16 EDT (1563959716) altimeter: 29.9279416577, >> appTemp: 56.72448544, barometer: 29.906, cloudbase: 1466.04677519, >> consBatteryVoltage: 4.78, dateTime: 1563959716, dayET: 0.0, dayRain: 0.0, >> dewpoint: 54.2777941892, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, >> extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, >> extraAlarm8: 0, forecastIcon: 6, forecastRule: 45, heatindex: 55.4, >> humidex: 59.8243535484, inDewpoint: 57.412055126, inHumidity: 57.0, >> insideAlarm: 0, inTemp: 73.6, leafWet4: 0.0, maxSolarRad: 0.0, monthET: >> 0.92, monthRain: 0.16, outHumidity: 96.0, outsideAlarm1: 0, outsideAlarm2: >> 0, outTemp: 55.4, pressure: 28.6496180628, radiation: 0.0, rain: 0.0, >> rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, >> soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.07, stormStart: >> 1563768000, sunrise: 1563960300, sunset: 1564014060, trendIcon: 0, >> txBatteryStatus: 0, usUnits: 1, windchill: 55.4, windDir: None, windGust: >> 1.0, windGustDir: 355.0, windSpeed: 0.0, windSpeed10: 0.0, yearET: 0.92, >> yearRain: 0.16 >> Unable to wake up console... sleeping >> Unable to wake up console... retrying >> REC: 2019-07-24 05:15:00 EDT (1563959700) altimeter: 29.9279679062, >> appTemp: 56.855466787, barometer: 29.906, cloudbase: 1466.15968472, >> consBatteryVoltage: 4.78, dateTime: 1563959700, dayET: 0.0, dayRain: 0.0, >> dewpoint: 54.3772973872, ET: 0.0, extraAlarm1: 0.0, extraAlarm2: 0.0, >> extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, >> extraAlarm7: 0.0, extraAlarm8: 0.0, forecastIcon: 6.0, forecastRule: 45, >> heatindex: 55.5, highOutTemp: 55.6, highRadiation: 0.0, humidex: >> 59.9774261904, inDewpoint: 57.412055126, inHumidity: 57.0, insideAlarm: >> 0.0, inTemp: 73.6, interval: 5, leafWet4: 0.0, lowOutTemp: 55.4, >> maxSolarRad: 0.0, monthET: 0.92, monthRain: 0.16, outHumidity: 96.0, >> outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 55.5, pressure: >> 28.6496433933, radiation: 0.0, rain: 0.0, rainAlarm: 0.0, rainRate: 0.0, >> rxCheckPercent: 98.875, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, >> soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 0.07, stormStart: >> 1563768000.0, sunrise: 1563960300.0, sunset: 1564014060.0, trendIcon: 0.0, >> txBatteryStatus: 0, usUnits: 1, windchill: 55.5, windDir: None, windGust: >> 1.0, windGustDir: 0.0, windrun: 0.0, windSpeed: 0.0, windSpeed10: 0.0, >> yearET: 0.92, yearRain: 0.16 >> LOOP: 2019-07-24 05:15:31 EDT (1563959731) altimeter: 29.9279416577, >> appTemp: 56.72448544, barometer: 29.906, cloudbase: 1466.04677519, >> consBatteryVoltage: 4.78, dateTime: 1563959731, dayET: 0.0, dayRain: 0.0, >> dewpoint: 54.2777941892, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, >> extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, >> extraAlarm8: 0, forecastIcon: 6, forecastRule: 45, heatindex: 55.4, >> humidex: 59.8243535484, inDewpoint: 57.412055126, inHumidity: 57.0, >> insideAlarm: 0, inTemp: 73.6, leafWet4: 0.0, maxSolarRad: 0.0, monthET: >> 0.92, monthRain: 0.16, outHumidity: 96.0, outsideAlarm1: 0, outsideAlarm2: >> 0, outTemp: 55.4, pressure: 28.6496180628, radiation: 0.0, rain: 0.0, >> rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, >> soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.07, stormStart: >> 1563768000, sunrise: 1563960300, sunset: 1564014060, trendIcon: 0, >> txBatteryStatus: 0, usUnits: 1, windchill: 55.4, windDir: None, windGust: >> 1.0, windGustDir: 355.0, windSpeed: 0.0, windSpeed10: 0.0, yearET: 0.92, >> yearRain: 0.16 >> LOOP: 2019-07-24 05:15:31 EDT (1563959731) altimeter: 29.9279416577, >> appTemp: 56.72448544, barometer: 29.906, cloudbase: 1466.04677519, >> consBatteryVoltage: 4.78, dateTime: 1563959731, dayET: 0.0, dayRain: 0.0, >> dewpoint: 54.277794Jul 24 05:15:30 weewx-deployment-vt-dev-54f7b44d6d-qsq5b >> weewx[28]: restx: MQTT: Published record 2019-07-24 05:15:31 EDT >> (1563959731) >> Jul 24 05:15:30 weewx-deployment-vt-dev-54f7b44d6d-qsq5b weewx[28]: >> restx: MQTT: Published record 2019-07-24 05:15:31 EDT (1563959731) >> Jul 24 05:15:31 weewx-deployment-vt-dev-54f7b44d6d-qsq5b weewx[28]: >> manager: Added record 2019-07-24 05:15:32 EDT (1563959732) to database >> 'weewx_vt_dev' >> >> -- 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/714ace7d-2142-4283-86af-439b8144613c%40googlegroups.com.
