Thursday, December 30, 2010

Nimbits REST API and SDK

You can develop your own software using any platform or programming language you like, and use a Nimbits server as a back end for storing your time series data; taking advantage of all of Nimbit's services.

Most of Nimbits' functionality can be accessed using a REST API Interface and making simple HTTP post, get, put and delete requests. Nimbits supports using a secret key, OAuth, OpenID and Google Authentication.

Documentation on the REST API is available on the Nimbits Server Source Code page on Google Code under featured downloads:

 https://code.google.com/p/nimbits-server/

Taking this a level down, I have a Java Jar file that all of our java based client apps use (including the Android App). This project: Nimbits4J.jar has all of the code needed to authenticate a request with Google, and make requests to Nimbits such as getting a current value, recording values, getting charts, history, creating points etc.

The source code for Nimbits4J is available here:

http://code.google.com/p/nimbits4j/

We do have a .net client package as well but it's not posted for download. If you'd like to get your hands on the .net client for Nimbits, just ask and we'll help you out.

Happy Coding

Friday, December 17, 2010

[Data Out] Data Logging output on Twitter

You can configure a Nimbits time series data point to send a tweet on your twitter account each time it is written to or when it is in an alarm state.  This means that any changing time series value you are recording into Nimbits (be it through a web service call, the API, on your phone etc) the new value will get broadcast through your twitter account.

Since tweets add a hash # flag to your point name, it's easy to see all of that point's tweets just by clicking on it. You can also view #Nimbits to see everyone else's tweets!

To do this, just log into http://app.nimbits.com and click on the "Enable Twitter" menu option on the top. This will direct you to twitter.com where Nimbits is a registered application. Log into Nimbits and authorize the app to post to your twitter account. You'll then be directed back to the Nimbits Portal and you'll be ready to go.

Double click on the point and select the properties menu where you'll see the options to enable tweeting whenever a value is recorded or when the point is in alarm. 

Record a new value and you'll see the message appear on your twitter feed! 

You can also have Nimbits Send you an instant message, post to facebook or email you as your data changes.



Wednesday, December 15, 2010

Nimbits Android Update

We're excited to release a major upgrade to the Android Interface for Nimbits Data Logger. You can download the Nimbits Android App to your phone by visiting the Android Marketplace and searching for Nimbits or Data Logger.

Nimbits Server provides powerful data logging services for recording your time series data into Data Points stored on a global cloud computing infrastructure. The Nimbits Android App provides a window into your data allowing you to:

  • Create Data Points and Categories
  • View Charts and Snapshots.
  • View GPS data on maps.
  • Record New Values. 

Many developers are using our free and open source code to write their own interfaces to feed data from devices into Nimbits Data Points and then monitor those devices from Android.  If you still want to access your data but your phone isn't running Android, you can update and retrieve current values using most instant messenger clients.

Besides using a local database to improve performance, gesture recognition to fling between screens, the latest version has the following enhancements:

1. Switch between Nimbits Servers.  

There is a free, public server on app.nimbits.com you can use to create and manage data points and feed your low impact data into. If you want, you can also build your own Nimbits Server by downloading and installing the package from www.nimbits.com.  If you are running your own Nimbits Server, the Android interface can be configured to use it instead. You can even jump between multiple servers. Please note that the latest version of the App requires Nimbits server 3.0.5 or higher.


 2. Alarm Flags

You can log into a Nimbits Server and set alarms for points. A point can be either high or low. Now, you can see points that are in an alarm state with a red (high) or blue (low) flag.  For example, these 5 Radon meters, with one over the safety limit.


3. Better Charts

Deep integration into the Google Chart API  means the sky is the limit on visualizing your data. We have some exciting new features on the drawing board that will allow you to customizes the way your points are displayed on your phone i.e bar, pie, scatter charts etc. In the meantime, here is one cool chart:


Also, the charts now auto-refresh every 10 seconds.

4. Hey, Developers

All communication between the Nimbits Server and the client code on the phone is done using the Nimbits4J.jar - which is published as open source software on http://code.google.com/p/nimbits4j/

Nimbits4J is a Java library that simplifies Authenticating the Android App to Google, and calling the REST API. This just means I've done most of the work for you for writing the client apps to get recorded values, create points etc.  A Nimbits server can be coded against in any Language using the REST API services documented under featured downloads on the Nimbits Server Download Page.

Thursday, December 2, 2010

Nimbits 3.0.4 is live

Nimbits Server, running on http://app.nimbits.com is now running version 3.0.4 and that version is also available for download.  The archive NimbitsServer-3.0.4.zip and the installation instructions are listed under the featured downloads on the source code repository 


In this release:


Enjoy!