Giter VIP home page Giter VIP logo

homebridge-ambiclimate's Introduction

homebridge-ambiclimate

npm version

Ambi Climate plugin for homebridge. This plugin presently supports:

  • Current Temperature (implementation of Temperature Sensor Service)
  • Current Relative Humidity (Implementation of Humidity Sensor Service) as such each physical device appears within Homekit Apps as two logical devices with the same name.

Installation

npm install -g homebridge-ambiclimate

This plugin augments a pre-existing implementation of homebridge. Refer to nfarina/homebridge for installation instructions.

A bearer token is mandatory to use the Ambi Climate API. A new token can be obtained in the Ambi Dev Portal by following the steps on the Quick Start page.

Update your homebridge configuration file (as below).

Configuration

"accessories" : [
    {
        "accessory": "AmbiClimate",
        "name": "<Name for Accessory>",
        "roomName": "<Name of Ambi Climate Device>",
        "locationName": "<Name of Ambi Climate Location>"
        "bearerToken": "<Ambi Climate Bearer Token>"
    }
]

Separate homebridge accessories can be defined for each Ambi Climate device to be controlled.

  • accessory: Must be "AmbiClimate"
  • name: Can be anything, this will be the name of the Accessory within HomeKit Apps
  • room_name: Must match the value within the Ambi Climate App
  • location_name: Must match the value within the Ambi Climate App
  • bearerToken: The token value obtained from Ambi Dev Portal

To Do

  • Refactor to a Platform plugin. This is predicated on Ambi Labs exposing a capability in their public API to retrieve all devices installed in a given location.
  • Implement Thermostat Service (rather than Temperature Sensor). This is predicated on Ambi Labs exposing a capability in their public API to get current state for each device.
  • Implement Fan Service. This is predicaed on Ambi Labs exposing a capability in their public API to get and set fan state.

homebridge-ambiclimate's People

Contributors

alisdairjsmyth 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.