Questions tagged [xively]

Xively is a platform devoted to simplifying the interconnection of devices and data with applications on the Internet of Things.

By providing necessary resources, Xively helps developers and builders easily create, prototype, build, pilot and deploy their Internet connected product. So they can transform the way people experience their world.

Xively's REST API, extensive hardware and software libraries for your device, application, or service makes it easy to program in the language or environment of your choice.

References:

157 questions
5
votes
1 answer

Xively Device Activation Code does not match using HMAC-SHA1 algorithm

I am trying to calculate the Activation Code from Product Secret and Device Serial Number, my calculated Activation Code is always different from Xively's. Can someone please help me to point out where I am wrong? From Xievely web portal: Product…
leon
  • 10,085
  • 19
  • 60
  • 77
5
votes
5 answers

send JSON to server via HTTP put request in android

How to wrap given json to string and send it to server via Http put request in android? This is how my json look like. { "version": "1.0.0", "datastreams": [ { "id": "example", "current_value": "333" …
Jimit
  • 73
  • 1
  • 2
  • 7
4
votes
2 answers

Python catch timeout and repeat request

I'm trying to use the Xively API with python to update a datastream but occasionally I get a 504 error which seems to end my script. How can I catch that error and more importantly delay and try again so the script can keep going and upload my data…
gbenj
  • 41
  • 1
  • 2
4
votes
1 answer

How can I use Xively MQTT server with Arduino?

I'm trying to connect my Arduino with ethernet to Xively using their MQTT server but am having trouble authenticating. When I do client.connect("arduinoMQTT") I get a failure. I tried passing my API Key as a username by doing…
calumb
  • 1,051
  • 2
  • 10
  • 24
4
votes
1 answer

Why won't Highcharts accept UTC value from my JSON?

I'm trying to get some JSON formatted data from a COSM feed into a simple chart, but am having trouble doing so. I'm not sure if I'm misunderstanding how the series array works (even after reviewing the documentation on it. This is my code with…
user1767125
  • 95
  • 2
  • 7
3
votes
1 answer

Cannot publish data to Xively

I'm trying to upload some temp data to a feed in Xively but for the life of me I just cannot get it to work! The data is being read and printed by the RPi however no data is being pushed to Xively. I've used the tutorial code and was able to have…
3
votes
2 answers

Cannot upload data to Cosm from arduino mega by tutorial sketch

I cannot upload data from my Arduino Mega with Ethernet Shiled to Cosm. I tried one of the tutorial examples (DatastreamUpload.ino). I used the API key and feed ID that Cosm gave to me at the registration and changed the init() function to use a…
2
votes
1 answer

Is Xively web socket down?

Over last few days I've noticed Xively is no longer sending me push notifications over web socket - api.xively.com port 8080. Can anyone confirm it is working for them or they also have the issue? Xively are not responding to emails or…
mrparp
  • 21
  • 1
2
votes
1 answer

Python: Error while pushing sensor data with raspberry pi to xively TypeError: __init__()

i try to read data with a raspberry pi from my ds18b20 temperature sensor and push them to xively. Execution of some prerequisites and the python file in the console: sudo modprobe w1-gpio && sudo modprobe w1_therm source…
mcknight
  • 607
  • 1
  • 5
  • 17
2
votes
1 answer

Why does TCP connection keep closing while connecting to xively from Adruino GPRS with AT commands?

I'm trying to send data from a cellular-connected arduino temperature sensor to xively.com using AT commands. I can open the TCP connection, but then it immediately closes. Why does the TCP connection keep closing? setup: arduino…
Goodword
  • 1,565
  • 19
  • 27
2
votes
1 answer

Is Xively a good fit where data is simple/infrequent, and processing of that data is done externally to it?

I'm looking to design a solution with a rather large number of Arduino devices all returning a very simple data point (let's say temperature for now so as to not release too much information). The single data point is collected only once a day and…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
2
votes
1 answer

Xively provisioning: Activating a device more than once/fetching API key & feed Id a second time

I am working with testing out provisioning for an embedded device where I can't save the API key and feed ID when power cycling. After activating the product once, I get 403 forbidden when trying to fetch the device API key and feed id for the…
Samohtas
  • 23
  • 3
2
votes
1 answer

libxively C API frequently does nothing

I'm trying to use libxively to update my feed, but it frequently seems to do nothing. I've got a basic call: { xi_datastream_t& ds = mXIFeed.datastreams[2]; ::xi_str_copy_untiln(ds.datastream_id, sizeof (ds.datastream_id), "cc-output-power",…
Rick
  • 3,298
  • 3
  • 29
  • 47
2
votes
1 answer

Raspberry Pi with C & Xively only gives errors when compiling

We are having a problem getting libxively working on our Raspberry Pi. We're programming in C with Geany, and want to get xively to work.But we are getting numerous errors. We followed several tutorials but couldn't figure out what's wrong. Here is…
Kailayla
  • 323
  • 5
  • 15
2
votes
1 answer

Xively and Node-Red

I'm fairly new at all this but have muddled my way to getting my Arduino to post values to a Xively stream I've named "Lux and Temp." Three values; count, lux, and temperature. Now what I want to do is take those values and do something with them…
quade
  • 23
  • 3
1
2 3
10 11