Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emischorr/klf200
A wrapper implementing the binary protocol to connect to a VELUX KLF-200 GW
https://github.com/emischorr/klf200
elixir home-automation iot velux
Last synced: 7 days ago
JSON representation
A wrapper implementing the binary protocol to connect to a VELUX KLF-200 GW
- Host: GitHub
- URL: https://github.com/emischorr/klf200
- Owner: emischorr
- License: mit
- Created: 2023-02-22T15:03:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T19:03:26.000Z (20 days ago)
- Last Synced: 2024-12-25T19:35:59.144Z (12 days ago)
- Topics: elixir, home-automation, iot, velux
- Language: Elixir
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Klf200
**TODO: Add description**
## Examples
Using Client API
```elixir
Klf200.Client.start_link
Klf200.Client.connect("192.168.10.50")
Klf200.Client.login("password")
Klf200.Client.command(:GW_COMMAND_SEND_REQ, %{node: 0, position: 0}) # open
Klf200.Client.command(:GW_COMMAND_SEND_REQ, %{node: 0, position: 100}) # close
```## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `klf200` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:klf200, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .