green your apps (at over the air 2011)

24
Green your Apps James Smith Platform Evangelist, AMEE Over The Air 2011

Upload: amee

Post on 14-Dec-2014

273 views

Category:

Technology


1 download

DESCRIPTION

A brief overview of the AMEE platform and AMEEconnect API, presented at Over The Air 2011 by James Smith

TRANSCRIPT

Page 1: Green Your Apps (at Over The Air 2011)

Green your Apps

James SmithPlatform Evangelist, AMEE

Over The Air 2011

Page 2: Green Your Apps (at Over The Air 2011)

AMEE

Cloud Platform

Environmental Intelligence

Computable Standards

Page 3: Green Your Apps (at Over The Air 2011)

Emission Methodologies

Simple cases: A*BThe minority!

Many are much more complex

100s of lines of algorithm>20 inputs

Combinations of required values

Page 4: Green Your Apps (at Over The Air 2011)

Why use AMEE?

Not everyone should have to be an expert

Making standards accessible without domain knowledge

Trusted implementation

Automated updating

Auditable

Page 5: Green Your Apps (at Over The Air 2011)

AMEE services

AMEEdiscover

AMEEconnect

AMEEapps

Page 6: Green Your Apps (at Over The Air 2011)

AMEEdiscover

Human-readable view of AMEE data

Searchable & Accessible

Fully referenced and documented

Page 7: Green Your Apps (at Over The Air 2011)

AMEEconnect

Access Content (emissions factors)

Perform Calculations

Store Data

Page 8: Green Your Apps (at Over The Air 2011)

Technologies

RESTful API

XML & JSON encodings

HTTP Standards

Page 9: Green Your Apps (at Over The Air 2011)

Choosing Categories

AMEEdiscover

SearchBrowse by tag

Browse by standardComprehensive documentation

CalculatorCode generation

Page 10: Green Your Apps (at Over The Air 2011)

Workflow

Create Profile

One for each entity (user, etc)

POST to /profiles

Page 11: Green Your Apps (at Over The Air 2011)

Workflow

Select Data Item

Drilldown request to identify exact calculation

GET to /data/{category_path}/drill

Page 12: Green Your Apps (at Over The Air 2011)

Workflow

Create Profile Items

For each item of consumptionOne-off or time series

POST to /profiles/{uid}/{category_path}

Each category has different parameters

energyConsumption=100&energyConsumptionUnit=kWh

Page 13: Green Your Apps (at Over The Air 2011)
Page 14: Green Your Apps (at Over The Air 2011)

Example

Interactive HTTP using ihsh

http://github.com/AMEE/ihsh

Page 15: Green Your Apps (at Over The Air 2011)

SDKs

Ruby

PHPJava

Python

Code generation in AMEEdiscover

Page 16: Green Your Apps (at Over The Air 2011)
Page 17: Green Your Apps (at Over The Air 2011)
Page 18: Green Your Apps (at Over The Air 2011)
Page 19: Green Your Apps (at Over The Air 2011)

Example

Generated code using SDK

http://discover.amee.com

Page 20: Green Your Apps (at Over The Air 2011)

AMEEapps

SaaS applications

Simple to complex

Dual purpose:

1. Complete off-the-shelf apps

2. Example applications (open source)

Page 21: Green Your Apps (at Over The Air 2011)

AMEEappkit

Our own internal toolset

Open Source (BSD 3-Clause)

Interlocking components for building complete webapps

Built on Rails 3

Page 22: Green Your Apps (at Over The Air 2011)

AMEEappkit

Analytics

DB storageData Abstraction

Classification

Authentication UI

Page 23: Green Your Apps (at Over The Air 2011)

Example

AMEEappkit demo

http://github.com/AMEE/hoofprinter

Page 24: Green Your Apps (at Over The Air 2011)

Fin

http://www.amee.com/developer

http://my.amee.com/signup

@[email protected]

PROMO CODE: OTA11 (in organisation field)