SlideShare a Scribd company logo
1 of 40
By: Michael Linnen
Twitter: @mlinnen
Blog: www.protosystem.net
DISCLAIMER!



This is NOT a real security system!
  *This is for education purposes ONLY*

Do NOT use this as your Home Security
               System!
THE BIG PICTURE                                                            Talk to me!
                                                            Message
                                                             Broker

                                                                 Worker                              Web


                                                                                Azure
Bedroom 1     Master           Bedroom 2
             Bedroom


                                                         Front    Side   Back    Master   Bedroom   Bedroom   1st Floor
                                                                                Bedroom      1         2
                                              Doors



                                              Locked



                                              Windows



                                              Motion



                                              Doorbell
                       Front
                       door                              Sleep   Away
                                              Alarm




      Back                                 Side
      door                                 door
NETDUINO PLUS
        Digital i/o Features
 All 20 digital and analog pins:
  GPIO
 Digital pins 0-1: UART 1 RX, TX
 Digital pins 2-3: UART 2 RX, TX
 Digital pins 5-6: PWM, PWM
 Digital pins 7-8: UART 2 RTS,
  CTS
 Digital pins 9-10: PWM, PWM
 Digital pins 11-13: SPI MOSI,
  MISO, SPCK
 Analog pins 4-5: I2C SDA, SCL
WINDOWS AZURE
 Unlimited resources
      Service Bus (Messaging)
      Storage
      Computation                            Internet Of Things Enabler
      Identity
      Networking (VPN)
                                                 o Projecting 50 billion devices in
      Web sites (10 free)                          2020
      Virtual Machines (Linux or Windows)
      Mobile Services
      Media Services
      Database Services
      Reporting Services
      Cache
      CDN
      Store
DEMO
ARCHITECTURE
MQTT
“MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol”

             • Features
                 – Lightweight
                 – Publish/Subscribe
                 – Open published protocol
             • How long?
                 – Invented in 1999
                 – Dr Andy Standford-Clark
                 – Arlen Nipper
             • Used By
                 – Facebook (messenger)
                 – Github
                 – COSM (formerly Pachube)
                 – RabbitMQ (MQTT Adapter)
                 – Websphere MQ
MESSAGES - DOORBELL
Home                       Azure               Remote




 External         Broker            Hub        Browser
  Door

                  MQTT             SignalR    Dashboard




 Doorbell
                                 Master
                              Control Panel
MESSAGES - DOORBELL
Home                           Azure                  Remote




 External         Broker                      Hub     Browser
  Door

                  MQTT                  SignalR      Dashboard


                         Subscribe Doorbell

 Doorbell
                                        Master
                                     Control Panel
MESSAGES - DOORBELL
Home                       Azure               Remote




 External         Broker            Hub        Browser
  Door

                  MQTT             SignalR    Dashboard




 Doorbell
                                 Master
                              Control Panel
MESSAGES - DOORBELL
Home                         Azure                   Remote
                                                    Remote




 External         Broker                 Hub        Browser
  Door
                     Publish Doorbell pushed

                  MQTT                 SignalR     Dashboard




 Doorbell
                                      Master
                                   Control Panel
MESSAGES - DOORBELL
 Home
Home                       Azure
                            Azure                           Remote
                                                           Remote




 External         Broker             Hub                   Browser
  Door
                                              Update UI
                  MQTT              SignalR               Dashboard




 Doorbell                         Master
                               Control Panel
MESSAGES – UNLOCK DOOR

Home                       Azure
                            Azure                Remote
                                                Remote




 External         Broker             Hub        Browser
  Door

                   MQTT             SignalR    Dashboard




 Doorbell
                                  Master
                               Control Panel
MESSAGES – UNLOCK DOOR

Home                         Azure
                              Azure                     Remote
                                                       Remote




 External         Broker                     Hub       Browser
  Door
                           Subscribe lock
                   MQTT                     SignalR   Dashboard




 Doorbell
                                        Master
                                     Control Panel
MESSAGES – UNLOCK DOOR

Home                       Azure                Remote
                                               Remote




 External         Broker            Hub        Browser
  Door

                   MQTT            SignalR    Dashboard




 Doorbell
                                 Master
                              Control Panel
MESSAGES – UNLOCK DOOR

 Home
Home                       Azure
                            Azure                Remote
                                                Remote




 External         Broker             Hub        Browser
  Door

                   MQTT             SignalR    Dashboard




 Doorbell
                                  Master
                               Control Panel
MESSAGES – UNLOCK DOOR

 Home
Home                       Azure
                            Azure                Remote
                                                Remote




 External         Broker             Hub        Browser
  Door

                   MQTT             SignalR    Dashboard




 Doorbell
                                  Master
                               Control Panel
MESSAGES – UNLOCK DOOR

 Home
Home                       Azure
                            Azure                Remote
                                                Remote




 External         Broker             Hub        Browser
  Door

                   MQTT             SignalR    Dashboard




 Doorbell
                                  Master
                               Control Panel
MESSAGES – UNLOCK DOOR

 Home
Home                       Azure
                            Azure                Remote
                                                Remote




 External         Broker             Hub        Browser
  Door

                   MQTT             SignalR    Dashboard




 Doorbell
                                  Master
                               Control Panel
MESSAGES – UNLOCK DOOR

 Home
Home                       Azure
                            Azure                Remote
                                                Remote




 External         Broker             Hub        Browser
  Door

                   MQTT             SignalR    Dashboard




 Doorbell
                                  Master
                               Control Panel
MESSAGES – UNLOCK DOOR

Home                        Azure
                             Azure                    Remote
                                                     Remote




 External         Broker                  Hub        Browser
  Door

                   MQTT                 SignalR     Dashboard

                      Publish lock unlocked



 Doorbell
                                       Master
                                    Control Panel
MESSAGES – UNLOCK DOOR

Home                       Azure
                            Azure                           Remote
                                                           Remote




 External         Broker             Hub                   Browser
  Door

                   MQTT             SignalR               Dashboard
                                              Update UI



 Doorbell
                                  Master
                               Control Panel
HARDWARE
Ground Bus – Exposes more connections
LED’s – Indicators or simulates actuators
Switches – Keyboard,
 Window/Door/Motion sensors, Alarm mode
Ground Bus


Connect to LEDs or Switches




                              Connect to Netduino GND
LED’S


     Connect to Ground Bus


   Connect to Netduino Digital
   Pin (or 3.3 volt pin to test)
Switches


      Connect to Ground Bus



    Connect to Netduino
    Digital Pin
Netduino 3.3 V
                 Netduino GND
LET’S GET STARTED
Pick a device to build
      o Doorbell (easiest)
      o Alarm (a little harder)
      o External Door (hardest)
      o Alarm Panel (hardest)
Fill out the signup sheet
      o Unique Client ID (use your initials)
Get your parts
Code the solution
   * Reference: HTTP://www.CloudHomeSecurity.com
 VPN
 Restricted IP’s
 HTTPS and a gateway
  broker
GATEWAY BROKER
Home                       Azure                         Remote




                                       Hub                Browser

       MQTT     SSL   MQTT                         SSL
       Broker         Broker         SignalR             Dashboard




                                      Master
                                   Control Panel
MISSION CRITICAL
Home                           Azure                   Remote




                                        Hub             Browser

       MQTT         SSL   MQTT                   SSL
       Broker             Broker       SignalR         Dashboard
        NON SSL




   Master
Control Panel
Messaging Patterns



       MQTT          Message
       Broker         Router
Messaging Patterns


                Subscribe DI/0

       MQTT                      Message
       Broker                     Router
Messaging Patterns



       MQTT          Message
       Broker         Router
Messaging Patterns


                Publish DI/0 true

       MQTT                         Message
       Broker                        Router
Messaging Patterns


                Publish DI/0 true

       MQTT                         Message
       Broker                        Router
Messaging Patterns


                Publish DI/0 true

       MQTT                         Message
       Broker   Publish DO/0 true    Router
Messaging Patterns


                Publish DI/0 true

       MQTT                         Message
       Broker   Publish DO/0 true    Router

More Related Content

Similar to Hacknight powerpoint

The Stuxnet Worm creation process
The Stuxnet Worm creation processThe Stuxnet Worm creation process
The Stuxnet Worm creation processAjay Ohri
 
Smart home t gate
Smart home t gate Smart home t gate
Smart home t gate nannu31
 
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...Benjamin Cabé
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialBenjamin Cabé
 
NGSoft General Overview
NGSoft General OverviewNGSoft General Overview
NGSoft General OverviewMichael Starr
 
zigbee technology
zigbee technologyzigbee technology
zigbee technologyDeep Hundal
 
Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...
Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...
Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...Christian Götz
 
Node home automation with Node.js and MQTT
Node home automation with Node.js and MQTTNode home automation with Node.js and MQTT
Node home automation with Node.js and MQTTMichael Dawson
 
Geohackathon Technical Briefing slides 27 Nov 2015
Geohackathon Technical Briefing slides 27 Nov 2015Geohackathon Technical Briefing slides 27 Nov 2015
Geohackathon Technical Briefing slides 27 Nov 2015Espert Pte Ltd
 
CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)iBLio
 
Training material wmt 2012 ctnc
Training material wmt 2012 ctncTraining material wmt 2012 ctnc
Training material wmt 2012 ctncNuttaphol Wongmun
 
Applying blockchain technology to decentralized operation in future
Applying blockchain technology to decentralized operation in futureApplying blockchain technology to decentralized operation in future
Applying blockchain technology to decentralized operation in futureMohith Hb
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Benjamin Cabé
 
Blue Eyes ppt
Blue Eyes pptBlue Eyes ppt
Blue Eyes pptdeepu427
 
Alleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminaryAlleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminaryAntonio Conati Barbaro
 

Similar to Hacknight powerpoint (20)

The Stuxnet Worm creation process
The Stuxnet Worm creation processThe Stuxnet Worm creation process
The Stuxnet Worm creation process
 
Smart home t gate
Smart home t gate Smart home t gate
Smart home t gate
 
Smart home t gate
Smart home t gate Smart home t gate
Smart home t gate
 
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
Using Eclipse and Lua for the Internet of Things with Eclipse Koneki, Mihini ...
 
Rebooting the smartcard
Rebooting the smartcardRebooting the smartcard
Rebooting the smartcard
 
Safety Monitoring system for a manufacturing workstation using Web Service Te...
Safety Monitoring system for a manufacturing workstation using Web Service Te...Safety Monitoring system for a manufacturing workstation using Web Service Te...
Safety Monitoring system for a manufacturing workstation using Web Service Te...
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
 
NGSoft General Overview
NGSoft General OverviewNGSoft General Overview
NGSoft General Overview
 
zigbee technology
zigbee technologyzigbee technology
zigbee technology
 
Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...
Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...
Smart Home Live: Intelligent Detection of Fire or a Break-In with MQTT and Op...
 
Node home automation with Node.js and MQTT
Node home automation with Node.js and MQTTNode home automation with Node.js and MQTT
Node home automation with Node.js and MQTT
 
Geohackathon Technical Briefing slides 27 Nov 2015
Geohackathon Technical Briefing slides 27 Nov 2015Geohackathon Technical Briefing slides 27 Nov 2015
Geohackathon Technical Briefing slides 27 Nov 2015
 
GSM Based Security System
GSM Based Security SystemGSM Based Security System
GSM Based Security System
 
Blue eyes
Blue eyesBlue eyes
Blue eyes
 
CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)
 
Training material wmt 2012 ctnc
Training material wmt 2012 ctncTraining material wmt 2012 ctnc
Training material wmt 2012 ctnc
 
Applying blockchain technology to decentralized operation in future
Applying blockchain technology to decentralized operation in futureApplying blockchain technology to decentralized operation in future
Applying blockchain technology to decentralized operation in future
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013
 
Blue Eyes ppt
Blue Eyes pptBlue Eyes ppt
Blue Eyes ppt
 
Alleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminaryAlleantia LeWeb Paris 2012 Startup Comp preliminary
Alleantia LeWeb Paris 2012 Startup Comp preliminary
 

Recently uploaded

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Hacknight powerpoint

  • 1. By: Michael Linnen Twitter: @mlinnen Blog: www.protosystem.net
  • 2.
  • 3. DISCLAIMER! This is NOT a real security system! *This is for education purposes ONLY* Do NOT use this as your Home Security System!
  • 4. THE BIG PICTURE Talk to me! Message Broker Worker Web Azure Bedroom 1 Master Bedroom 2 Bedroom Front Side Back Master Bedroom Bedroom 1st Floor Bedroom 1 2 Doors Locked Windows Motion Doorbell Front door Sleep Away Alarm Back Side door door
  • 5. NETDUINO PLUS Digital i/o Features  All 20 digital and analog pins: GPIO  Digital pins 0-1: UART 1 RX, TX  Digital pins 2-3: UART 2 RX, TX  Digital pins 5-6: PWM, PWM  Digital pins 7-8: UART 2 RTS, CTS  Digital pins 9-10: PWM, PWM  Digital pins 11-13: SPI MOSI, MISO, SPCK  Analog pins 4-5: I2C SDA, SCL
  • 6. WINDOWS AZURE  Unlimited resources  Service Bus (Messaging)  Storage  Computation  Internet Of Things Enabler  Identity  Networking (VPN) o Projecting 50 billion devices in  Web sites (10 free) 2020  Virtual Machines (Linux or Windows)  Mobile Services  Media Services  Database Services  Reporting Services  Cache  CDN  Store
  • 9. MQTT “MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol” • Features – Lightweight – Publish/Subscribe – Open published protocol • How long? – Invented in 1999 – Dr Andy Standford-Clark – Arlen Nipper • Used By – Facebook (messenger) – Github – COSM (formerly Pachube) – RabbitMQ (MQTT Adapter) – Websphere MQ
  • 10. MESSAGES - DOORBELL Home Azure Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 11. MESSAGES - DOORBELL Home Azure Remote External Broker Hub Browser Door MQTT SignalR Dashboard Subscribe Doorbell Doorbell Master Control Panel
  • 12. MESSAGES - DOORBELL Home Azure Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 13. MESSAGES - DOORBELL Home Azure Remote Remote External Broker Hub Browser Door Publish Doorbell pushed MQTT SignalR Dashboard Doorbell Master Control Panel
  • 14. MESSAGES - DOORBELL Home Home Azure Azure Remote Remote External Broker Hub Browser Door Update UI MQTT SignalR Dashboard Doorbell Master Control Panel
  • 15. MESSAGES – UNLOCK DOOR Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 16. MESSAGES – UNLOCK DOOR Home Azure Azure Remote Remote External Broker Hub Browser Door Subscribe lock MQTT SignalR Dashboard Doorbell Master Control Panel
  • 17. MESSAGES – UNLOCK DOOR Home Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 18. MESSAGES – UNLOCK DOOR Home Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 19. MESSAGES – UNLOCK DOOR Home Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 20. MESSAGES – UNLOCK DOOR Home Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 21. MESSAGES – UNLOCK DOOR Home Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 22. MESSAGES – UNLOCK DOOR Home Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Doorbell Master Control Panel
  • 23. MESSAGES – UNLOCK DOOR Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Publish lock unlocked Doorbell Master Control Panel
  • 24. MESSAGES – UNLOCK DOOR Home Azure Azure Remote Remote External Broker Hub Browser Door MQTT SignalR Dashboard Update UI Doorbell Master Control Panel
  • 25. HARDWARE Ground Bus – Exposes more connections LED’s – Indicators or simulates actuators Switches – Keyboard, Window/Door/Motion sensors, Alarm mode
  • 26. Ground Bus Connect to LEDs or Switches Connect to Netduino GND
  • 27. LED’S Connect to Ground Bus Connect to Netduino Digital Pin (or 3.3 volt pin to test)
  • 28. Switches Connect to Ground Bus Connect to Netduino Digital Pin
  • 29. Netduino 3.3 V Netduino GND
  • 30. LET’S GET STARTED Pick a device to build o Doorbell (easiest) o Alarm (a little harder) o External Door (hardest) o Alarm Panel (hardest) Fill out the signup sheet o Unique Client ID (use your initials) Get your parts Code the solution * Reference: HTTP://www.CloudHomeSecurity.com
  • 31.  VPN  Restricted IP’s  HTTPS and a gateway broker
  • 32. GATEWAY BROKER Home Azure Remote Hub Browser MQTT SSL MQTT SSL Broker Broker SignalR Dashboard Master Control Panel
  • 33. MISSION CRITICAL Home Azure Remote Hub Browser MQTT SSL MQTT SSL Broker Broker SignalR Dashboard NON SSL Master Control Panel
  • 34. Messaging Patterns MQTT Message Broker Router
  • 35. Messaging Patterns Subscribe DI/0 MQTT Message Broker Router
  • 36. Messaging Patterns MQTT Message Broker Router
  • 37. Messaging Patterns Publish DI/0 true MQTT Message Broker Router
  • 38. Messaging Patterns Publish DI/0 true MQTT Message Broker Router
  • 39. Messaging Patterns Publish DI/0 true MQTT Message Broker Publish DO/0 true Router
  • 40. Messaging Patterns Publish DI/0 true MQTT Message Broker Publish DO/0 true Router