Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular & the Cloud: Serverless IoT with Azure ...

Angular & the Cloud: Serverless IoT with Azure & ESP8266

Nowadays you can buy a lot of stuff for home automation. Amazon Echo, Google Home, etc. are used as a home automation hubs and controllers for smart devices like Hue lights, smart locks, air conditioner, cameras or your lawn mower. Cool consumer stuff, ready to be used in your own home. But what happens if your customer wants his hardware to be “home automatable”? A difficult task? Maybe not! With microcontrollers like the ESP8266 and tools like Azure IoT Hub and Azure Functions we’re able to connect everything to the cloud and to our smartphones easily. And with a little security sugar its safe as well! Join Manuel Rauber in this short talk about getting things “home automatable”.

Manuel Rauber

October 24, 2017
Tweet

More Decks by Manuel Rauber

Other Decks in Programming

Transcript

  1. Angular & the Cloud Serverless IoT with Azure & ESP8266

    Manuel Rauber @manuelrauber Consultant
  2. Consultant @ Thinktecture AG ! [email protected] " @manuelrauber # https://manuel-rauber

    .com Microsoft MVP The guy who’s talkin’ Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18 Manuel Rauber
  3. Talking Points AngularJS Meetup Munich #18 Angular & the Cloud:

    Serverless IoT with Azure & ESP8266 https://4.bp.blogspot.com/-SQHr_XnFfUM/VBjq1wFkmUI/AAAAAAAAAyE/coSUQ71f1k8/s1600/20140912_231941.jpg
  4. • A lot of IoT-ready devices are already out there:

    • Google Home, Amazon Alexa, … • Philips Hue Lights, Spotify Speaker, … • Smart Locks, temperature control, … • Cameras, lawn mower, … • What about „my custom hardware“? • As a developer? • As a hardware vendor? • What can be used to bring my devices to the cloud to be home-automatable? Scenario Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18
  5. • Microcontroller unit • 80 MHz • 64 KiB instruction

    RAM, 96 KiB data RAM • IEEE 802.11 b/g/n Wi-Fi (WEP , WPA/WPA2) • Full TCP/IP stack • SDKs • NodeMCU (LUA) • Arduino (C++) • Espruino (JavaScript) ESP8266 Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18
  6. IoT Hub • Bi-directional communication with IoT devices • Authentication

    • IoT device management • Supports MQTT (machine-to-machine connectivity protocol) • Lightweight • Publish/Subscribe • Lots of SDKs • C • .NET • Node.js Azure Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18
  7. Event Hub • Near real-time event communication • Fully managed

    by Azure – no servers to maintain • Easily scalable for millions of events per second • Lots of SDKs • C • Java • .NET • Node.js • Python Azure Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18
  8. Cosmos DB • „Globally distributed, multi-model database“ • Elastically scalable

    • No database schema/index management • Fully managed by Azure Azure Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18
  9. Functions • Event-driven • Serverless („focus on app instead of

    infrastructure“) • Easy interaction possibilities with other Azure Services • Cosmos DB • Storage • 3rd-parties like Twilio also possible • SDKs for • .NET • JavaScript • PHP • Bash Azure Angular & the Cloud: Serverless IoT with Azure & ESP8266 AngularJS Meetup Munich #18