GithubHelp home page GithubHelp logo

iot-srv's Introduction

iot-srv

お手軽にIoTデバイスのステータスを管理することができ、ステータスが変わったタイミングでのJavaScriptコードの実行が可能です。

capture

以下のボタンから、Herokuへのデプロイが可能です。

Herokuへのデプロイ

利用方法

デバイスごとのステータス(0から100までの数字)をiot-srvは受付、2日間のデータを保持します。
デバイス名の部分は英数字を利用できます。予め登録する必要はありません。

ステータスの取得と更新

  • 特定の値に更新

    {{host}}/<デバイス名>/<数字>

  • ステータスを100に更新

    {{host}}/<デバイス名>/on

  • ステータスを0に更新

    {{host}}/<デバイス名>/off

  • ステータスの確認

    {{host}}/<デバイス名>/status

  • HTTPロングポーリングによるステータスの確認(10秒以内に応答が有り、ステータスが更新された場合には即座に応答します。)

    {{host}}/<デバイス名>/status/polling

デバイス情報の確認画面

 `{{host}}/<デバイス名>`

開発

ニャンパス株式会社(http://nyampass.com/)

iot-srv's People

Contributors

tnoborio avatar asukiaaa avatar

Watchers

James Cloos avatar Hiroya Fujinami 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.