Coder Social home page Coder Social logo

iotworkshop's Introduction

Azure IoT Workshop

사전 설치 항목



Azure IoT Hub생성 및 시물레이션 장치를 이용한 Telemetry데이터 전송
  1. Azure IoT Hub생성합니다.
    다음 URL의 사이트를 참고하여 Azure IoT Hub를 생성하고 장치(MyDeviceID)를 추가합니다. https://docs.microsoft.com/ko-kr/azure/iot-hub/iot-hub-create-through-portal
  2. 생성된 장치의 기본 연결 문자열을 복사합니다.
  3. VSCode에서 IoT Hub와의 연결설정을 아래 URL을 참고하여 설정합니다.
    https://docs.microsoft.com/ko-kr/azure/iot-hub/iot-hub-vscode-iot-toolkit-cloud-device-messaging
  4. 다운로드 받은 Python 예제의 SimulatedDevice.py를 VSCode에서 불러옵니다.
    예제 파일은 Python 프로젝트 샘플의 루트 폴더 밑에 iot-hub\Quickstarts\simulated-device 폴더에 있습니다.
  5. 이전 단계에서 복사한 연결 문자열을 붙여 놓습니다.
  6. 터미널 창에서(cmd.exe) 아래 명령줄을 실행합니다.
    pip install azure-iot-device
  7. 터미널 창에서 다음 명령을 실행하여 시뮬레이션된 디바이스 애플리케이션을 실행합니다.
    python SimulatedDevice.py
  8. VSCode에서 메세지를 모니터링 합니다
    방법: https://docs.microsoft.com/ko-kr/azure/iot-hub/iot-hub-vscode-iot-toolkit-cloud-device-messaging#monitor-device-to-cloud-messages

IoT 데이터를 Azure Stream Analytics Job을 이용한 처리
  1. Azure Analytics Job을 아래 사이트 내용을 참고하여 생성합니다.
    https://docs.microsoft.com/ko-kr/azure/iot-hub/iot-hub-live-data-visualization-in-power-bi
    • 입력은 IoT Hub로 지정
    • 출력은 Power BI로 지정

iotworkshop's People

Contributors

keonlee avatar

Watchers

James Cloos avatar  avatar

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.