SlideShare une entreprise Scribd logo
1  sur  42
Télécharger pour lire hors ligne
David Gascón - CTO
d.gascon@libelium.com
@DG_David_Gascon
2
3
4
Waspmote: Open platform for the Internet of Things
5
Waspmote: Open platform for the Internet of Things
6
Waspmote: Open platform for the Internet of Things
7
Extreme Wireless Links for Sensor Nodes
+21km line of sight
8
Extreme Wireless Links for Sensor Nodes
+2km non line of sight (through buildings) → Urban Environment
9
10
Plug & Sense! Models
11
Smart Agriculture
12
Smart Agriculture
13
Smart Parking
14
Smart Parking
15
Smart Water
16
Smart Water
17
Nuclear Radiation Sensing
18
Nuclear Radiation Sensing
19
Forest Fire Detection
0
20
Sensors to the Space
21
Sensors to the Space
22
Sensors to the Space
23
IoT for Makers
eHealth Sensor Platform - Any Biometric Parameter
24
IoT for Makers
eHealth Sensor Platform - Any Biometric Parameter
25
IoT for Makers
Open Garden (Hydroponics)
26
IoT for Makers
Open Aquarium (Aquaponics)
27
Meshlium: Internet of Things Gateway
28
Meshlium: Internet of Things Gateway
29
- S.O: Debian + APT management package tools
- Run Time Environments: Java, PHP, Python, C++, Ruby,... [Any]
- 8GB – Compact Flash storage system
- Web Management System + MySQL for Data Storage
- CPU: 500MHz (x86)
- RAM: 256MB
- Power Over Ethernet
- Radio Interfaces:
+ WiFi (2.4GHz / 5GHz)
+ 3G (Quadband)
+ ZigBee / 802.15.4 / Sub GHz bands
+ Bluetooth
Meshlium: Internet of Things Gateway
30
Meshlium: Internet of Things Gateway
31
- Frames estructure sent by Waspmote:
ASCII-382540406-trackertest-128-194-,TIME:20141207134218+0100,GPS:41.647240;-
0.905457,SOILT:8.92,TCB:15.90,HUMB:44.6,BAT:0,RSSI:-77,IN_TEMP:17.42
ASCII-382540406-trackertest-128-195-,TIME:20141207134518+0100,GPS:41.647240;-
0.905455,SOILT:9.07,TCB:16.14,HUMB:44.4,BAT:0,RSSI:-71,IN_TEMP:17.65
ASCII-382540406-trackertest-128-196-,TIME:20141207134818+0100,GPS:41.647243;-
0.905450,SOILT:9.23,TCB:16.44,HUMB:44.0,BAT:0,RSSI:-71,IN_TEMP:17.77
Meshlium: Internet of Things Gateway
32
- A Java application reads the Frames coming from the Wireless Interfaces
(ZigBee, WiFi, 3G, 868/900MHz, etc) and parse them. Then they are
inserted in a MySQL DB:
CREATE TABLE IF NOT EXISTS `sensorParser` (
`id` int(11) NOT NULL auto_increment,
`id_wasp` text character set utf8 collate utf8_unicode_ci,
`id_secret` text character set utf8 collate utf8_unicode_ci,
`frame_type` int(11) default NULL,
`frame_number` int(11) default NULL,
`sensor` text character set utf8 collate utf8_unicode_ci,
`value` text character set utf8 collate utf8_unicode_ci,
`timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP,
...
PRIMARY KEY (`id`)
)
Meshlium: Internet of Things Gateway
33
- Sensor ID's:
ID ASCII ID Fields Type
0 CO 1 float
1 CO2 1 float
2 TMP 1 float
3 HMD 1 float
...
53 GPS 2 float
...
63 ACC 3 int
…
67 MWIFI 1 string
Meshlium: Internet of Things Gateway
34
1º – Get a namespace + credentials (ACS authentication)
2º – Needed to start the program
public static void AzureSetup(){
config = ServiceBusConfiguration.configureWithWrapAuthentication(
AZURE_NAMESPACE,
AZURE_OWNER,
AZURE_KEY,
".servicebus.windows.net",
"-sb.accesscontrol.windows.net/WRAPv0.9");
service = ServiceBusService.create(config);
}
Connecting Meshlium to Azure Bus Service
35
Connecting Meshlium to Azure Bus Service
36
3º – Get from Azure service the queues already created in the
namespace. We store this queues in order to avoid creating an already
existent queue.
public static void AzureGetQueues(){
try {
queue_list_result = service.listQueues();
queue_list = queue_list_result.getItems();
...
}
…
}
Connecting Meshlium to Azure Bus Service
37
4º – Then we read from our internal Data Base (MySQL) the sensor data
bufferized. e.g: 100 registers
SELECT id,id_wasp,id_secret,sensor,value,timestamp,sync FROM LOCAL_TABLE WHERE
sync^SYNC_MASK ORDER BY timestamp DESC LIMIT 100;
Connecting Meshlium to Azure Bus Service
38
5º – Then we create the JSON files with the next format
{
"id_wasp": "SmartWater",
"id_secret": "366360762",
"sensor": "ORP",
"value": "0.380",
"datetime": "02/12/2014T12:18:57+0000"
}
Connecting Meshlium to Azure Bus Service
39
6º – Just send each file to the opened queue
public static int AzureSendToQueue(String queuename, String data) {
try{
appendToLogFile("Sending message to queue: "+queuename, 1, 2);
appendToLogFile("Data: "+ data, 1, 2);
message = new BrokeredMessage(data);
message.setProperty("Queue", queuename);
service.sendQueueMessage(queuename, message);
...
}
catch (ServiceException e){
...
}
}
Connecting Meshlium to Azure Bus Service
40
Connecting Meshlium to Azure Bus Service
41
Libelium: we were in the IoT seven years ago...
42
David Gascón - CTO
d.gascon@libelium.com
@DG_David_Gascon

Contenu connexe

Tendances

Tendances (20)

Nova cell tech
Nova cell techNova cell tech
Nova cell tech
 
Sim ci Simulating Critical Infrastructures
Sim ci Simulating Critical InfrastructuresSim ci Simulating Critical Infrastructures
Sim ci Simulating Critical Infrastructures
 
WeatherXM at IoT Boussias Conference 2015
WeatherXM at IoT Boussias Conference 2015WeatherXM at IoT Boussias Conference 2015
WeatherXM at IoT Boussias Conference 2015
 
The Things Network - Athens
The Things Network - AthensThe Things Network - Athens
The Things Network - Athens
 
Particle Keynote with Zach Supalla
Particle Keynote with Zach SupallaParticle Keynote with Zach Supalla
Particle Keynote with Zach Supalla
 
Disruptive innovation by managing Business and ecosystems
Disruptive innovation by managing Business and ecosystems Disruptive innovation by managing Business and ecosystems
Disruptive innovation by managing Business and ecosystems
 
CommsDay Summit 2016 - Creating Value in the Networked Society
CommsDay Summit 2016 - Creating Value in the Networked SocietyCommsDay Summit 2016 - Creating Value in the Networked Society
CommsDay Summit 2016 - Creating Value in the Networked Society
 
Smart Cities are the Internet of Things
Smart Cities are the Internet of ThingsSmart Cities are the Internet of Things
Smart Cities are the Internet of Things
 
Combain Mobile - world leading provider of geolocation services for connected...
Combain Mobile - world leading provider of geolocation services for connected...Combain Mobile - world leading provider of geolocation services for connected...
Combain Mobile - world leading provider of geolocation services for connected...
 
Jonathon Adams VP Ericsson IAD 2019
Jonathon Adams VP Ericsson  IAD 2019Jonathon Adams VP Ericsson  IAD 2019
Jonathon Adams VP Ericsson IAD 2019
 
Combain is a world leading provider of positioning solutions for M2M and IoT ...
Combain is a world leading provider of positioning solutions for M2M and IoT ...Combain is a world leading provider of positioning solutions for M2M and IoT ...
Combain is a world leading provider of positioning solutions for M2M and IoT ...
 
Indoor Location - Globally and in 3D - by Combain CPS geolocation services
Indoor Location - Globally and in 3D - by Combain CPS geolocation servicesIndoor Location - Globally and in 3D - by Combain CPS geolocation services
Indoor Location - Globally and in 3D - by Combain CPS geolocation services
 
Exploring the potential for LPWAN for agri-tech
Exploring the potential for LPWAN for agri-techExploring the potential for LPWAN for agri-tech
Exploring the potential for LPWAN for agri-tech
 
Roen Menezes Regional Director Thuraya IAD Summit 2019
Roen Menezes Regional Director Thuraya IAD Summit 2019Roen Menezes Regional Director Thuraya IAD Summit 2019
Roen Menezes Regional Director Thuraya IAD Summit 2019
 
Everynet - LPWAN Meetup #1
Everynet - LPWAN Meetup #1Everynet - LPWAN Meetup #1
Everynet - LPWAN Meetup #1
 
Smart Metering Implementation Program
Smart Metering Implementation ProgramSmart Metering Implementation Program
Smart Metering Implementation Program
 
Why an innovation culture is critical at the 5G network era
Why an innovation culture is critical at the 5G network eraWhy an innovation culture is critical at the 5G network era
Why an innovation culture is critical at the 5G network era
 
What IoT use cases will 5G deliver?
What IoT use cases will 5G deliver? What IoT use cases will 5G deliver?
What IoT use cases will 5G deliver?
 
Arqiva - LPWAN Meetup #1
Arqiva - LPWAN Meetup #1Arqiva - LPWAN Meetup #1
Arqiva - LPWAN Meetup #1
 
Qmodule
QmoduleQmodule
Qmodule
 

En vedette

En vedette (17)

Libelium - Wireless Sensor Networks in the Real World, by Alicia Asin
Libelium - Wireless Sensor Networks in the Real World, by Alicia AsinLibelium - Wireless Sensor Networks in the Real World, by Alicia Asin
Libelium - Wireless Sensor Networks in the Real World, by Alicia Asin
 
Smart Parking
Smart ParkingSmart Parking
Smart Parking
 
Sss14mateo Libelium
Sss14mateo LibeliumSss14mateo Libelium
Sss14mateo Libelium
 
5G-IoT Champions
5G-IoT Champions5G-IoT Champions
5G-IoT Champions
 
Обзор решений Cisco для сетей LoRaWAN
Обзор решений Cisco для сетей LoRaWANОбзор решений Cisco для сетей LoRaWAN
Обзор решений Cisco для сетей LoRaWAN
 
Internet das Coisas e o Futuro da Internet
Internet das Coisas e o Futuro da InternetInternet das Coisas e o Futuro da Internet
Internet das Coisas e o Futuro da Internet
 
Libelium: IoT in the real world- wireless sensor networks and their endless a...
Libelium: IoT in the real world- wireless sensor networks and their endless a...Libelium: IoT in the real world- wireless sensor networks and their endless a...
Libelium: IoT in the real world- wireless sensor networks and their endless a...
 
Libelium contribution to the AGILE-IoT project
Libelium contribution to the AGILE-IoT projectLibelium contribution to the AGILE-IoT project
Libelium contribution to the AGILE-IoT project
 
M2M-IoT towards 5G
M2M-IoT towards 5GM2M-IoT towards 5G
M2M-IoT towards 5G
 
Smart Cities, Smart Cars, Smart Living
Smart Cities, Smart Cars, Smart LivingSmart Cities, Smart Cars, Smart Living
Smart Cities, Smart Cars, Smart Living
 
Enterprise, Architecture and IoT
Enterprise, Architecture and IoTEnterprise, Architecture and IoT
Enterprise, Architecture and IoT
 
The essential role of Gigabit LTE and LTE Advanced Pro in the 5G World
The essential role of Gigabit LTE and LTE Advanced Pro in the 5G WorldThe essential role of Gigabit LTE and LTE Advanced Pro in the 5G World
The essential role of Gigabit LTE and LTE Advanced Pro in the 5G World
 
NFV evolution towards 5G
NFV evolution towards 5GNFV evolution towards 5G
NFV evolution towards 5G
 
5G Presentation
5G Presentation5G Presentation
5G Presentation
 
5G tecnology
5G tecnology5G tecnology
5G tecnology
 
5g ppt new
5g ppt new5g ppt new
5g ppt new
 
Comprendre les technologies LPWA (SIGFOX et LoRa)
Comprendre les technologies LPWA (SIGFOX et LoRa)Comprendre les technologies LPWA (SIGFOX et LoRa)
Comprendre les technologies LPWA (SIGFOX et LoRa)
 

Similaire à David Gascon, Libelium CTO, keynote talk in DevOSS Azure Days, Dec. 2014, Madrid - Spain

SDARPiBot - VLES'16
SDARPiBot - VLES'16SDARPiBot - VLES'16
SDARPiBot - VLES'16
Arun Joseph
 
Laporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdf
Laporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdfLaporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdf
Laporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdf
IGedeArieYogantaraSu
 
The world is the computer and the programmer is you
The world is the computer and the programmer is youThe world is the computer and the programmer is you
The world is the computer and the programmer is you
Davide Carboni
 

Similaire à David Gascon, Libelium CTO, keynote talk in DevOSS Azure Days, Dec. 2014, Madrid - Spain (20)

Road to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningRoad to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine Learning
 
Cloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service MeshCloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service Mesh
 
Introducing the Sun SPOTs
Introducing the Sun SPOTsIntroducing the Sun SPOTs
Introducing the Sun SPOTs
 
Eclipse Kura Shoot a-pi
Eclipse Kura Shoot a-piEclipse Kura Shoot a-pi
Eclipse Kura Shoot a-pi
 
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
 
Internet of Things - Technicals
Internet of Things - TechnicalsInternet of Things - Technicals
Internet of Things - Technicals
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoT
 
Generating cross platform .NET based azure IoTdevice
Generating cross platform .NET based azure IoTdeviceGenerating cross platform .NET based azure IoTdevice
Generating cross platform .NET based azure IoTdevice
 
20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발20151117 IoT를 위한 서비스 구성과 개발
20151117 IoT를 위한 서비스 구성과 개발
 
Home automation using IoT and AWS Cloud technology
Home automation using IoT and AWS Cloud technologyHome automation using IoT and AWS Cloud technology
Home automation using IoT and AWS Cloud technology
 
IoT Solution Design based on Azure and AWS
IoT Solution Design based on Azure and AWSIoT Solution Design based on Azure and AWS
IoT Solution Design based on Azure and AWS
 
A M2M system using Arduino, Android and Wiki Software
A M2M system using Arduino, Android and Wiki SoftwareA M2M system using Arduino, Android and Wiki Software
A M2M system using Arduino, Android and Wiki Software
 
Open source industrial IoT
Open source industrial IoTOpen source industrial IoT
Open source industrial IoT
 
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex M...
 
SDARPiBot - VLES'16
SDARPiBot - VLES'16SDARPiBot - VLES'16
SDARPiBot - VLES'16
 
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
 
Laporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdf
Laporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdfLaporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdf
Laporan Praktikum Keamanan Siber - Tugas 4 -Kelas C - Kelompok 3.pdf
 
The world is the computer and the programmer is you
The world is the computer and the programmer is youThe world is the computer and the programmer is you
The world is the computer and the programmer is you
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

David Gascon, Libelium CTO, keynote talk in DevOSS Azure Days, Dec. 2014, Madrid - Spain

  • 1. David Gascón - CTO d.gascon@libelium.com @DG_David_Gascon
  • 2. 2
  • 3. 3
  • 4. 4 Waspmote: Open platform for the Internet of Things
  • 5. 5 Waspmote: Open platform for the Internet of Things
  • 6. 6 Waspmote: Open platform for the Internet of Things
  • 7. 7 Extreme Wireless Links for Sensor Nodes +21km line of sight
  • 8. 8 Extreme Wireless Links for Sensor Nodes +2km non line of sight (through buildings) → Urban Environment
  • 9. 9
  • 23. 23 IoT for Makers eHealth Sensor Platform - Any Biometric Parameter
  • 24. 24 IoT for Makers eHealth Sensor Platform - Any Biometric Parameter
  • 25. 25 IoT for Makers Open Garden (Hydroponics)
  • 26. 26 IoT for Makers Open Aquarium (Aquaponics)
  • 27. 27 Meshlium: Internet of Things Gateway
  • 28. 28 Meshlium: Internet of Things Gateway
  • 29. 29 - S.O: Debian + APT management package tools - Run Time Environments: Java, PHP, Python, C++, Ruby,... [Any] - 8GB – Compact Flash storage system - Web Management System + MySQL for Data Storage - CPU: 500MHz (x86) - RAM: 256MB - Power Over Ethernet - Radio Interfaces: + WiFi (2.4GHz / 5GHz) + 3G (Quadband) + ZigBee / 802.15.4 / Sub GHz bands + Bluetooth Meshlium: Internet of Things Gateway
  • 30. 30 Meshlium: Internet of Things Gateway
  • 31. 31 - Frames estructure sent by Waspmote: ASCII-382540406-trackertest-128-194-,TIME:20141207134218+0100,GPS:41.647240;- 0.905457,SOILT:8.92,TCB:15.90,HUMB:44.6,BAT:0,RSSI:-77,IN_TEMP:17.42 ASCII-382540406-trackertest-128-195-,TIME:20141207134518+0100,GPS:41.647240;- 0.905455,SOILT:9.07,TCB:16.14,HUMB:44.4,BAT:0,RSSI:-71,IN_TEMP:17.65 ASCII-382540406-trackertest-128-196-,TIME:20141207134818+0100,GPS:41.647243;- 0.905450,SOILT:9.23,TCB:16.44,HUMB:44.0,BAT:0,RSSI:-71,IN_TEMP:17.77 Meshlium: Internet of Things Gateway
  • 32. 32 - A Java application reads the Frames coming from the Wireless Interfaces (ZigBee, WiFi, 3G, 868/900MHz, etc) and parse them. Then they are inserted in a MySQL DB: CREATE TABLE IF NOT EXISTS `sensorParser` ( `id` int(11) NOT NULL auto_increment, `id_wasp` text character set utf8 collate utf8_unicode_ci, `id_secret` text character set utf8 collate utf8_unicode_ci, `frame_type` int(11) default NULL, `frame_number` int(11) default NULL, `sensor` text character set utf8 collate utf8_unicode_ci, `value` text character set utf8 collate utf8_unicode_ci, `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP, ... PRIMARY KEY (`id`) ) Meshlium: Internet of Things Gateway
  • 33. 33 - Sensor ID's: ID ASCII ID Fields Type 0 CO 1 float 1 CO2 1 float 2 TMP 1 float 3 HMD 1 float ... 53 GPS 2 float ... 63 ACC 3 int … 67 MWIFI 1 string Meshlium: Internet of Things Gateway
  • 34. 34 1º – Get a namespace + credentials (ACS authentication) 2º – Needed to start the program public static void AzureSetup(){ config = ServiceBusConfiguration.configureWithWrapAuthentication( AZURE_NAMESPACE, AZURE_OWNER, AZURE_KEY, ".servicebus.windows.net", "-sb.accesscontrol.windows.net/WRAPv0.9"); service = ServiceBusService.create(config); } Connecting Meshlium to Azure Bus Service
  • 35. 35 Connecting Meshlium to Azure Bus Service
  • 36. 36 3º – Get from Azure service the queues already created in the namespace. We store this queues in order to avoid creating an already existent queue. public static void AzureGetQueues(){ try { queue_list_result = service.listQueues(); queue_list = queue_list_result.getItems(); ... } … } Connecting Meshlium to Azure Bus Service
  • 37. 37 4º – Then we read from our internal Data Base (MySQL) the sensor data bufferized. e.g: 100 registers SELECT id,id_wasp,id_secret,sensor,value,timestamp,sync FROM LOCAL_TABLE WHERE sync^SYNC_MASK ORDER BY timestamp DESC LIMIT 100; Connecting Meshlium to Azure Bus Service
  • 38. 38 5º – Then we create the JSON files with the next format { "id_wasp": "SmartWater", "id_secret": "366360762", "sensor": "ORP", "value": "0.380", "datetime": "02/12/2014T12:18:57+0000" } Connecting Meshlium to Azure Bus Service
  • 39. 39 6º – Just send each file to the opened queue public static int AzureSendToQueue(String queuename, String data) { try{ appendToLogFile("Sending message to queue: "+queuename, 1, 2); appendToLogFile("Data: "+ data, 1, 2); message = new BrokeredMessage(data); message.setProperty("Queue", queuename); service.sendQueueMessage(queuename, message); ... } catch (ServiceException e){ ... } } Connecting Meshlium to Azure Bus Service
  • 40. 40 Connecting Meshlium to Azure Bus Service
  • 41. 41 Libelium: we were in the IoT seven years ago...
  • 42. 42 David Gascón - CTO d.gascon@libelium.com @DG_David_Gascon