emischorr / klf200

A wrapper implementing the binary protocol to connect to a VELUX KLF-200 GW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Klf200

TODO: Add description

Examples

Using Client API

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, the package can be installed by adding klf200 to your list of dependencies in mix.exs:

def deps do
  [
    {:klf200, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/klf200.

About

A wrapper implementing the binary protocol to connect to a VELUX KLF-200 GW


Languages

Language:Elixir 100.0%