Giter Site home page Giter Site logo

mc-device-full's Introduction

Microclimates Device Module Template

This repository contains the minimum requirements for installing your device into a secure Microclimates network.

It's designed to be used as a template for your own device module.

While there is no requirement for this to install a device, it will allow the device be installed without the security warning.

We recommend all devices running within the secure network have this minimum installation, consting of the package.json file acknowledging your understanding and acceptance of the security agreement and privacy policy.

Device Requirements

Any device following the Homie convention can be added to the secure Microclimates network. It has been tested using the ESP8266 homie library.

In order to find your device module it must be published to npm, and the following must be in the device settings section of the JSON configuration file on the device:

{
  ...
  "settings": {
    "npm-module": "this-repo@^2.12.0"
  }
}

If the npm-module value contains a semver range as in the above example, automatic updates of your module are restrained to this range.

Installing

The device must be in configuration mode as a WiFi hotspot, broadcasting an SSID. If the SSID begins with homie- or microclimates-, the Microclimates hub will find it without asking the user to view all available SSIDs.

Once the user confirms their intent to install the device, the microclimates section of the package.json for your module will be downloaded, validated, and presented to the user.

Upon installation, your device will be configured to connect to the secure Microclimates network, the shared MQTT message bus, and be controlled by node-red flows and the external Climate Control API.

License

Copyright 2017 Microclimates, Inc. May be freely distributed under the MIT license

mc-device-full's People

Contributors

lorenwest avatar

Watchers

 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.