Download - Smart home in the insurance industry
Smart Home in the insurance industryIntelligent Detection of Fire or a Break-In with MQTT and OpenHAB
Support their clients to successfully transform their
business in a digitized and connected world
expertise in MQTTthe protocol that drives the internet of things
Consulting for insurance companies and other industries
Consulting and Creating of Building Block for the Internet of Things
About us
SMART HOME LIVE
MOTIVATION
1
• Demo system objectives• Fire dangers• Improving existing
solutions
OVERVIEW
2
• 1st live demo –smoke detector features
• Basic architecture
SETUP
3
• Architectural details• 2nd live demo –
smart home integration
CONCLUSION
4
• Lessons learned• Outlook
Evaluate available technologies like MQTT, Eclipse SmartHome
We are not building a product! We are building a live demo so that people can experience smart home use cases
Iterate and explore key features for an intelligent smart home
Why are we doing this?
“How can the insurance industry play an active role in the area of security at home”
3 breaths can be sufficient to die
1 breath can have lifelong consequences
“Where there's fire there's smoke”
SMOKE DETECTORS are mandatory
In Germany2018
In France2015
In USA2010
http://www.fusac.fr/countdown-smoke-detectors/ http://www.rauchmelderpflicht.eu/download/Uebersicht_Rauchmelderpflicht.pdf
Why MQTT ?
Bandwidth Efficient
Push Capability Works great behind a Firewall
Quality of Service Levels
Topics – Topic Tree
myhome
livingroom
bedroom
smoke-detector
temperature
smoke-detector
temperature
/ /
otherhome
Topics
myhome
livingroom
bedroom
smoke-detector
temperature
smoke-detector
temperature
/ /
otherhome
Topics
myhome
livingroom
bedroom
smoke-detector
temperature
smoke-detector
temperature
/ /
otherhome
Topics
myhome
livingroom
bedroom
smoke-detector
temperature
smoke-detector
temperature
/ /
otherhome
Topics
myhome
livingroom
bedroom
smoke-detector
temperature
smoke-detector
temperature
/ /
otherhome
Topics
myhome
livingroom
bedroom
smoke-detector
temperature
smoke-detector
temperature
/ /
otherhome
• Open Source
• “Reference Implementation”
• Many languages: Java, Javascript, Lua, C, C++, Go, Python
• Active Community
Eclipse Paho
MQTT Publish
MqttClient mqttClient = new MqttClient
("tcp://localhost:1883", “publisher");
mqttClient.connect();
mqttClient.publish(“test","test123".getBytes(),0, true);
MQTT Subscribe
MqttCallback mqttCallback = new MqttCallback() {
@Override
public void messageArrived(String topic, MqttMessage mqttMessage)
{
System.out.println(topic +" "+ new String(mqttMessage.getPayload()));
}
};
MqttClient mqttClient = new MqttClient("tcp://localhost:1883", “subscriber");
mqttClient.setCallback(mqttCallback);
mqttClient.connect();
mqttClient.subscribe(“test",2);
HiveMQ – at a glance
High Performance MQTT Broker Open Plugin System
Highly Scalable Supports Bridge Protocol
Clustering Native Websockets Support
MQTT Architecture
Publish• Testalarm
Subscribe• Alarm• Status• Battery Status
Publish• Alarm• Status• Battery Status
Subscribe• Testalarm
Webdashboard
Emergency Service
any API
SMS (Twilio)
Integration of other Services
SQL/NOSQL
Mobile Devices
MQTT
PLUGIN
JDBC/other
HTTP
MQTT overWebsockets
MQTT
Smart Home Devices
Communication• 868 MHz• BidCoS®-Protocol
(„Bidirectional Communication Standard“)
• Supports „AES handshakes“
Devices• Brand: HomeMatic• Sold by eq-3 (ELV)• Readily available• Many different devices
Hardware
Software
Inside the House
Homegear
(v1.6.0)
(v0.5.7-2)
Raspberry Pi (Model B)CPU: ARM1176JZF-S (700 MHz)RAM: 512 MBPower: 5 V, 700 mA (3,5 W)
Busware CCD• CC1101 transceiver• ILI9341 based 2.8" TFT
Touch Display• culfw firmware
Extras• Transparent case
(busware)• WiFi-Stick• 2A USB power
supply• Antenna
Hardware
Software
Inside the House
Homegear
(v1.6.0)
(v0.5.24-6)
Raspberry Pi 2 (Model B)CPU: ARM Cortex-A7
(4 x 900 MHz)RAM: 1024 MBPower: 5 V, 800 mA (4 W)
Busware CCD• CC1101 transceiver• ILI9341 based 2.8" TFT
Touch Display• culfw firmware
Extras• No case• WiFi-Stick• 2A USB power
supply• Antenna
Hardware
Software
Inside the House
Homegear
(v1.7.0)
(v0.5.25-1)
Raspberry Pi 2 (Model B)CPU: ARM Cortex-A7
(4 x 900 MHz)RAM: 1024 MBPower: 5 V, 800 mA (4 W)
Busware CUL• CC1101 transceiver• culfw firmware
HM-CFG-LAN• Capable of encrypted
communication
Extras• Standard B+ case• WiFi-Stick• 2A USB power
supply• Antenna
OpenHAB by Example
“openHAB is a software for integrating different home automation systems and technologies into one single solution”
Core Components
Items Protocol Bindings Automation Logic
Core Components were moved to eclipse:
OpenHAB by Example
Core Components
Items Protocol Bindings Automation Logic
Ale
rt
Bat
tery
Sta
tus
Ho
mem
atic
MQ
TT
Rai
se A
larm
Pro
pag
ate
Ala
rm
Item definitions
/* Item format
TYPE ITEMNAME LABEL ICON (GROUPS) {BINDINGS}
*/
/* Group definitions */
Group:Switch:OR(ON,OFF) FireAlertDevices "Brandmelder"
/* Example item with binding */
Switch SmokeDetector1_Fire "Feueralarm Schlafzimmer" <fire> \
(FireAlertDevices,Schlafzimmer) \
{homematic="id=JEQ0736552, channel=1, parameter=STATE"}
Rule definitions
rule "Switch on the lights on fire alert"
when
Item FireAlertDevices changed to ON
then
Lights.sendCommand(ON)
end
STEPS TO PRODUCTION
Hardening / Security CloudTLS, Authentication, Authorization, High Availability
01
Get encryption to work on the smart home server
02
Sophisticated Hardware03
Platform Improvements04
Lessons Learned
POSSIBLE TO BUILD A SOLUTION WITHOUT MUCH CODING
THE SMART HOME WORLDIS CHANGING RAPIDLY
INTERESTING OPEN SOURCE SMART HOME TECHNOLOGIES OUT THERE
FOCUS ON ADDED VALUE AND INTEGRATE CERTIFIED SECURITY SOLUTIONS