kevo_ex

An Elixir client library for Kevo’s reverse engineered web API.

Kevo locks were launched by Kiwkset in 2016 and discontinued in 2022. While they’re unlikely to receive support for Seam, the existing web API should (hopefully) remain (relatively) stable.

Installation

Add :kevo_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:kevo_ex, "~> 0.2.0"}
  ]
end

Documentation is available on HexDocs and may also be generated with ExDoc.

Usage

Add Kevo to your app’s supervision tree:

kevo_opts = [
  name: Kevo,
  username: "username",
  password: "password",
  websocket_callback: YourHandlerModule # optional
]

children = [
  {Kevo, kevo_otps}
]

Or start the client dynamically:

Kevo.start_link([name: Kevo, username: "username", password: "password"])

Configuration

API calls

Websocket events

To receive websocket events, provide a Kevo.Handler compliant module using the websocket_callback option. When a message is recevied, handle_event/1 will be invoked, passing a map of the received JSON. See the page on example responses.

Usage notes

Acknowledgments

Special thanks to the following: