Thanks, By the time I got this from you, Rich, I had already figured out from Vince’s email that I was dealing with an array (with one element) of nested data points. So I did: [MQTTSubscribeService] enable = true stop_on_validation_errors = true binding = archive host = localhost log = false port = 1883 [[topics]] unit_system = US [[[message]]] type = json [[[qingping/mac/up]]] subscribe = True ignore = true [[[[sensorData]]]] ignore = False [[[[[subfields]]]]] [[[[[[data]]]]]] [[[[data_co2_value]]]] ignore=false name = co2 [[[[data_pm25_value]]]] ignore=false name = pm2_5 [[[[data_pm10_value]]]] ignore=false name = pm10_0 This seems to work, as simulate mode gives me stuff like this in the log file: 2025-11-26 18:10:09 DEBUG (Service) MessageCallbackProvider data-> incoming topic: qingping/mac/up, QOS: 0, retain: 0, payload: b'{"type":"17","id":2979,"need_ack":0,"mac":"mac","timestamp":1764209379,"sensorData":[{"timestamp":{"value":1764208800},"temperature":{"value":24.9},"humidity":{"value":40.85},"co2":{"value":640},"pm25":{"value":0},"pm10":{"value":0},"battery":{"value":100}}]}' 2025-11-26 18:10:09 DEBUG (Service) TopicManager data-> incoming qingping/mac/up: co2: 640.0, pm2_5: 0.0, pm10_0: 0.0 2025-11-26 18:14:59 DEBUG (Service) TopicManager data-> outgoing qingping/mac/up: co2: 640.0, dateTime: 1764209409.6722662, pm2_5: 0.0, pm10_0: 0.0, usUnits: 1 2025-11-26 18:14:59 DEBUG (Service) TopicManager data-> outgoing accumulated qingping/mac/up: co2: 640.0, dateTime: 1764209700.0, pm2_5: 0.0, pm10_0: 0.0, usUnits: 1 2025-11-26 18:14:59 DEBUG (Service) data-> final record is 2025-11-26 18:15:00 PST (1764209700): co2: 640.0, dateTime: a1764209700.0, interval: 15.0, pm2_5: 0.0, pm10_0: 0.0, usUnits: 1 2025-11-26 18:14:59 INFO (Service) Archive Record 6 of 10 is: 2025-11-26 18:15:00 PST (1764209700) co2: 640.0, dateTime: 1764209700.0, interval: 15.0, pm2_5: 0.0, pm10_0: 0.0, usUnits: 1 So, it’s picking up the mqtt messages and parsing them correctly, spitting out archive records! Thank you Vince and Rich for your help. Next up: moving to the extended schema, since I’ve been running the old wview version, but now I’ll need pm2_5, pm10_0 and co2 at least. Cheers, Bob On Nov 26, 2025, at 16:24, [email protected] <[email protected]> wrote: -- 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/FBF61EA0-EDF5-4F5A-A9EF-27D48A6C4CAD%40gmail.com. |
- [weewx-user] qingping air monitor lite and mqtt and pars... Dr__Bob
- [weewx-user] Re: qingping air monitor lite and mqtt... vince
- [weewx-user] Re: qingping air monitor lite and ... [email protected]
- Re: [weewx-user] Re: qingping air monitor l... Robert Clare
