Questions tagged [cosm]

Cosm is an online database service provider allowing developers to connect sensor data to the web and to build their own applications on it.

Cosm, formerly known as Pachube, lets you collect data from embedded devices in its time-series database exposed via a RESTful API over HTTP, WebSocket, plain TCP or even MQTT.

31 questions
1
vote
2 answers

Post data from Matlab to Pachube (Cosm) using Java Methods

I am using JPachube.jar and Matlab in order to send data to my datastream. This java code works on my machine: package smartclassroom; import Pachube.Data; import Pachube.Feed; //import Pachube.FeedFactory; import Pachube.Pachube; import…
supermus
  • 576
  • 1
  • 9
  • 21
0
votes
0 answers

How to get a private key and address from mnemonic on cosmos in golang?

I am trying to send coins on the cosmos-sdk blockchain. I succeeded in transferring coins using cosmjs. The code is as follows: import { Secp256k1HdWallet } from "@cosmjs/amino"; import { StargateClient, SigningStargateClient } from…
gray
  • 9
  • 1
0
votes
1 answer

Handle Webpack 5's Polyfill issues in Ionic Vue

I am trying to use cosmjs' packages in Ionic Vue. When I would like to import import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing"; I received this problem: If you don't want to include a polyfill, you can use an empty module like this: …
Afeez Aziz
  • 1,337
  • 2
  • 12
  • 26
0
votes
1 answer

Averaged Historical Data from Xively feed API

The xively (Cosm) web interface issues the following function for averaged historical datapoints // For averaged historical…
rjha94
  • 4,292
  • 3
  • 30
  • 37
0
votes
1 answer

How to add an Xively HTTP trigger to send data to thingspeak

I want to add an Xively HTTP trigger, but I don't know how to insert the current value into the URL. For example, I have the URL http://api.thingspeak.com/update?key=jkldfskladfsfdfs&field8= I want the Xively trigger to insert the current value of…
0
votes
1 answer

Xively server error when issuing URL

I've used Pachube/Cosm for non-commercial home sensor data collection and have been quite happy with the service. Now I'm getting a Xively image indicating a server error when issuing this from a web…
Chrisjx
  • 113
  • 1
  • 1
  • 9
0
votes
2 answers

Arduino freezes when trying to use Xively(Cosm) AND Pusher

I am building an arduino-powered Air Conditioner Remote. I have the actual IR remote trigger working with pusher.com, but now want to add xively feeds for the temperature in the room and the current status of the AC unit (on or off, read from the…
chriswhong
  • 362
  • 2
  • 9
0
votes
1 answer

Format date strings as ISO8601

I'm making a JSON call to COSM (now Xively) so it will return data that I can plot with Highchart's highstock chart. See: jsfiddle.net/T7D5U/2/ Currently the start and end date are hard coded like this: …
0
votes
1 answer

test.txt to COSM or MySQL to COSM Possible

Good Evening All, A friend of mine is using COSM via API commands from his Arduino GPRS module. However mine is Arduino to PC using XBEE, stored in MySQL via text document and viewed on HTML. Is it possible, anywhere along this process, to upload my…
Dav3--Uk
  • 33
  • 1
  • 8
0
votes
1 answer

COSM MQTT subscribe does not get latest update value

I expect mosquitto_sub should got the latest value sent from mosquitto_pub. But seems it is not true, subscribe always got the value before latest update one. Here is my test steps: I start mosquitto_sub first: mosquitto_sub: got value 5 (last good…
user2291509
  • 1
  • 1
  • 1
0
votes
1 answer

COSM MQTT subscribe does not receive update status whenever the feed or datastream is updated

I'm testing the MQTT with COSM. To publish data, I use below command: $ mosquitto_pub -h api.cosm.com -u -t /v2/feeds/96951.csv -m "temp_sensor,21" To subscribe, I use below command: $ mosquitto_sub -h api.cosm.com -u
user2291509
  • 1
  • 1
  • 1
0
votes
1 answer

Air Pollution Egg - XML feeds from Cosm

I have been trying to create an application using Cosm's XML feed, and I would like to know if (and how) it is possible to retrieve a XML between a specified limit of time (for example, to a CO sensor, a dataset containing the data of 30 days…
Mariana
  • 3
  • 1
0
votes
2 answers

Cosm example with temp and humidity sensor (DHT11) added

Added a temperature and humidity sensor (DHT11) to the standard Cosm Arduino sensor client example. Works for a short while then data streams flat line. Any idea what could be causing the problem? Many thanks Staza /** * Cosm Arduino sensor…
Staza
  • 1
  • 1
0
votes
1 answer

Detect a frozen feed in Cosm

Using Cosm Data Logging. Is it possible to create a trigger that sends an alert when a feed becomes frozen (i.e., data stops being received for over 15 minutes). This would alert me when my wireless sensor network stops working. Thanks in advance…
0
votes
2 answers

How to query cosm json feed using the cosm javascript library

I am new to web development and I have bit off more than I can chew. So far, I successfully have created a website to query the latest data at cosm.com Now I am trying to save the last 10 data points from the cosm.com feed to an array using the…
spuder
  • 17,437
  • 19
  • 87
  • 153