Current Cost Support Forum

A support forum for Current Cost users, partners and developers. Covering hardware, software and web.
Site Announcements

The support forum is moderated Monday to Friday, UK time. To submit a support ticket, please email: helpme [at] currentcost .com

It is currently Fri Mar 29, 2024 12:52 am

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: CurrentCost and Node.js
PostPosted: Sun Jun 16, 2013 10:27 am 
Offline

Joined: Sun Jun 16, 2013 9:52 am
Posts: 3
I probably posted this in the wrong section earlier (an an answer to a my.currentcost...), so here it is hopefully in correct area that more peeps can benefit from.

I use node.js (on raspberry pi's) , so developed a small module that treats the basestation as an event emitter. The events I get out of this module are easier to process than the raw XML (imho). Short examples are provided. I'll be expanding these examples when time allows.

The events I get from the basestation are sent into 'redis' pubsub queues, where I can easily centrally process them and send them to other services (like cosm/xively or emoncms etc). Since I recently added the 'average' events and the 'filesystem' support I find that I get a wealth of nice information now.

Comments/feedback/enhancements welcome:

Packaged for npm on npmjs.org: https://npmjs.org/package/ccxmleventemitter

GitHub: https://github.com/TheDistractor/CCXMLEventEmitter

I hope someone else finds it as useful as I am finding it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group