On Monday, November 29, 2021 at 2:05:05 PM UTC-8 [email protected] wrote: > I removed the function and it looks better. Last debug going into > mqtt_publish: > > 11/29/2021, 4:17:17 PMnode: mqtt_payload > <http://localhost:1880/#>application/18/device/2cf7f12122500013/rx > : msg.payload : string[87] > string[87] > { "CO2_Value_PPM": 399, "measurementId": 4100, "type": "report_telemetry" } > <http://localhost:1880/#> > > However, weewx still doesn't seem to like it. I'll try changing topics to > "mytopic" and see what happens. >
Sigh - just set the topic in weewx.conf to whatever you are publishing via node-red, and reset weewx. Until you do that, it's not going to work. It does not matter what topic you publish to, just keep your naming consistent and theoretically relevant so you can figure it out a year from now when you want to decipher what the heck you did :-) -- 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/00e7a1f4-0f1a-4af0-89f7-f3d0ddacc31en%40googlegroups.com.
