Skip to content

๐Ÿ”— Interface with Hunter Douglas Platinum blinds using Javascript

License

Notifications You must be signed in to change notification settings

exPHAT/node-hunterdouglas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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


About

๐Ÿ”— Interface with Hunter Douglas Platinum blinds using Javascript

Topics

Resources

License

Stars

Watchers

Forks