your home with
IoT Hub & Raspberry PI
Stamatis Pavlis
Software Engineer @ Stoiximan
Low cost, credit
card sized
computer easily our
code on them
Let's put our tools together to achieve our goal... Turn on the
light :)
Elegant framewor
k for building
apps in all
platforms
Software Engineer @ Stoiximan
github.com/stpaulis
linkedin.com/in/stpaulis
Github:
HighPowerOnAzure
IoT Hub
Schema by: Olivier Bloch
Senior Program Manager
@ Microsoft, Azure IoT
Designed to
handle big data
streaming
IoT Hub vs Event Hub
Create a hub in Azure
On Device
• Receive message from Hub
Next step... We create our device & server side applications
Why ASP.NET Core?
1. Large amount of tools
2. Hosts on IIS, Nginx, Apache, Docker, …
3. Runs on Windows, macOS and Linux
4. Open-source and community-focused
5. A lightweight and high-performance
HTTP request pipeline
On Server
• Add a device
• Send message to device
• Receive feedback
Let’s check out some code...
• Unosquare
• Prerequisites for .NET Core on
Linux
• Understand how relay works
Are we ready? Control High Power With Low
Finally, we did it!
But...
What if we need many devices
in many places
the code
in the device
remote and
massive
your
device
your
code
Solution: Resin.io
you!

Controlling your home with IoT Hub

  • 1.
    your home with IoTHub & Raspberry PI Stamatis Pavlis Software Engineer @ Stoiximan
  • 2.
    Low cost, credit cardsized computer easily our code on them Let's put our tools together to achieve our goal... Turn on the light :) Elegant framewor k for building apps in all platforms
  • 3.
    Software Engineer @Stoiximan github.com/stpaulis linkedin.com/in/stpaulis Github: HighPowerOnAzure
  • 5.
  • 6.
    Schema by: OlivierBloch Senior Program Manager @ Microsoft, Azure IoT
  • 7.
    Designed to handle bigdata streaming IoT Hub vs Event Hub
  • 8.
    Create a hubin Azure
  • 9.
    On Device • Receivemessage from Hub Next step... We create our device & server side applications Why ASP.NET Core? 1. Large amount of tools 2. Hosts on IIS, Nginx, Apache, Docker, … 3. Runs on Windows, macOS and Linux 4. Open-source and community-focused 5. A lightweight and high-performance HTTP request pipeline On Server • Add a device • Send message to device • Receive feedback
  • 10.
    Let’s check outsome code...
  • 11.
    • Unosquare • Prerequisitesfor .NET Core on Linux • Understand how relay works Are we ready? Control High Power With Low
  • 12.
    Finally, we didit! But... What if we need many devices in many places
  • 13.
    the code in thedevice remote and massive your device your code Solution: Resin.io
  • 14.

Editor's Notes

  • #2 Καλησπέρα σε όλους, time - company Αφορμή - AzureHeads - Χρήστος Χαρματζης και Data Science & Azure Machine
  • #3 2
  • #4 Build 2015
  • #6 5
  • #8 7
  • #10 9
  • #12 11
  • #14 13