Giter Site home page Giter Site logo

node-hunterdouglas's Introduction

node-hunterdouglas

Interface with Hunter Douglas blinds using Javascript.

Goals of this project

  • Reverse engineer Hunter Douglas blind communication
  • Create straightforward API for controlling blinds
  • Allow easy integration with things like homebridge (see homebridge-hunterdouglas)
  • Handle errors caused by the base station
  • Learn a lot and have fun

Example

var hd = require("node-hunterdouglas");

var blindController = hd({
  ip: "192.168.0.xx",
  port: 522
});

blindController.setup().then(function (rooms) {

  // You should verify that "kitchen" was successfully found, but for a simple example:
  blindController.move("kitchen", 0.5).then(function (data) {
    blindController.disconnect();
  });
});

License

MIT


node-hunterdouglas's People

Contributors

exphat avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-hunterdouglas's Issues

Auto-detect base station

My base station seems to not listen to what IP it was assigned to.

The Platinum app auto-detects the base station so that doesn't break anything. But this module should do the same so the IP changing isn't a problem.

Handle base station shitting itself

Not sure exactly what causes it, but sometimes the base station can totally crap out and doesn't provide the starting connection message.

I think this may be caused when a different connection has errored out.

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.