the power of mobile & cloud: building a homesecurity-system with microsoft azure, surface rt,...
TRANSCRIPT
BÂLE BERNE BRUGG DUSSELDORF FRANCFORT S.M. FRIBOURG E.BR. GENÈVE
HAMBOURG COPENHAGUE LAUSANNE MUNICH STUTTGART VIENNE ZURICH
The Power of Mobile & CloudBuilding a Homesecurity-System with Microsoft Azure, Surface RT, Raspberry PI and Windows Phone
Thomas Claudius HuberPrincipal Consultant TrivadisMicrosoft Most Valuable Professional
Thomas Claudius Huber
Principal Consultant @ Trivadis Basel
Developer, Trainer,
Microsoft MVP for Windows Development
Specializes in WPF, XAML, WinApps, .NET, Azure
Book-author
www.thomasclaudiushuber.com
Building a Homesecurity-System
with Microsoft Azure, Surface RT,
Raspberry PI and Windows Phone
Motivation
A lot of break-ins in
South Germany
«Old» Surface RT was
nearly unused
Build home security with several IP-cameras
and Surface RT as a central point
The Requirements
1. Everyone in our house can see who’s behind the front door
2. Everyone in our house can see all areas around the house
3. Cameras support night vision
4. Cameras are accessible from all around the world
Step 1/5:Installing the
IP-CamerasNew ladder required (4.5m)
Cams with night vision (Requirement)
– I took the Vivothek IP8332
(15m infrared, 1280x800, PoE)
Final installation contains 7 cameras
Step 2 / 5: Surface RT as a Central Point
View the 7 Cameras
Universal Windows App
– Using MJPEG-Streams
– Never closes
Directly connected by Ethernet-cable
– via USB-to-Ethernet-Adapter
Step 2 / 5: Surface RT as a Central Point
Step 2 / 5: Surface RT as a Central Point
The Requirements
1. Everyone in our house can see who’s behind the front door
2. Everyone in our house can see all areas around the house
3. Cameras support night vision
4. Cameras are accessible from all around the world
Step 3 / 5: Access Cameras from everywhere
Problem
My provider only
supports
Dual Stack Lite
No physical IPv4 address
No simple port-forwarding
on router
No simple camera access
from outside
Step 3 / 5: Access Cameras from everywhere
Solution
«Don’t call us,
we call you»Push the camera-images
to the Cloud
Step 3 / 5: Access Cameras from everywhere
Upload every second
– Done by same Universal Windows App that displays the camera-images
Uses Table Storage on Azure
Uses secure connection
Step 3 / 5: Upload Images to Microsoft Azure
DEMO: Azure Table Storage
Step 4 / 5: Create a Client for Azure
(another Universal Windows App)
Grabs images each 1s
from Microsoft Azure
DEMO:
The Client-App
Step 5 / 5: Create additional Client app on Windows IoT
Raspberry Pi 2
Via HDMI connected Screen
Windows 10 IoT
=> Deploy Universal Windows App => DONE!
Summary
The Power of the Cloud
Historization in Azure
Face-detection in Azure
…
Thomas Claudius Huber
Principal Consultant Trivadis
Tél. +41 79 571 36 24
@thomasclaudiush