I put both the ' and : in quotes ( "," and ":") and I am getting some data
from MQTT!
I have another Rpi running NodeRed to watch the mqtt data and it is showing
a continuous stream of data from two of the sensors with an occasional
message from the third. Something else to sort out.
My memory is getting bad - in the message below I see the "b" which I
think indicates a unicode problem, which I solved in my standalone
subscription program by adding 'decode' here and there a month ago a
suggestion from Tom K.
DEBUG user.MQTTSubscribe: MessageCallbackProvider For weather has QOS of 0
and retain of 0 received:* b*'TIME:0,soilTemp3:14.68,INHU:40.00'
Thanks for the help!
On Tuesday, January 14, 2020 at 4:37:56 PM UTC-8, Rich Bell wrote:
>
> Ralph,
> My first guess is that it doesn’t like the comma in the config for the
> delimiter. This is based on this line the log.
> Jan 14 15:39:40 TestPi weewx[5256] INFO user.MQTTSubscribe: Message
> callback config is {'type': 'keyword', 'keyword_delimiter': [],
> 'keyword_separator': ':', 'label_map': {'soilTemp3': 'soilTemp3',
> 'soilTemp2': 'soilTemp2', 'tempSoil1': 'soilTemp1'}}
> It is showing the delimiter as an empty list. I’d have to run a few tests
> to confirm and determine what is needed to change. Unfortunately a busy few
> days here. In the meantime you could try quoting it...
> Rich
>
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/472a3612-f585-4ef3-97cb-a76f217b2262%40googlegroups.com.