Welcome, Guest
Username: Password: Secret Key Remember me

TOPIC: Swordfish Pachube (Patch-Bay) Client

Swordfish Pachube (Patch-Bay) Client 7 years 3 months ago #16743

  • RangerBob
  • RangerBob's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Thanks received: 48

[EDIT 08/06/2012 : Pachube has now changed its name to Cosm, but the Pachube API's listed here still work as is.]

Following on from my previous article here, we have a simple HTTP client for Swordfish. But what use can we make of it, besides browsing the source code of our favourite webpages?

Pachube (pronounced “Patch-Bay”) is an online database service which allows users and developers to upload and download data from their own “Feeds”, or from feeds from other users. Using our simple HTTP client, we can push data from our PIC web platform onto the Pachube servers, and can pull data back at our leisure, either to a PC or other web connected device such as our PIC based platform.

For example, this should be “live” data uploaded from my PICDEM.net 2 board sitting on my desk. It samples the Potentiometer and TC1047 temperature sensor every 30 seconds, and uploads that data to the Pachube servers. Apologies, if this is now offline, I may need that devboard for something else!

We can easily produce Graph image


Time to create page: 0.261 seconds