Packages

This is a library to comunicate with yeelight lamps using Elixir. For discovering the lights it uses a UPnP server that should be started using `Yeelight.Discover.start`

Current section

Files

Jump to
yeelight lib message.ex
Raw

lib/message.ex

defmodule Yeelight.Message do
@moduledoc false
defstruct id: 0, method: "", params: []
@type t :: %__MODULE__{
id: integer,
method: String.t(),
params: list(integer | String.t())
}
end