Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

.GetFloat always returns 0.00? #7

Open
smulube opened this issue May 30, 2013 · 4 comments
Open

.GetFloat always returns 0.00? #7

smulube opened this issue May 30, 2013 · 4 comments

Comments

@smulube
Copy link

smulube commented May 30, 2013

Is it a known issue that currently the Arduino Library is returning 0.00 on .GetFloat() - no values appear to be coming with a 200 response.

Query captured from support ticket sent to main XIvely support

@errordeveloper
Copy link
Contributor

@smulube we need to confirm the revision they are using, it may be due to a fix proposed in #1 which is on a branch issue-1-fix-loop-logic...

@paulbellamy
Copy link
Contributor

+1

@amcewen
Copy link
Contributor

amcewen commented Nov 25, 2013

Also worth checking that they're defining the correct datastream name. At present there isn't any checking to see if the datastreams you're updating are present in the downloaded feed. It assumes you know what you're asking for.

The getFloat was working correctly when I tested it again yesterday, but if your datastream ID isn't present in the downloaded feed then it won't get updated (and as it defaults to 0, you'll get a return of 0.00 from getFloat...)

@muhammadsatrio
Copy link

Hi,
i have same problem with @smulube
the revised file didn't solve my problem here..
my datastream name in arduino same with datastream name in Xively..
sorry for bothering you..
thank you :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants