Selecting one type of data to show on the graph | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Selecting one type of data to show on the graph
No permission to create posts
September 25, 2020
1:18 pm
Avatar
qkpham
New Member
Members
Forum Posts: 1
Member Since:
September 23, 2020
sp_UserOfflineSmall Offline

Hello,

I have recently installed an NCD MegaModem paired with an NCD Temperature sensor for our lab freezers (-80c). I have set the gateway for MQTT transmissions. I can see that my MQTT gateway is transmitting data to mqtt.thingspeak.com:1883 since I am getting the following output:

{"channel":{"id":1155233,"name":"baolab","latitude":"0.0","longitude":"0.0","field1":"temperature_celsius","created_at":"2020-09-23T15:38:10Z","updated_at":"2020-09-23T22:07:26Z","last_entry_id":7982},"feeds":[{"created_at":"2020-09-25T17:13:36Z","entry_id":7981,"field1":"{\"transmission_count\":105,\"battery_level\":3.06544,\"type\":39,\"node_id\":0,\"rssi\":34,\"temperature_celsius\":-80.18}"},{"created_at":"2020-09-25T17:13:58Z","entry_id":7982,"field1":"{\"transmission_count\":107,\"battery_level\":3.06544,\"type\":39,\"node_id\":0,\"rssi\":31,\"temperature_celsius\":-80.08}"}]}

My question is:

How can I select/choose to show only temperature_celsius on the graph? Right now I am not getting anything on the graphs.
Field1 name is temperature_celsius.

Thanks a lot!

October 23, 2020
11:06 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 863
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

That looks like a JSON block that would work in HTTP POST. See the MQTT documentation for the correct MQTT format.
https://www.mathworks.com/help/thingspeak/publishtoachannelfeed.html

FYI, MATLAB answers is the preferred location for ThingSpeak Community support.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

daner, Tito Silveira, HomeImprove123, Bryan, kenwood1701, dosh2684

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457