Posts for #HomeControllerAPI

  • Insteon Hub - Sensor API

    Control of Insteon sensors differs from other Insteon devices. Unlike many Insteon devices that control your home, sensors don't directly control anything. They are used to trigger changes. This means the API is not about how to control a device. Rather, the sensor API is about how to react to the device.

    This is part of our series detailing the functionality of the Insteon Hub.

    Sensors

    ... read more
  • home-controller 0.5.0

    Version 0.5.0 of the home-controller Node.js package has been released.

    0.5 Update Hightlights:

    • Added events for devices
    • Added sensors support (motion, door, & leak)
    • Bug fixes
    ... read more
  • Insteon Event Handling API Example

    This is an example of an application using lighting and motion events provided by the home-controller module.

    We'll be looking at how to use the following asynchronous event logic to make complex home automation logic.

    Lighting Turn On Event

    light('insteonId').on('turnOn', function () {
      ...
    });
    

    Motion Sensor Event

    motion('insteonId').on('motion', function () {
      ...
    });
    
    ... read more
  • home-controller 0.4.0

    Version 0.4.0 of the home-controller Node.js package has been released.

    This release add support for thermostat and scene control. In addition, the code was refactored. The refactoring was down for two reasons. The first reason was to break out device specific functionality. Second, it enhances the API to support promise and callback code logic.

    Promise Support

    ... read more
  • Insteon Blinking Node.js App

    This is a quick example of a simple Node.js application using the home-controller module.

    To start, we need to add the home-controller module to our package. (I'll assume your package.json exists).

    npm install home-controller --save
    

    We can start with the following template for using the Insteon class from the home-controller module.

    var Insteon = require('home-controller').Insteon;
    var gw = new Insteon();
    
    var host = '192.168.10.10'; // Hub IP Address
    
    gw.connect(host, function () {
      // connected to the Insteon Hub
    }
    
    ... read more
  • Insteon Hub - Basic Light Switch Control API

    Want to control your lights with the Insteon Hub API? This post covers the details of basic light switch control with the Hub. This is part of our series detailing the functionality of the Insteon Hub.

    Image of light switch

    ... read more
  • home-controller 0.3.0

    Version 0.3.0 of the home-controller Node.js package has been released.

    This release changes the underlying protocol used to transport the PLM commands. The API now uses the direct PLM over TCP interface and no longer uses the HTTP interface.

    Node.js

    ... read more
  • Insteon Hub Raw PLM

    This post gives an overview of the functionality provided by the Insteon Hub's Raw PLM interface. This is the second of a series of posts about the Insteon Hub. The first post, Under the Insteon Hub Hood, focused on the Hub's main HTTP interface.

    The Hub's PLM interface is exposed as both a resource via HTTP and directly over TCP. This post details the raw TCP PLM interface.

    Hub TCP Flow

    ... read more
  • home-controller 0.2.0

    Version 0.2.0 of the home-controller Node.js package has been released. Main updates include:

    • Adds several new functions to the Insteon API
    • Includes a new command line utility
    • Improves the package's performance

    Node.js

    ... read more
  • Under the Insteon Hub Hood

    This post gives an overview of the functionality provided by the Insteon Hub's HTTP interface. Our home-controller API exposes the Hub's functionality in a Node.js module. This is the first of a series of posts. The later posts will detail how the API uses the Hub's HTTP interface.

    Hub

    ... read more