Xively and the air quality egg

102 views
Skip to first unread message

Damon Rand

unread,
May 16, 2013, 7:58:27 AM5/16/13
to IoT Bristol, Bristol UK Hackspace
Hi all (copying the hackspace in as well),

Its been a bit of a dynamic few weeks with air quality eggs and Cosm.

re: Cosm and Xively

If you go to cosm.com today you will see it has renamed to Xively
(trademark infringement apparently) and at the same time launched a
much more business focused offering. I went to the launch evening in
London on Tuesday.

All in all the latest iteration of PachCosmXiveLy looks very
promising. However, in the short term there has been a loss of
functionality for air quality eggs as the graphing engine has been
removed -- so no way to see historical air quality egg data right now!

According to the google group Xively is committed to restoring
functionality and there will be an announcement in the next few weeks.

re: Latest egg firmware

Wicked Devices have put out the new release of the egg firmware. It
requires a complete update of egg base, remote and shield. I've tested
it with a handful of eggs. CO is now working well. NO2 works on one
test egg but not on the others, not quite sure why yet. However, with
one properly working system I expect to be able to track down the last
issues with NO2 fairly imminently now.
http://blog.wickeddevice.com/?p=432

Once these Xively/NO2 wrinkles are ironed out I'll host another
evening at Bristol Hackspace, likely June at this stage.

Cheers,
Damon.




--
Damon Rand
Head of Product Design
Clean Energy Prospector

tel: +44.2071930914
tel: +64.48890122
mobile: +44 7887682995
twitter: @ceprouk
skype: damonatceprouk
http://www.cleanenergyprospector.com

Alan Senior

unread,
May 27, 2013, 4:46:49 PM5/27/13
to IoT Bristol

As Damon has stated there is currently significantly reduced
functionality with the Xively website so historical data is not
visible, I can onl;y see 5 hours of data for some reason....

There is a work-around if you have previously used the graph URL
generator when it was still the Cosm website (Xively have not added
this feature yet) because the graph URL's still work OK and historical
data can be plotted, it is possible to edit the following example to
my Cosm feed to make it point to your own egg data. Copy this URL
into the address bar of your browser and edit the text to reference
your own feed number and Egg serial number:

https://api.cosm.com/v2/feeds/87422/datastreams/NO2_00-04-a3-27-c8-bb_0.png?width=850&height=350&colour=%23f15a24&duration=7day&legend=NO2_trend&title=NO2_Level&show_axis_labels=true&detailed_grid=true&scale=manual&min=0&max=1000&timezone=UTC

As a URL all the above text needs to be copied into the browser
address bar as a single line with no spaces. At the moment it shows
the rather rubbish readings from my NO2 sensor. (Despite fixing the
heater and adding the missing connection on the board)!

Replace the 87422 with your feed number.
Replace the 00-04-a3-27-c8-bb with your serial number for the NO2
feed.
You can change 7day to 1day or any other day count if you want.

When you have the URL that works, save it as a bookmark!

For other sensor outputs:
Change NO2_xx-xx-xx-xx-xx-xx_0 to CO_xx-xx-xx-xx-xx-xx_1 where xx is
you egg serial number
Change NO2_trend to CO_trend and NO2_Level to Co_Level for example to
change the graph legend

Similarly for temperature and humidity, you can get the replacements
for NO2_00-04-a3-27-c8-bb_0 in your feed by looking at the Xively
stream names.

Hope this helps, until Xively get it all sorted!
Alan

Alan Senior

unread,
May 27, 2013, 4:54:27 PM5/27/13
to IoT Bristol
Forgot to mention that you will need to set:

min=0&max=1000

in the URL to sensible numbers for your feed, for example maybe

min=0&max=30

for a temperature. Clearly these parameters set the min and max values
on the "y axis" of the graph, so no plot will be visible if the actual
readings are not in that range. The min value does not have to be 0,
so could be say 10 for temperature.

TTFN,
Alan
Reply all
Reply to author
Forward
0 new messages