Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 .