The short answer is no. But that data looks a lot like json to me … Because you are dealing with text, you will want to set conversion_type = None. See, https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring#conversion_type You will also do some WeeWx configuration related to accumulators. See, https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring#conversion_type
If it is not json, I suppose you could read it as a ‘individual’ payload and have a service post process it. The final option is to write a custom parser. This is still experimental and would probably be more work than a standalone service to post process. A bit of information is here, https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Handling-different-MQTT-message-formats rich On Thursday, 12 August 2021 at 22:04:43 UTC-4 [email protected] wrote: > Is it possible for MQTTSubscribe to process array of string data as shown > below. > > Aug 12 21:27:40 raspberrypi weewx[18618] DEBUG user.MQTTSubscribe: > (Service) MessageCallbackProvider data-> incoming topic: Alerts/NWS/, QOS: > 0, retain: 0, payload: b'{"alert_NWS0":"Current Watches, Warnings and > Advisories for Allegheny (PAC003) Pennsylvania Issued by the National > Weather Service","alert_NWS1":"Severe Thunderstorm Warning issued August 12 > at 8:39PM EDT until August 12 at 9:30PM EDT by NWS","alert_NWS2":"Flash > Flood Warning issued August 12 at 8:36PM EDT until August 12 at 11:45PM EDT > by NWS","alert_NWS3":"Flash Flood Warning issued August 12 at 8:32PM EDT > until August 12 at 10:30PM EDT by NWS","alert_NWS4":"Severe Thunderstorm > Watch issued August 12 at 7:48PM EDT until August 12 at 10:00PM EDT by > NWS"}' > > > -- 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/189bdfd2-8a0f-4760-8b4c-e8b031e54979n%40googlegroups.com.
