SlideShare a Scribd company logo
1 of 33
How to control your Smart Appliances
(and why)
with JEMMA & Arduino Yùn
R. Tomasi, I. Grimaldi
Energy@home Ref. Impl. WG
Mini Maker Faire
Torino, June 6 2015
1. Introduction to Energy@home
2. What: The JEMMA Framework
– Architecture & main components
– Key Technologies
3. How: Hands-on Demo
– How to make a configurable Arduino-based wifi switch to control
your appliance
– How to interact with JEMMA API using Python, Javascript, …
4. Why: 5 different ideas developed from projects adopting
JEMMA
Today’s outline
http://www.energy-home.it
Main speakers:
Danny Noferi
Joint Open Lab S-Cube
Lorenzo Di Berardino
APIO
Guest speakers:
Ivan Grimaldi
Core JEMMA Developer
Riccardo Tomasi
Energy@home Ref. Impl.
WG Chair
Energy@home Association
3www.energy-home.it
Non-profit Association
Networking & pre-competitive tool
Scope: smart home & demand side
management, not limited to the
italian market
Goal: create a market for new Value
Added Services based upon device-
to-device communication and
demand side management
Approach:
International Standards,
trials, regulations,
scope synergies
Energy@home Approach towards international standards
WG Standards
Data Model
IEEE P2030.5
IEC CIM
ZigBee SEP 2.x
ETSI, Hgi, OSGi, BBF,
EEBus, Agora
Application Layer
ZigBee
HA 1.2
Protocols
ZigBee
Pro (in progress)
Trials
Use Cases
TR 62746-2
WG Use Cases
Policies & Regulations
WG Policies
Reference
Implementation
Demo
WG Ref Impl
• OSGi
• Implements RFC 196
Device Abstraction Layer
• Complies with ZigBee
Gateway Device specs
6
• JEMMA: Java Energy ManageMent Application is the CEMS
reference implementation delivered by Energy@home
• It can be used to rapidly prototype and deploy smart energy
applications at home
• First Released (v0.0.1) in October 2013
• Based on an a CEMS solution developed and validated in the
Energy@home trials
• Initial code contribution by Telecom Italia
• Current version: v0.9.2
• Hosted on GitHub
JEMMA: the Energy@home CEMS
http://www.energy-home.it
http://jemma.energy-home.org
7
• Most of JEMMA has been released under the LGPL (Lesser
General Public License v3)
• LGPLv3 is a permissive “copyleft” license:
–it allows bundling and re-distributing the software for any
purpose including commercial, also integrating 3rd party
components released under other licenses
• It is thus allowed:
–To freely share JEMMA and its source code
–To extend and integrate JEMMA with other (free and non-
free) products or services
JEMMA: License
http://www.energy-home.it
8
DAL - Device Abstraction Layer
http://www.energy-home.it
 Device Abstraction Layer is a draft OSGi
standard (RFC 196) expected for release
within 2015
 It provides unified, self-descriptive API
to access devices
 It supports the inter-connection of
heterogeneous protocol connectors
 It expose devices functionalities in
granular fashion e.g. in terms of
Functions, each exposing a set of
Properties and Operations
 Reference implementations already
available or under development for other
Smart Home Standards beyond ZigBee
 e.g. enOcean, z-Wave, KNX, etc.
* https://github.com/osgi/design/raw/master/rfcs/rfc0196/rfc-0196-DeviceAbstractionLayer.pdf
9
DAL Philosophy
http://www.energy-home.it
OSGi
Context
Device
Device
Device
Device
Device
Device
Function
Function
Function
Function
Property
Property
Property
Operation
Operation
Operation
SmartPlug
Washing Machine
Metering
OnOff
Reverse
Status
(Examples in red)
10
Device Abstraction Layer APIs
http://www.energy-home.it
• In JEMMA, the DAL is the recommended interface to interact with
devices for both Control operations and eventing.
Accessible through
REST APIs
• Get devices, devices functionalities and invoke them (e.g. switch
on a lamp)
WebSocket APIs
• Obtain events from devices (e.g. power consumption changed)
Device
REST
WebSocket
Control
Eventing
3rd parties
App
11
Jemma stack
http://www.energy-home.it
JEMMA Home Automation platform
(JavaGAL, ZigBee network manage, Home Authomation Core)
JEMMA DAL adapter
OSGi DAL
Device service
OSGi DAL
Device serviceOSGi DAL Device
service
OSGi DAL
Function service
DAL web APIs (HTTP REST and WebSocket)
Gateway
environment
3rd parties apps
LAN/Internet
12
1 - Download test environment:
https://goo.gl/TJFgqY
2 - Exec start.bat (Windows) or start.sh (Linux)
3 - Open your web Browser:
http://localhost:8080/virtualhome/index.html
(HINT: right click -> view source)
Rapid development 3rd parties javascript apps
http://www.energy-home.it
13
GET /devices/
http://www.energy-home.it
$.getJSON(‘http://localhost:8080/api/devices’,
function(data){
//process data.result
}
);
{
"code": 200,
"result":
[
{
"dal.device.status": 2,
"dal.device.UID": "ZigBee:12345",
"dal.device.name":«Door Lock",
"dal.device.driver": "ZigBee",
}, ….
]
}
14
GET devices/${device_uid}/functions
http://www.energy-home.it
$.getJSON(
‘http://localhost:8080/api/devices/ZigBee:12345/functions’,
function(data){
//process data.result
}
);
{
"code": 200,
"result":
[
{
dal.function.UID: "ZigBee:12345:DoorLock",
dal.function.device.UID: "ZigBee:12345",
dal.function.operation.names: ["open", "close"]
dal.function.property.names: ["status"]
}, ….
]
}
15
POST /functions/${function_uid}
http://www.energy-home.it
$.ajax({
type: 'POST',
url: "http://localhost:8080/functions/ZigBee:12345:DoorLock,
data: JSON.stringify({operation:"getStatus"}),
success: function(data) {
//process data
}
});
{
"code":200,
"result":
{
status: "OPEN",
timestamp: 1433410604989
}
}
16
WebSocket events
http://www.energy-home.it
websocket = new WebSocket("ws://localhost:8080/ws");
websocket.send('{"dal.function.UID":"ZigBee:12345:DoorLock","dal.function.property.name":"*"}');
websocket.onmessage = function(evt) {
//parse evt
};
{
"topic":"org/osgi/service/dal/FunctionEvent/PROPERTY_CHANGED",
"properties":
{
"dal.function.UID":"ZigBee:ah.app.12345:DoorLock",
"dal.function.property.name":"status"
"dal.function.property.value":
{
"status":"CLOSED",
"timestamp":1433413157458
}
}
}
17
• JEMMA can interact with any device which can be
registered through the DAL Specifications
• It is compatible with all ZigBee HA 1.2 devices and a
few WiFi native devices
• It has currently been verified with a large number of
different devices and appliances e.g.:
–environmental sensors, smart plugs, switches, shutter
controls, door locks, webcams, ovens, washing
machines, fridges, etc.
–Full list available on the JEMMA Website
• The hands-on session will now show how devices can
be accessed from any REST-capable application or
device using JEMMA
Verified Devices / Smart Appliances
http://www.energy-home.it
18
Hands-on Session Setup
http://www.energy-home.it
ATmega32u4 Atheros AR9331 JEMMA HAG
WiFi
A (very!) simple
HW Button
I/O
Any Device …
DAL
Button
Example
JEMMA DAL Python Client
Bridge Lib
19
• For simplicity, let’s use http://www.arduino.cc/en/Tutorial/Button
Yun Hardware Sketch
http://www.energy-home.it
20
• A combination of:
– http://www.arduino.cc/en/Tutorial/Button and
– http://www.arduino.cc/en/Tutorial/ShellCommands
• Check out the commented example on GitHub
Yun Software Sketch
http://www.energy-home.it
21
• Simple Python bindings to interact with the JEMMA DAL API
via REST are available on GitHub.
– ismb/py-jemma-dal-rest-client
• A simple wrapper script is available to use bindings from any
Linux-like shell. Supported operations:
–DAL Device discovery
–DAL Functions discovery
–Access to DAL property get/set and DAL operations
• Examples (from the README):
– ./py-jemma-dal-rest-client.py -a 192.168.10.103 -c listd
– ./py-jemma-dal-rest-client.py -a 192.168.10.103 -c listf -d
"ZigBee:Sirena:ah.app.3521399293210526201-8"
– ./py-jemma-dal-rest-client.py -a 192.168.10.103 -c operate -d
"ZigBee:Sirena:ah.app.3521399293210526201-8" -f "OnOff" -o "reverse"
The JEMMA Python Bindings
http://www.energy-home.it
22
The Yun AR9331 already comes with Python 2.7 pre-
installed. You just need to
• Copy ismb/py-jemma-dal-rest-client (e.g. via SFTP) to
Yun
• Test it from console (e.g. from SSH)
• Hook the right shell command in the
p.runShellCommand(…) clause in the Arduino Sketch.
• … cross fingers!
To call the JEMMA DAL from Yun
http://www.energy-home.it
23
• The following slides show some explanatory use
cases from projects/initiatives adopting JEMMA or
some of its components
• The list is not exhaustive – but it is just meant to
provide some ideas about current and future potentials
of the JEMMA approach.
And now …. the «why» !
http://www.energy-home.it
24
• A number of use cases specified by Energy@home are
implemented in the default JEMMA distribution
– Visualization of Energy/Power information from meter
and appliances
–Visualization of costs (cumulative cost, before cycle
starts, etc. …)
–Visualization of historic consumption
–Energy production forecast
–Overload warning & management
–Scheduling devices based on production/cost forecast
–…
Some Energy@home use cases * …
http://www.energy-home.it
* Full «Energy@home Use Case» document freely available at http://www.energy-home.it
25
 EU-project with 7 partners – expected to be completed in 2016
 Piloted in the island of Fur in the municipality of Skive , in the
area served by GreenCom Partner EnergiMidt
 21 Real Households instrumented with GreenCom solutions
featuring a combination of home automation systems, PV
installations, Heat Pumps, Energy Storage
 Pilot Co-funded by EC (providing ICT components) and Danish
National programmes (co-funding appliances) – but with a
significant financial investment by prosumers
Case 1: The GreenCom project
http://www.energy-home.it
26
Case 1: GreenCom - Devices
http://www.energy-home.it
Source: Fronius
• Storage: 5 kW hybrid Inverter
with 4,5 kWh battery.
• Air to water Heat Pumps
Source: Nibe (VVM310)
• PV installations: various sizes
• Sub-meters, Smart Plugs
Source: Develco, ABB
• Indoor and outdoor
Temperature, Humidity,
Occupancy Sensors
27
Case 1: GreenCom - sharing flexibility with the (micro) grid
http://www.energy-home.it
• Each of the 21 Houses is provided with the OSGi-based GreenCom
Gateway, feeding data into a dedicated cloud-based MicroGrid Manager
 Depending on contractual agreements, data and control capabilities can be
shared by the prosumer among stakeholders i.e., DSO, Aggregator, Service
Provider which access to different “views” on the GreenCom systems
 GreenCom adopts the Energy@home DAL to achieve compatibility with Smart
Appliances
Source: GreenCom Aggregator Dashboard
Source: GreenCom User GUI
Users sign contracts which
secures cheaper heating cost
in exchange for their flexibility
28
• SORRISO is a regional-funded project
(«Internet of Data» call) to be completed
in 2015
• Expected outcomes:
– Integration with the «Smart Data
Platform» realized by CSI for the
Piedmont region
– Full Integration of an existing «made in
Piedmont» home storage solution
developed by a local company
– Validation in 2 residential and 2 public
buildings
• Istituto Vallauri (Fossano)
• Istituto Comprensivo Bruino
– Engagement of professors and
students (training activities, etc.)
Case 2: The SORRISO Living Lab
http://www.energy-home.it
29
• EU project with 9 partners
• Multi-agent systems attached to
Jemma gateways
• Jemma is being extended to provide
support of Mains Meters from
UK, Belgium and France
• Multi-agent systems exploited to take right decision in
each point of the grid, taking into account a range of
different conditions, constraints and end-user preferences
Case 3: MAS2TERING
http://www.energy-home.it
30
Case 4: APIO, easy and open Platform for “Internet of Things”
http://www.energy-home.it
Case 5: co-existance with other frameworks
http://www.energy-home.it
Freedomotic*
Northbound API
Southbound API
Jemma OffTheShelfDIY
Icon Credits:
Felipe Camara, Kari Gainor, Juan Garces, Leonardo Guerra, Joao Miranda, Alex Auda Samora
from the Noun Project
* Note: this is just an example –
but several integration
activities are being performed
around the world using JEMMA
with other open source projects
such as OpenHAB/Eclipse, DOG,
OpenADR, LinkSmart, VIRTUS,
etc.
32
Case 5: interaction through augmented reality
http://www.energy-home.it
Freedomotic Jemma
33
Case 5: Voice control
http://www.energy-home.it
Freedomotic JemmaVoice
recog
NLP
34
• To know more:
– Stay in touch with latest news from Energy@home on
http://www.energy-home.it
– check tutorials on http://jemma.energy-home.org
– contact us on the JEMMA Mailing list
• (see website, «contacts» section)
• Information about projects available at:
– http://www.greencom-project.eu/
– http://www.progetto-sorriso.it/
– http://www.mas2tering.eu/
– http://jol.telecomitalia.com/jolscube/
– http://www.apio.cc/
Thanks for your attention !
http://www.energy-home.it

More Related Content

What's hot

Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 
Smart homes using android
Smart homes using androidSmart homes using android
Smart homes using androidDroidcon Berlin
 
Introduction to Home Automation
Introduction to Home AutomationIntroduction to Home Automation
Introduction to Home AutomationRuslan Ulanov
 
Graduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint Presentation
Graduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint PresentationGraduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint Presentation
Graduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint PresentationAhmed Khalil Ibrahim
 
Smart Home Automation by LDCE student
Smart Home Automation by LDCE studentSmart Home Automation by LDCE student
Smart Home Automation by LDCE studentMitul Lakhani
 
Application of ai in home automation
Application of ai in home automationApplication of ai in home automation
Application of ai in home automationBharadwaj Sharma
 
Home System automation using android application
Home System automation using android applicationHome System automation using android application
Home System automation using android applicationdoaamarzook
 
Home automation system
Home automation systemHome automation system
Home automation systemNaman Gautam
 
Design & implementation of smart house control using lab view
Design & implementation of smart house control using lab viewDesign & implementation of smart house control using lab view
Design & implementation of smart house control using lab viewKalyan Palwai
 
home automation using ARM7 controller
home automation using ARM7 controllerhome automation using ARM7 controller
home automation using ARM7 controllerDHANAJI BURUNGALE
 
HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE
HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE
HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE IJRISE Journal
 
Message based home automation & security system
Message based home automation  & security systemMessage based home automation  & security system
Message based home automation & security systemJahid Hassan
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONEklavya Sharma
 
Home Automation System
Home Automation SystemHome Automation System
Home Automation SystemSweha Rajora
 
Smart house (Move to Easy Life)
Smart house (Move to Easy Life)Smart house (Move to Easy Life)
Smart house (Move to Easy Life)chirag thakkar
 
Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...Brundha Sholaganga
 

What's hot (20)

Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
Smart homes using android
Smart homes using androidSmart homes using android
Smart homes using android
 
Introduction to Home Automation
Introduction to Home AutomationIntroduction to Home Automation
Introduction to Home Automation
 
Graduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint Presentation
Graduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint PresentationGraduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint Presentation
Graduation Project on "SMART HOMES & RENEWABLE ENERGY" PowerPoint Presentation
 
Home automation
Home automationHome automation
Home automation
 
Smart Home Automation by LDCE student
Smart Home Automation by LDCE studentSmart Home Automation by LDCE student
Smart Home Automation by LDCE student
 
Application of ai in home automation
Application of ai in home automationApplication of ai in home automation
Application of ai in home automation
 
Home System automation using android application
Home System automation using android applicationHome System automation using android application
Home System automation using android application
 
Smarthome
SmarthomeSmarthome
Smarthome
 
Home automation system
Home automation systemHome automation system
Home automation system
 
Design & implementation of smart house control using lab view
Design & implementation of smart house control using lab viewDesign & implementation of smart house control using lab view
Design & implementation of smart house control using lab view
 
Home automation with arduino
Home automation with arduinoHome automation with arduino
Home automation with arduino
 
home automation using ARM7 controller
home automation using ARM7 controllerhome automation using ARM7 controller
home automation using ARM7 controller
 
Smart home automation
Smart home automationSmart home automation
Smart home automation
 
HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE
HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE
HOME AUTOMATION SYSTEM VIA INTERNET USING ANDROID PHONE
 
Message based home automation & security system
Message based home automation  & security systemMessage based home automation  & security system
Message based home automation & security system
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 
Home Automation System
Home Automation SystemHome Automation System
Home Automation System
 
Smart house (Move to Easy Life)
Smart house (Move to Easy Life)Smart house (Move to Easy Life)
Smart house (Move to Easy Life)
 
Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...Home automation in client server using NodeMcu approach along with user notif...
Home automation in client server using NodeMcu approach along with user notif...
 

Viewers also liked

HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOEklavya Sharma
 
New Smart Plugs to add free connectivity to household appliances
New Smart Plugs to add free connectivity to household appliancesNew Smart Plugs to add free connectivity to household appliances
New Smart Plugs to add free connectivity to household appliancesValerio Aisa
 
Smart Domestic Appliances Provide Flexibility for Sustainable Energy Systems
Smart Domestic Appliances Provide Flexibility for Sustainable Energy SystemsSmart Domestic Appliances Provide Flexibility for Sustainable Energy Systems
Smart Domestic Appliances Provide Flexibility for Sustainable Energy SystemsLeonardo ENERGY
 
Rapid Prototyping and Rapid Manufacturing Technologies
Rapid Prototyping and Rapid Manufacturing TechnologiesRapid Prototyping and Rapid Manufacturing Technologies
Rapid Prototyping and Rapid Manufacturing TechnologiesSkorpion Engineering Srl
 
Internet @ppliances an OSGi-based white goods smart home application - H Wer...
Internet @ppliances  an OSGi-based white goods smart home application - H Wer...Internet @ppliances  an OSGi-based white goods smart home application - H Wer...
Internet @ppliances an OSGi-based white goods smart home application - H Wer...mfrancis
 
Senior Design Project, GIKI
Senior Design Project, GIKISenior Design Project, GIKI
Senior Design Project, GIKIwburney
 
Smart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm InnovationsSmart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm Innovationsmouniraydi
 
Indesit smart objects
Indesit   smart objectsIndesit   smart objects
Indesit smart objectsValerio Aisa
 
Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...
Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...
Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...Smart Villages
 
Zigbee Home Automation System
Zigbee Home Automation SystemZigbee Home Automation System
Zigbee Home Automation SystemAkshit Kumar
 
Home Automation by Android Application based Remote Control
Home Automation by Android Application based Remote ControlHome Automation by Android Application based Remote Control
Home Automation by Android Application based Remote ControlEdgefxkits & Solutions
 
Home Automation System using Arduino and Android
Home Automation System using Arduino and AndroidHome Automation System using Arduino and Android
Home Automation System using Arduino and AndroidMuhammad Ayesh
 
Zigbee For Home Automation
Zigbee For Home AutomationZigbee For Home Automation
Zigbee For Home Automationchinmaysave
 
Smart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-BeeSmart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-Beepremdeshmane
 

Viewers also liked (20)

HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINO
 
New Smart Plugs to add free connectivity to household appliances
New Smart Plugs to add free connectivity to household appliancesNew Smart Plugs to add free connectivity to household appliances
New Smart Plugs to add free connectivity to household appliances
 
ICIECA 2014 Paper 23
ICIECA 2014 Paper 23ICIECA 2014 Paper 23
ICIECA 2014 Paper 23
 
Smart Domestic Appliances Provide Flexibility for Sustainable Energy Systems
Smart Domestic Appliances Provide Flexibility for Sustainable Energy SystemsSmart Domestic Appliances Provide Flexibility for Sustainable Energy Systems
Smart Domestic Appliances Provide Flexibility for Sustainable Energy Systems
 
Rapid Prototyping and Rapid Manufacturing Technologies
Rapid Prototyping and Rapid Manufacturing TechnologiesRapid Prototyping and Rapid Manufacturing Technologies
Rapid Prototyping and Rapid Manufacturing Technologies
 
Internet @ppliances an OSGi-based white goods smart home application - H Wer...
Internet @ppliances  an OSGi-based white goods smart home application - H Wer...Internet @ppliances  an OSGi-based white goods smart home application - H Wer...
Internet @ppliances an OSGi-based white goods smart home application - H Wer...
 
Senior Design Project, GIKI
Senior Design Project, GIKISenior Design Project, GIKI
Senior Design Project, GIKI
 
Smart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm InnovationsSmart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm Innovations
 
Indesit smart objects
Indesit   smart objectsIndesit   smart objects
Indesit smart objects
 
Lada park
Lada parkLada park
Lada park
 
home automation
home automationhome automation
home automation
 
Semantic web services
Semantic web servicesSemantic web services
Semantic web services
 
Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...
Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...
Dhaka | Aug-15 | Village level energy access in Bangladesh: Solar Home System...
 
Zigbee Home Automation System
Zigbee Home Automation SystemZigbee Home Automation System
Zigbee Home Automation System
 
Home Automation by Android Application based Remote Control
Home Automation by Android Application based Remote ControlHome Automation by Android Application based Remote Control
Home Automation by Android Application based Remote Control
 
S home
S homeS home
S home
 
Home Automation System using Arduino and Android
Home Automation System using Arduino and AndroidHome Automation System using Arduino and Android
Home Automation System using Arduino and Android
 
Zigbee For Home Automation
Zigbee For Home AutomationZigbee For Home Automation
Zigbee For Home Automation
 
Mini Project- Microprocessor Control Of A Radio Receiver
Mini Project- Microprocessor Control Of A Radio ReceiverMini Project- Microprocessor Control Of A Radio Receiver
Mini Project- Microprocessor Control Of A Radio Receiver
 
Smart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-BeeSmart home device system using arduino uno & X-Bee
Smart home device system using arduino uno & X-Bee
 

Similar to How to control your Smart Appliances (and why) with JEMMA & Arduino Yùn

New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...mfrancis
 
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre BottaroAn end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaromfrancis
 
NETIO products company: Manufacturer of networked power sockets
NETIO products company: Manufacturer of networked power socketsNETIO products company: Manufacturer of networked power sockets
NETIO products company: Manufacturer of networked power socketsLenka Peřinová
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET Journal
 
IRJET- Home Automation using Arduino and IoT
IRJET-  	  Home Automation using Arduino and IoTIRJET-  	  Home Automation using Arduino and IoT
IRJET- Home Automation using Arduino and IoTIRJET Journal
 
IRATI @ RINA Workshop 2014, Dublin
IRATI @ RINA Workshop 2014, DublinIRATI @ RINA Workshop 2014, Dublin
IRATI @ RINA Workshop 2014, DublinEleni Trouva
 
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...Codemotion
 
Robust Embedded Applications OSGi ME Platforms
Robust Embedded Applications OSGi ME PlatformsRobust Embedded Applications OSGi ME Platforms
Robust Embedded Applications OSGi ME PlatformsOSGi User Group France
 
FFicili_Curriculum - v1.3 - 07092014 - ENG
FFicili_Curriculum - v1.3 - 07092014 - ENGFFicili_Curriculum - v1.3 - 07092014 - ENG
FFicili_Curriculum - v1.3 - 07092014 - ENGFrancesco Ficili
 
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, ParisThe complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, ParisOW2
 
The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)Samsung Open Source Group
 
WireCloud hands-on. FI-PPP-Liaison
WireCloud hands-on. FI-PPP-LiaisonWireCloud hands-on. FI-PPP-Liaison
WireCloud hands-on. FI-PPP-LiaisonMiguel Jiménez
 
Network Design For Alliance Française de Dhaka
Network Design For Alliance Française de DhakaNetwork Design For Alliance Française de Dhaka
Network Design For Alliance Française de DhakaMD. Naimur Rahman
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET Journal
 
IOT in 5G Training and Certification by TELCOMA Global
IOT in 5G Training and Certification by TELCOMA GlobalIOT in 5G Training and Certification by TELCOMA Global
IOT in 5G Training and Certification by TELCOMA GlobalGaganpreet Singh Walia
 

Similar to How to control your Smart Appliances (and why) with JEMMA & Arduino Yùn (20)

Uvais
Uvais Uvais
Uvais
 
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
 
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre BottaroAn end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
An end-to-end standard oneM2M infrastructure for the Smart Home - Andre Bottaro
 
NETIO products company: Manufacturer of networked power sockets
NETIO products company: Manufacturer of networked power socketsNETIO products company: Manufacturer of networked power sockets
NETIO products company: Manufacturer of networked power sockets
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)
 
IRJET- Home Automation using Arduino and IoT
IRJET-  	  Home Automation using Arduino and IoTIRJET-  	  Home Automation using Arduino and IoT
IRJET- Home Automation using Arduino and IoT
 
IRATI @ RINA Workshop 2014, Dublin
IRATI @ RINA Workshop 2014, DublinIRATI @ RINA Workshop 2014, Dublin
IRATI @ RINA Workshop 2014, Dublin
 
Final project report
Final project reportFinal project report
Final project report
 
IoT Workshop in Macao
IoT Workshop in MacaoIoT Workshop in Macao
IoT Workshop in Macao
 
IoT Workshop in Macao
IoT Workshop in MacaoIoT Workshop in Macao
IoT Workshop in Macao
 
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
 
Robust Embedded Applications OSGi ME Platforms
Robust Embedded Applications OSGi ME PlatformsRobust Embedded Applications OSGi ME Platforms
Robust Embedded Applications OSGi ME Platforms
 
FFicili_Curriculum - v1.3 - 07092014 - ENG
FFicili_Curriculum - v1.3 - 07092014 - ENGFFicili_Curriculum - v1.3 - 07092014 - ENG
FFicili_Curriculum - v1.3 - 07092014 - ENG
 
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, ParisThe complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
 
webthing-floss-iot-20180607rzr
webthing-floss-iot-20180607rzrwebthing-floss-iot-20180607rzr
webthing-floss-iot-20180607rzr
 
The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)
 
WireCloud hands-on. FI-PPP-Liaison
WireCloud hands-on. FI-PPP-LiaisonWireCloud hands-on. FI-PPP-Liaison
WireCloud hands-on. FI-PPP-Liaison
 
Network Design For Alliance Française de Dhaka
Network Design For Alliance Française de DhakaNetwork Design For Alliance Française de Dhaka
Network Design For Alliance Française de Dhaka
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home Automation
 
IOT in 5G Training and Certification by TELCOMA Global
IOT in 5G Training and Certification by TELCOMA GlobalIOT in 5G Training and Certification by TELCOMA Global
IOT in 5G Training and Certification by TELCOMA Global
 

Recently uploaded

Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 

Recently uploaded (20)

Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 

How to control your Smart Appliances (and why) with JEMMA & Arduino Yùn

  • 1. How to control your Smart Appliances (and why) with JEMMA & Arduino Yùn R. Tomasi, I. Grimaldi Energy@home Ref. Impl. WG Mini Maker Faire Torino, June 6 2015
  • 2. 1. Introduction to Energy@home 2. What: The JEMMA Framework – Architecture & main components – Key Technologies 3. How: Hands-on Demo – How to make a configurable Arduino-based wifi switch to control your appliance – How to interact with JEMMA API using Python, Javascript, … 4. Why: 5 different ideas developed from projects adopting JEMMA Today’s outline http://www.energy-home.it Main speakers: Danny Noferi Joint Open Lab S-Cube Lorenzo Di Berardino APIO Guest speakers: Ivan Grimaldi Core JEMMA Developer Riccardo Tomasi Energy@home Ref. Impl. WG Chair
  • 3. Energy@home Association 3www.energy-home.it Non-profit Association Networking & pre-competitive tool Scope: smart home & demand side management, not limited to the italian market Goal: create a market for new Value Added Services based upon device- to-device communication and demand side management Approach: International Standards, trials, regulations, scope synergies
  • 4. Energy@home Approach towards international standards WG Standards Data Model IEEE P2030.5 IEC CIM ZigBee SEP 2.x ETSI, Hgi, OSGi, BBF, EEBus, Agora Application Layer ZigBee HA 1.2 Protocols ZigBee Pro (in progress) Trials Use Cases TR 62746-2 WG Use Cases Policies & Regulations WG Policies Reference Implementation Demo WG Ref Impl • OSGi • Implements RFC 196 Device Abstraction Layer • Complies with ZigBee Gateway Device specs
  • 5. 6 • JEMMA: Java Energy ManageMent Application is the CEMS reference implementation delivered by Energy@home • It can be used to rapidly prototype and deploy smart energy applications at home • First Released (v0.0.1) in October 2013 • Based on an a CEMS solution developed and validated in the Energy@home trials • Initial code contribution by Telecom Italia • Current version: v0.9.2 • Hosted on GitHub JEMMA: the Energy@home CEMS http://www.energy-home.it http://jemma.energy-home.org
  • 6. 7 • Most of JEMMA has been released under the LGPL (Lesser General Public License v3) • LGPLv3 is a permissive “copyleft” license: –it allows bundling and re-distributing the software for any purpose including commercial, also integrating 3rd party components released under other licenses • It is thus allowed: –To freely share JEMMA and its source code –To extend and integrate JEMMA with other (free and non- free) products or services JEMMA: License http://www.energy-home.it
  • 7. 8 DAL - Device Abstraction Layer http://www.energy-home.it  Device Abstraction Layer is a draft OSGi standard (RFC 196) expected for release within 2015  It provides unified, self-descriptive API to access devices  It supports the inter-connection of heterogeneous protocol connectors  It expose devices functionalities in granular fashion e.g. in terms of Functions, each exposing a set of Properties and Operations  Reference implementations already available or under development for other Smart Home Standards beyond ZigBee  e.g. enOcean, z-Wave, KNX, etc. * https://github.com/osgi/design/raw/master/rfcs/rfc0196/rfc-0196-DeviceAbstractionLayer.pdf
  • 9. 10 Device Abstraction Layer APIs http://www.energy-home.it • In JEMMA, the DAL is the recommended interface to interact with devices for both Control operations and eventing. Accessible through REST APIs • Get devices, devices functionalities and invoke them (e.g. switch on a lamp) WebSocket APIs • Obtain events from devices (e.g. power consumption changed) Device REST WebSocket Control Eventing 3rd parties App
  • 10. 11 Jemma stack http://www.energy-home.it JEMMA Home Automation platform (JavaGAL, ZigBee network manage, Home Authomation Core) JEMMA DAL adapter OSGi DAL Device service OSGi DAL Device serviceOSGi DAL Device service OSGi DAL Function service DAL web APIs (HTTP REST and WebSocket) Gateway environment 3rd parties apps LAN/Internet
  • 11. 12 1 - Download test environment: https://goo.gl/TJFgqY 2 - Exec start.bat (Windows) or start.sh (Linux) 3 - Open your web Browser: http://localhost:8080/virtualhome/index.html (HINT: right click -> view source) Rapid development 3rd parties javascript apps http://www.energy-home.it
  • 12. 13 GET /devices/ http://www.energy-home.it $.getJSON(‘http://localhost:8080/api/devices’, function(data){ //process data.result } ); { "code": 200, "result": [ { "dal.device.status": 2, "dal.device.UID": "ZigBee:12345", "dal.device.name":«Door Lock", "dal.device.driver": "ZigBee", }, …. ] }
  • 13. 14 GET devices/${device_uid}/functions http://www.energy-home.it $.getJSON( ‘http://localhost:8080/api/devices/ZigBee:12345/functions’, function(data){ //process data.result } ); { "code": 200, "result": [ { dal.function.UID: "ZigBee:12345:DoorLock", dal.function.device.UID: "ZigBee:12345", dal.function.operation.names: ["open", "close"] dal.function.property.names: ["status"] }, …. ] }
  • 14. 15 POST /functions/${function_uid} http://www.energy-home.it $.ajax({ type: 'POST', url: "http://localhost:8080/functions/ZigBee:12345:DoorLock, data: JSON.stringify({operation:"getStatus"}), success: function(data) { //process data } }); { "code":200, "result": { status: "OPEN", timestamp: 1433410604989 } }
  • 15. 16 WebSocket events http://www.energy-home.it websocket = new WebSocket("ws://localhost:8080/ws"); websocket.send('{"dal.function.UID":"ZigBee:12345:DoorLock","dal.function.property.name":"*"}'); websocket.onmessage = function(evt) { //parse evt }; { "topic":"org/osgi/service/dal/FunctionEvent/PROPERTY_CHANGED", "properties": { "dal.function.UID":"ZigBee:ah.app.12345:DoorLock", "dal.function.property.name":"status" "dal.function.property.value": { "status":"CLOSED", "timestamp":1433413157458 } } }
  • 16. 17 • JEMMA can interact with any device which can be registered through the DAL Specifications • It is compatible with all ZigBee HA 1.2 devices and a few WiFi native devices • It has currently been verified with a large number of different devices and appliances e.g.: –environmental sensors, smart plugs, switches, shutter controls, door locks, webcams, ovens, washing machines, fridges, etc. –Full list available on the JEMMA Website • The hands-on session will now show how devices can be accessed from any REST-capable application or device using JEMMA Verified Devices / Smart Appliances http://www.energy-home.it
  • 17. 18 Hands-on Session Setup http://www.energy-home.it ATmega32u4 Atheros AR9331 JEMMA HAG WiFi A (very!) simple HW Button I/O Any Device … DAL Button Example JEMMA DAL Python Client Bridge Lib
  • 18. 19 • For simplicity, let’s use http://www.arduino.cc/en/Tutorial/Button Yun Hardware Sketch http://www.energy-home.it
  • 19. 20 • A combination of: – http://www.arduino.cc/en/Tutorial/Button and – http://www.arduino.cc/en/Tutorial/ShellCommands • Check out the commented example on GitHub Yun Software Sketch http://www.energy-home.it
  • 20. 21 • Simple Python bindings to interact with the JEMMA DAL API via REST are available on GitHub. – ismb/py-jemma-dal-rest-client • A simple wrapper script is available to use bindings from any Linux-like shell. Supported operations: –DAL Device discovery –DAL Functions discovery –Access to DAL property get/set and DAL operations • Examples (from the README): – ./py-jemma-dal-rest-client.py -a 192.168.10.103 -c listd – ./py-jemma-dal-rest-client.py -a 192.168.10.103 -c listf -d "ZigBee:Sirena:ah.app.3521399293210526201-8" – ./py-jemma-dal-rest-client.py -a 192.168.10.103 -c operate -d "ZigBee:Sirena:ah.app.3521399293210526201-8" -f "OnOff" -o "reverse" The JEMMA Python Bindings http://www.energy-home.it
  • 21. 22 The Yun AR9331 already comes with Python 2.7 pre- installed. You just need to • Copy ismb/py-jemma-dal-rest-client (e.g. via SFTP) to Yun • Test it from console (e.g. from SSH) • Hook the right shell command in the p.runShellCommand(…) clause in the Arduino Sketch. • … cross fingers! To call the JEMMA DAL from Yun http://www.energy-home.it
  • 22. 23 • The following slides show some explanatory use cases from projects/initiatives adopting JEMMA or some of its components • The list is not exhaustive – but it is just meant to provide some ideas about current and future potentials of the JEMMA approach. And now …. the «why» ! http://www.energy-home.it
  • 23. 24 • A number of use cases specified by Energy@home are implemented in the default JEMMA distribution – Visualization of Energy/Power information from meter and appliances –Visualization of costs (cumulative cost, before cycle starts, etc. …) –Visualization of historic consumption –Energy production forecast –Overload warning & management –Scheduling devices based on production/cost forecast –… Some Energy@home use cases * … http://www.energy-home.it * Full «Energy@home Use Case» document freely available at http://www.energy-home.it
  • 24. 25  EU-project with 7 partners – expected to be completed in 2016  Piloted in the island of Fur in the municipality of Skive , in the area served by GreenCom Partner EnergiMidt  21 Real Households instrumented with GreenCom solutions featuring a combination of home automation systems, PV installations, Heat Pumps, Energy Storage  Pilot Co-funded by EC (providing ICT components) and Danish National programmes (co-funding appliances) – but with a significant financial investment by prosumers Case 1: The GreenCom project http://www.energy-home.it
  • 25. 26 Case 1: GreenCom - Devices http://www.energy-home.it Source: Fronius • Storage: 5 kW hybrid Inverter with 4,5 kWh battery. • Air to water Heat Pumps Source: Nibe (VVM310) • PV installations: various sizes • Sub-meters, Smart Plugs Source: Develco, ABB • Indoor and outdoor Temperature, Humidity, Occupancy Sensors
  • 26. 27 Case 1: GreenCom - sharing flexibility with the (micro) grid http://www.energy-home.it • Each of the 21 Houses is provided with the OSGi-based GreenCom Gateway, feeding data into a dedicated cloud-based MicroGrid Manager  Depending on contractual agreements, data and control capabilities can be shared by the prosumer among stakeholders i.e., DSO, Aggregator, Service Provider which access to different “views” on the GreenCom systems  GreenCom adopts the Energy@home DAL to achieve compatibility with Smart Appliances Source: GreenCom Aggregator Dashboard Source: GreenCom User GUI Users sign contracts which secures cheaper heating cost in exchange for their flexibility
  • 27. 28 • SORRISO is a regional-funded project («Internet of Data» call) to be completed in 2015 • Expected outcomes: – Integration with the «Smart Data Platform» realized by CSI for the Piedmont region – Full Integration of an existing «made in Piedmont» home storage solution developed by a local company – Validation in 2 residential and 2 public buildings • Istituto Vallauri (Fossano) • Istituto Comprensivo Bruino – Engagement of professors and students (training activities, etc.) Case 2: The SORRISO Living Lab http://www.energy-home.it
  • 28. 29 • EU project with 9 partners • Multi-agent systems attached to Jemma gateways • Jemma is being extended to provide support of Mains Meters from UK, Belgium and France • Multi-agent systems exploited to take right decision in each point of the grid, taking into account a range of different conditions, constraints and end-user preferences Case 3: MAS2TERING http://www.energy-home.it
  • 29. 30 Case 4: APIO, easy and open Platform for “Internet of Things” http://www.energy-home.it
  • 30. Case 5: co-existance with other frameworks http://www.energy-home.it Freedomotic* Northbound API Southbound API Jemma OffTheShelfDIY Icon Credits: Felipe Camara, Kari Gainor, Juan Garces, Leonardo Guerra, Joao Miranda, Alex Auda Samora from the Noun Project * Note: this is just an example – but several integration activities are being performed around the world using JEMMA with other open source projects such as OpenHAB/Eclipse, DOG, OpenADR, LinkSmart, VIRTUS, etc.
  • 31. 32 Case 5: interaction through augmented reality http://www.energy-home.it Freedomotic Jemma
  • 32. 33 Case 5: Voice control http://www.energy-home.it Freedomotic JemmaVoice recog NLP
  • 33. 34 • To know more: – Stay in touch with latest news from Energy@home on http://www.energy-home.it – check tutorials on http://jemma.energy-home.org – contact us on the JEMMA Mailing list • (see website, «contacts» section) • Information about projects available at: – http://www.greencom-project.eu/ – http://www.progetto-sorriso.it/ – http://www.mas2tering.eu/ – http://jol.telecomitalia.com/jolscube/ – http://www.apio.cc/ Thanks for your attention ! http://www.energy-home.it

Editor's Notes

  1. Portare box flexgateway, smart info, smart plugs
  2. Vision: communication is an enabler of energy efficiency & demand side flexibility New tools & new value added services for the users, for the grid, and for new service providers Device-to-device HAN communication Grid-to-Customer communication to exploit demand side flexibility
  3. Esempi: Se eldo può parlare con il contatore e con gli altri eldo, possono evitare il sovraccarico Se poi possono anche comunicare con l’impianto di generazione (PV) e usare le previsoni del tempo possono suggerire a che ora partire Se un sistema di storage può comunicare con i carichi di casa, può aumentare il beneficio economico per gli utenti Se le luci possono comunicare con gli altri device, possono essere usate per segnalare eventi