View Source Klf200.Client (klf200 v0.1.5)

A client process that uses the API module to start a session with a VELUX klf200 GW. This module handles the socket and connection layer (inlcuding SSL and session authentication). It also keeps track of the state of the session (logged in? which confirmations are expected at the current step?) and forwards messages back to caller.

It provides a generic function to send commands as well as specific functions to initialize the connection.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

command(cmd)

command(cmd, data)

connect(host)

login(password)

nodes()

start_link(opts \\ [])