modyfing data from api | ThingSpeak API | 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
modyfing data from api
No permission to create posts
October 22, 2017
3:57 am
Avatar
adaml1979
New Member
Members
Forum Posts: 1
Member Since:
October 22, 2017
sp_UserOfflineSmall Offline

Hi,

I'm using standard api to update a Channel Feed, but question is how to modify data.

I have a temperature ex. 25.5 C on my device, but on thingspeak channel I get 255, so how can I modify this to get the correct value?

Regards!Confused

Adam

October 31, 2017
7:22 am
Avatar
cstapels
Moderator
Members


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

ThingSpeak handles most data as strings so I would be surprised if it lost the decimal point.  Perhaps somehow you are converting the number in your device on accident?  What hardware are you using?  Can you share the line where you post the data in your code?

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: Hans, agrisensezm
37 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

Archieter, JamesExedo, IrbosHich, brodi, kasko, franklin castro

Administrators: Hans: 387, lee: 457