SlideShare a Scribd company logo
Open Source Industrial IoT
Middleware for a modbus energy monitoring solution
(Athens IoT meetup - May 2018)
e-mail·manolis@exm.gr
twitter·@nikil511
linkedin.com/in/mnikiforakis
website·exm.gr
Building energy monitoring use-case
Customer pain of a facility manager with multiple buildings
Energy monitoring via paper bills
Unknown energy utilization, efficiency, wastage
Building energy monitoring use-case
Monitoring (commercial) building energy is a typical IoT use-case, yet an optimum
solution is still not obvious.
Assuming the two far ends of the IoT value chain fixed
(modbus meters & thingsboard)
- What are some architecture / open source software options for middleware?
- Pros and cons
IoT to the rescue
1) Deploy low-cost yet reliable smart meters (modbus)
2) Connect them to a cloud platform, via the internet
3) Enjoy energy analytics and actionable insights!
1) Low cost yet reliable smart meters (modbus)
2) Connect them...
IoT Middleware ?
????
3) … to a cloud platform …like... ThingsBoard.io
IoT Middleware ?
????
????
Considerations for middleware architecture
a. Cost & Risk
Open source vs closed ?
b. Reliability
Tried before?
c. Ease of deployment / maintenance
Developers required for configuration / debugging ?
d. Scalability
Handle more than a few devices?
e. Flexibility
Multivendor?
f. Security
By design?
Connected to smart-meters via modbus
Entire solution inherits the characteristics/limitations of the gateway
(e.g. robust, plug n play, not real time, summarized aggregate figures)
HTTP periodic
export
MODBUS polling
Original vendor hardware gateway + custom parser
CSV parser
to
MQTT publisher
NO LIMITS
Many open-source options
NO obvious solution
MODBUS polling
Alternative hardware gateway with OSS IoT middleware
MODBUS
to
MQTT publisher
???
IoT middleware open-source options for modbus to mqtt
● ESP8266/ESP32
○ Arduino modbus libs
○ M5Stack - MS Azure & Amazon AWS IOT certified
● RPi / Linux gateways
● NodeRED
● OpenHab
● Eclipse Kura
○ Eclipse AGAIL
○ Eclipse Kapua
○ Eclipse Hawkbit
Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex Machina)
Ex Machina Lightweight TB GW as a Kura OSGi bundlehttps://github.com/exmgr/Kura-Thingsboard-Bundle
Setting up a Gateway & TB
● Requirements
○ Raspberry Pi
○ Agile Raspbian Image with Agile-Kura
docker container
○ ESF ModBus driver from Kura
Marketplace
● Install EXM Kura Thingsboard
Bundle
○ Easy installation by uploading a single
deployment package from Kura’s web
ui.
● Configure Thingsboard gateway
device access token
Setting up Assets and Channels
● Devices in Kura are called
“Assets” and their data objects
(coils, holding registers etc) are
“Channels”
● Assets/Channels are
abstractions for the underlying
driver-device communications
making the low-level
communication transparent for
the bundle.
Configuring the EXM Kura Thingsboard Bundle
● After installing the bundle, a
configuration section is added to
Kura’s web ui..
● Easy configuration, only 2 fields
required:
○ Thingsboard URI
○ Thingsboard gateway token
● The Bundle starts forwarding
telemetry immediately.
Thingsboard devices
Kura Assets appear automatically as devices in Thingsboard.
Visualization in Thingsboard
● Device telemetry is added to UI widgets
● Data is visualized as soon as it is received
Ex Machina TB-GW service, managed by Kura OSGi bundle
https://github.com/exmgr/Kura-Tb-Gateway-Manager
Kura Tb-Gateway Manager
● Tb-Gateway is installed normally, as
a service and configured
● A custom manager bundle is used
to start/stop it on demand
● Artemis MQTT Broker is enabled
with default settings
● A Kura Cloud Service is set up and
configured to publish to Artemis
MQTT
● Assets/Channels set up as usual
Kura Tb-Gateway Manager
As a last step, a simple Kura wire graph is set up to read assets at regular
intervals and publish the readings.
More power with Eclipse IoT
hawkBit is a domain independent back-end framework for rolling out software updates to constrained edge devices as well
as more powerful controllers and gateways connected to IP based networking infrastructure.
Kapua is a modular platform providing the services required to manage IoT gateways and smart edge devices. Kapua
provides a core integration framework and an initial set of core IoT services including a device registry, device management
services, messaging services, data management, and application enablement.
agile-iot.eu
exm.gr
e-mail·manolis@exm.gr
twitter·@nikil511
linkedin.com/in/mnikiforakis
website·exm.gr
Thank you!
Manolis Nikiforakis
Ex Machina, CEO

More Related Content

PDF
Open source industrial IoT
PPTX
Thingsboard Gateway - Remote temperature monitoring tool for Industries
PDF
Thingsboard IoT Platform - A Quick Tour
PDF
SmartCity IoT on Kubernetes and OpenStack
PDF
WSO2Con USA 2015: WSO2 Platform for IoT
PDF
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
PDF
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
PDF
FIWARE Global Summit - Edge/Fog Computing in “Powered by FIWARE” Architectures
Open source industrial IoT
Thingsboard Gateway - Remote temperature monitoring tool for Industries
Thingsboard IoT Platform - A Quick Tour
SmartCity IoT on Kubernetes and OpenStack
WSO2Con USA 2015: WSO2 Platform for IoT
IoT Seminar (Oct. 2016) Alex Edelmann - Bosch Singapore
FIWARE Global Summit - Professional Dashboards for Dummies - Build Your Smart...
FIWARE Global Summit - Edge/Fog Computing in “Powered by FIWARE” Architectures

What's hot (20)

PDF
IoT Seminar (Oct. 2016) Pilgrim Beart - DevicePilot & Duncan Purves - Connect...
PDF
IoT Seminar (Oct. 2016) CK Vishwakarma - IOTSG
PDF
Dominik Obermaier and Anja Helmbrecht-Schaar [HiveMQ] | IIoT Monitoring with ...
PDF
Andy Charlton [InfluxData] | Managing Your Dashboards, Tasks and Alerts Made ...
PPTX
ThingsBoard - Open-source IoT Platform
PDF
Why Gateways are Important in Your IoT Architecture
PPTX
IoT Gateway Introduction
PPT
Standards Drive the Internet of Things
PPTX
The IoT Open Source World: Where WSO2 stands
PPTX
Cloud Computing Principles and Paradigms: 4 the enterprise cloud computing pa...
PDF
FIWARE Global Summit - MID3 Manufacturing Industry Data-Driven Digital Twin
PDF
Building Applications with Eclipse IoT, Block by Block
PPTX
IoT Microservices at the Edge with Eclipse ioFog
PDF
Iot and the back-end developers
PPTX
Security Research
PPTX
IETF building block in the LwM2M Ecosystem (IoT World 2017 Workshop)
PDF
Michael Hall [InfluxData] | InfluxDB Community Update | InfluxDays EMEA 2021
PDF
Case study only
PDF
The Bitreactive Case
PDF
K8s as a service with Rancher
IoT Seminar (Oct. 2016) Pilgrim Beart - DevicePilot & Duncan Purves - Connect...
IoT Seminar (Oct. 2016) CK Vishwakarma - IOTSG
Dominik Obermaier and Anja Helmbrecht-Schaar [HiveMQ] | IIoT Monitoring with ...
Andy Charlton [InfluxData] | Managing Your Dashboards, Tasks and Alerts Made ...
ThingsBoard - Open-source IoT Platform
Why Gateways are Important in Your IoT Architecture
IoT Gateway Introduction
Standards Drive the Internet of Things
The IoT Open Source World: Where WSO2 stands
Cloud Computing Principles and Paradigms: 4 the enterprise cloud computing pa...
FIWARE Global Summit - MID3 Manufacturing Industry Data-Driven Digital Twin
Building Applications with Eclipse IoT, Block by Block
IoT Microservices at the Edge with Eclipse ioFog
Iot and the back-end developers
Security Research
IETF building block in the LwM2M Ecosystem (IoT World 2017 Workshop)
Michael Hall [InfluxData] | InfluxDB Community Update | InfluxDays EMEA 2021
Case study only
The Bitreactive Case
K8s as a service with Rancher
Ad

Similar to Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex Machina) (20)

PDF
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
PPTX
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
PDF
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
PPTX
Io t solutions world congress 2018 review Henk Jan van Wijk Conclusion Connect
PDF
Is your MQTT broker IoT ready?
PPTX
IoT challenges for Smart Manufacturing
PPTX
IoTSummit: Create iot devices connected or on the edge using ai and ml
PDF
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
ODP
Using open source for IoT
PDF
Azure IoT Edge
PDF
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
PDF
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
PPTX
Azure iot edge and AI enabling the intelligent edge
PDF
Using Zabbix in IoT Architecture
PDF
TM4C-IoT-Gateway-with-Security-Protection_0.pdf
PDF
End to end IoT Solution using Mongoose OS.
PPTX
IoT on azure
PDF
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
PDF
20151207 - iot strategy
PPTX
IoT on Azure
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Io t solutions world congress 2018 review Henk Jan van Wijk Conclusion Connect
Is your MQTT broker IoT ready?
IoT challenges for Smart Manufacturing
IoTSummit: Create iot devices connected or on the edge using ai and ml
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
Using open source for IoT
Azure IoT Edge
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Azure iot edge and AI enabling the intelligent edge
Using Zabbix in IoT Architecture
TM4C-IoT-Gateway-with-Security-Protection_0.pdf
End to end IoT Solution using Mongoose OS.
IoT on azure
DEVELOPMENT AND IMPLEMENTATION OF LOW COST IIOT GATEWAY WITH EDGE COMPUTING F...
20151207 - iot strategy
IoT on Azure
Ad

Recently uploaded (20)

PDF
The Evolution of Traditional to New Media .pdf
DOC
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
PDF
Exploring VPS Hosting Trends for SMBs in 2025
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PPTX
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
PDF
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
PPT
250152213-Excitation-SystemWERRT (1).ppt
PDF
Containerization lab dddddddddddddddmanual.pdf
PPTX
Reading as a good Form of Recreation
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PPTX
Internet Safety for Seniors presentation
PDF
Alethe Consulting Corporate Profile and Solution Aproach
PDF
Understand the Gitlab_presentation_task.pdf
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
PDF
Exploring The Internet Of Things(IOT).ppt
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PDF
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
PDF
simpleintnettestmetiaerl for the simple testint
PDF
Uptota Investor Deck - Where Africa Meets Blockchain
The Evolution of Traditional to New Media .pdf
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
Exploring VPS Hosting Trends for SMBs in 2025
artificialintelligenceai1-copy-210604123353.pptx
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
250152213-Excitation-SystemWERRT (1).ppt
Containerization lab dddddddddddddddmanual.pdf
Reading as a good Form of Recreation
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
Internet Safety for Seniors presentation
Alethe Consulting Corporate Profile and Solution Aproach
Understand the Gitlab_presentation_task.pdf
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
Exploring The Internet Of Things(IOT).ppt
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
simpleintnettestmetiaerl for the simple testint
Uptota Investor Deck - Where Africa Meets Blockchain

Athens IoT meetup #7 - Open Source Industrial IoT - Manolis Nikiforakis (Ex Machina)

  • 1. Open Source Industrial IoT Middleware for a modbus energy monitoring solution (Athens IoT meetup - May 2018) e-mail·manolis@exm.gr twitter·@nikil511 linkedin.com/in/mnikiforakis website·exm.gr
  • 2. Building energy monitoring use-case Customer pain of a facility manager with multiple buildings Energy monitoring via paper bills Unknown energy utilization, efficiency, wastage
  • 3. Building energy monitoring use-case Monitoring (commercial) building energy is a typical IoT use-case, yet an optimum solution is still not obvious. Assuming the two far ends of the IoT value chain fixed (modbus meters & thingsboard) - What are some architecture / open source software options for middleware? - Pros and cons
  • 4. IoT to the rescue 1) Deploy low-cost yet reliable smart meters (modbus) 2) Connect them to a cloud platform, via the internet 3) Enjoy energy analytics and actionable insights!
  • 5. 1) Low cost yet reliable smart meters (modbus)
  • 6. 2) Connect them... IoT Middleware ? ????
  • 7. 3) … to a cloud platform …like... ThingsBoard.io IoT Middleware ? ???? ????
  • 8. Considerations for middleware architecture a. Cost & Risk Open source vs closed ? b. Reliability Tried before? c. Ease of deployment / maintenance Developers required for configuration / debugging ? d. Scalability Handle more than a few devices? e. Flexibility Multivendor? f. Security By design?
  • 9. Connected to smart-meters via modbus Entire solution inherits the characteristics/limitations of the gateway (e.g. robust, plug n play, not real time, summarized aggregate figures) HTTP periodic export MODBUS polling Original vendor hardware gateway + custom parser CSV parser to MQTT publisher
  • 10. NO LIMITS Many open-source options NO obvious solution MODBUS polling Alternative hardware gateway with OSS IoT middleware MODBUS to MQTT publisher ???
  • 11. IoT middleware open-source options for modbus to mqtt ● ESP8266/ESP32 ○ Arduino modbus libs ○ M5Stack - MS Azure & Amazon AWS IOT certified ● RPi / Linux gateways ● NodeRED ● OpenHab ● Eclipse Kura ○ Eclipse AGAIL ○ Eclipse Kapua ○ Eclipse Hawkbit
  • 13. Ex Machina Lightweight TB GW as a Kura OSGi bundlehttps://github.com/exmgr/Kura-Thingsboard-Bundle
  • 14. Setting up a Gateway & TB ● Requirements ○ Raspberry Pi ○ Agile Raspbian Image with Agile-Kura docker container ○ ESF ModBus driver from Kura Marketplace ● Install EXM Kura Thingsboard Bundle ○ Easy installation by uploading a single deployment package from Kura’s web ui. ● Configure Thingsboard gateway device access token
  • 15. Setting up Assets and Channels ● Devices in Kura are called “Assets” and their data objects (coils, holding registers etc) are “Channels” ● Assets/Channels are abstractions for the underlying driver-device communications making the low-level communication transparent for the bundle.
  • 16. Configuring the EXM Kura Thingsboard Bundle ● After installing the bundle, a configuration section is added to Kura’s web ui.. ● Easy configuration, only 2 fields required: ○ Thingsboard URI ○ Thingsboard gateway token ● The Bundle starts forwarding telemetry immediately.
  • 17. Thingsboard devices Kura Assets appear automatically as devices in Thingsboard.
  • 18. Visualization in Thingsboard ● Device telemetry is added to UI widgets ● Data is visualized as soon as it is received
  • 19. Ex Machina TB-GW service, managed by Kura OSGi bundle https://github.com/exmgr/Kura-Tb-Gateway-Manager
  • 20. Kura Tb-Gateway Manager ● Tb-Gateway is installed normally, as a service and configured ● A custom manager bundle is used to start/stop it on demand ● Artemis MQTT Broker is enabled with default settings ● A Kura Cloud Service is set up and configured to publish to Artemis MQTT ● Assets/Channels set up as usual
  • 21. Kura Tb-Gateway Manager As a last step, a simple Kura wire graph is set up to read assets at regular intervals and publish the readings.
  • 22. More power with Eclipse IoT hawkBit is a domain independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure. Kapua is a modular platform providing the services required to manage IoT gateways and smart edge devices. Kapua provides a core integration framework and an initial set of core IoT services including a device registry, device management services, messaging services, data management, and application enablement.