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 Device do
defstruct location: "",
id: 0,
model: "",
fw_ver: 0,
support: [],
power: "",
bright: 0,
color_mode: 0,
ct: 0,
rgb: 0,
hue: 0,
sat: 0,
name: ""
end