Building a home security system with Microsoft Azure, Surfrace RT, Raspberry PI and Windows Phone, Thomas Huber, Principal Consultant Trivadis & Microsoft Most Valuable Professional (MVP). Conférence donnée dans le cadre du Swiss Data Forum, du 24 novembre 2015 à Lausanne
The Power of Mobile & Cloud: Building a Homesecurity-System with Microsoft Azure, Surface RT, Raspberry PI and Windows Phone
1. BÂLE BERNE BRUGG DUSSELDORF FRANCFORT S.M. FRIBOURG E.BR. GENÈVE
HAMBOURG COPENHAGUE LAUSANNE MUNICH STUTTGART VIENNE ZURICH
The Power of Mobile & Cloud
Building a Homesecurity-System with Microsoft Azure, Surface RT,
Raspberry PI and Windows Phone
Thomas Claudius Huber
Principal Consultant Trivadis
Microsoft Most Valuable Professional
2. 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
4. 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
5. 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
6. Step 1/5:Installing the
IP-Cameras
New ladder required (4.5m)
Cams with night vision (Requirement)
– I took the Vivothek IP8332
(15m infrared, 1280x800, PoE)
Final installation contains 7 cameras
7. 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
10. 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
11. 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
12. Step 3 / 5: Access Cameras from everywhere
Solution
«Don’t call us,
we call you»
Push the camera-images
to the Cloud
13. 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
18. 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!