Giter VIP home page Giter VIP logo

azure_iot_lab's Introduction

Azure IoT Hands on Lab

In this lab, we will use Azure Services for building an IoT solution connecting simulated devices to an Azure IoT Hub instance and store that data in a storage account. This lab is composed of several modules that need to be perfomed in sequence.

In order to facilitate proper completion tracking and allowing better support from the instructors, please take a group name for several key resources.
Your group name shall be icaiiotlabgroupX, where:

  • X is your group number in double digit
  • Example: icaiiotgroup01, icaiiotgroup02,..,icaiiotgroup18

Lab diagram

Modules

Module 1: Creating an Azure IoT Hub and a device identity in IoT Hub

Azure IoT Hub

Module 2: Creating a simulated on your Raspberry Pi and send data to IoT Hub

Raspberry Pi as device

Module 3: Creating a storage account

Storage Account

Module 4: Routing device messages to the storage account

Message Routing

Module 5: Modify the device script for sending more data

Enhance the sensor script

Module 6: Manual device messaging

Send a message to the device

Module 7: Visualize sensor data

Visualize sensor data

Module 8: Post in Twitter

Send a notification after device messages

Module 9: Integrate APPs with IoT Hub

Integrate APPs with IoT Hub

Module 10: Send a cloud to device command via an external app

Integrate APPs with IoT Hub

azure_iot_lab's People

Contributors

seryiogonzalez avatar siyito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

azure_iot_lab's Issues

Script "iot-hub-client-message.py" problem + my solution

  1. If you get such error:
    DeprecatedWarning: receive_message is deprecated as of 2.3.0. We recommend that you use the .on_message_received property to set a handler instead message = client.receive_message()
    use pip install boto3
  2. If you get such error in vm:
    warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
    unistall package:
    pip uninstall urllib3
    and then
    pip install urllib3

Problema acceso a logic apps

El otro problema que me he encontrado es al acceder a las “Logic apps” del IoT hub creado: no me deja entrar en Azure Event Grid:

image

Problema almacenamiento de datos en el contenedor del "storage account"

El primer problema que me he encontrado es que no consigo almacenar los datos que envía el device en el contenedor del “storage account”. Creo que puede deberse a que en la captura de pantalla del guión aparece esto:

image

mientras que a mí solo me ha dejado crear un contenedor privado

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.