Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tannewt/agohunterdouglas
AgoControl integration for Hunter Douglas shades.
https://github.com/tannewt/agohunterdouglas
Last synced: about 2 months ago
JSON representation
AgoControl integration for Hunter Douglas shades.
- Host: GitHub
- URL: https://github.com/tannewt/agohunterdouglas
- Owner: tannewt
- License: apache-2.0
- Created: 2014-06-07T21:31:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-05T05:42:44.000Z (over 10 years ago)
- Last Synced: 2024-10-15T15:06:41.247Z (3 months ago)
- Language: Python
- Size: 145 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.