GithubHelp home page GithubHelp logo

isabella232 / raspberry-pi-web-simulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/raspberry-pi-web-simulator

0.0 0.0 0.0 37.54 MB

Raspberry Pi web simulator. Demo address:

Home Page: https://azure-samples.github.io/raspberry-pi-web-simulator

HTML 0.44% JavaScript 92.70% CSS 6.86%

raspberry-pi-web-simulator's Introduction

page_type languages products description
sample
javascript
nodejs
azure
azure-iot-hub
Sample of a simulator for Raspberry Pi.

Raspberry Pi Web Client Simulator

Gitter

Click to visit Demo page This is the preview version and we'd like to have your feedback. You can submitt issues or chat with the product team in the gitter.

How to register an IoT hub

Click this page and follow it to create your own IoT hub

Usage

  • Replace the connection string with your Azure IoT hub device connection string, and click run button or type npm start in the console to run a client application to

    • send message to IoT hub
    • receive C2D message from IoT hub
    • receive device method from IoT hub
  • While the sample code running, you can see

    • the LED is blinking in the left part
    • some message is printed in the console
  • To expand the code editor, you can fold the console

  • Write your own piece of code in the code editor and run

Contribution Guide

Notice! Only source branch is for source code. master and static-int branch are generated by build service. So never manually update these branches.

For common scenario

  • Create a new branch based on source branch.
  • Create a Pull Request.
  • Merge with source branch with at least one approval. Do not merge with git tags
  • Wait for 5 minutes and check your change on test site

For production deployment scenario

  • Before doing following steps, make sure all changes are tested on test site.
  • Create a tag with git tag command. Better name the tag as version number.
  • Use git push --tags command to push tag on source branch.
  • Wait for 5 minutes and check your change on prod site

raspberry-pi-web-simulator's People

Contributors

michaeljqzq avatar yuwzho avatar aprilspeight avatar supernova-eng avatar jawn avatar msftgits avatar ngtmeaty 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.