Code Monkey home page Code Monkey logo

agohunterdouglas's Introduction

agohunterdouglas

AgoControl integration for Hunter Douglas shades.

Prior to running, set server in the hunterdouglas.conf file to the IP of the gateway.

Hunter Douglas Protocol

This is the basics of the Hunter Douglas Gateway IP protocol. Each command is followed by a newline.

Connecting

When you connect to the gateway using TCP/IP on port 522, it will return a line with a two character prefix that identifies responses to you with.

Listing state

One can list all state from the gateway with $dat. This will return many lines and end with a line that starts with upd01-. The first two digits are client identifiers. After those prefixes there is an identifier for state. $cs indicates the name of a shade. $cp is followed by its id and its state. Other lines also exist but are not used by AgoHunterDouglas so are not yet well understood.

Set shade state

One can set the state of a shade by sending command $pss%s-04-%03 where the first substitution is the internal shade id and the second is the shade state. The state is a number between 0 and 255 where 0 means the shade is closed and 255 means the shade is open.

agohunterdouglas's People

Contributors

tannewt avatar

Watchers

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