Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Reply To: Connecting SIM7080 to New Thingspeak

Home Forums Mayfly Data Logger Connecting SIM7080 to New Thingspeak Reply To: Connecting SIM7080 to New Thingspeak

#16244
Zeke Holloman
Participant

    @neilh20 @shicks @vogelrnws

    Hi all! Thank you for all of your feedback and tips! I spent some time this week looking at the mqtt3.thingspeak.com server and I was able to get a channel up and running on it.

    Overall, it’s not drastically different than mqtt.thingspeak.com. The main aspect being removed in the legacy Thingspeak server is the API keys. Thingspeak now relies on the Channel ID, the client ID, the username, and the password to send data to a specific channel.

    There are also a few formatting changes for sending the data, which can be found on this site, under July 2021:

    https://www.mathworks.com/help/thingspeak/release-notes.html#:~:text=July%25202021-,MQTT3%2520Interface,-A%2520new%2520ThingSpeak

    I did end up editing the ThingSpeakPublisher library in order to get the data to upload correctly, but I don’t think I had to change the data type.

    Here’s the Arduino code: