Hello everyone, i'm learning how to use FRED and thingspeak, basically i'm trying to publish on two thingspeak datastreams two fields from a json file that i'm getting from a weather site. What i'm unable to do is writing the function that will enable me to publish on thingspeak with mqtt. I'm able to extract the data since they work from the debug.
This is my structure and the function i'm trying to write. thanks.