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 device.ex
Raw

lib/device.ex

defmodule Yeelight.Device do
@moduledoc false
defstruct host: "",
port: 0,
id: "",
model: "",
fw_ver: 0,
support: [],
power: "",
bright: 0,
color_mode: 0,
ct: 0,
rgb: 0,
hue: 0,
sat: 0,
name: "",
command_id: 0
end