yeelight v0.1.4 Command View Source

Link to this section Summary

Link to this section Functions

Link to this function

build_command(id, method, params) View Source
build_command(integer(), binary(), maybe_improper_list()) :: CommandMessage.t()

Link to this function

get_properties(properties) View Source
get_properties(maybe_improper_list()) :: CommandMessage.t()

Link to this function

get_timer_job(job_type) View Source
get_timer_job(binary()) :: CommandMessage.t()

Link to this macro

is_effect(term) View Source (macro)

Link to this function

set_brightness(brightness, effect, duration) View Source
set_brightness(integer(), binary(), integer()) :: CommandMessage.t()

Link to this function

set_hsv(hue, saturation, effect, duration) View Source
set_hsv(integer(), integer(), binary(), integer()) :: CommandMessage.t()

Link to this function

set_power(power, effect, duration) View Source
set_power(binary(), binary(), integer()) :: CommandMessage.t()

Link to this function

set_rgb(rgb, effect, duration) View Source
set_rgb(list(), integer(), integer()) :: CommandMessage.t()
set_rgb(integer(), binary(), integer()) :: CommandMessage.t()

Link to this function

set_rgb(r, g, b, effect, duration) View Source
set_rgb(integer(), integer(), integer(), binary(), integer()) ::
  CommandMessage.t()

Link to this function

set_scene(method, val1, val2, val3) View Source

Link to this function

set_temperature(temperature, effect, duration) View Source
set_temperature(integer(), binary(), integer()) :: CommandMessage.t()

Link to this function

start_color_flow(count, action, flowExpression) View Source
start_color_flow(integer(), binary(), binary()) :: CommandMessage.t()

Link to this function

start_timer_job(job_type, len) View Source
start_timer_job(binary(), integer()) :: CommandMessage.t()

Link to this function

stop_color_flow() View Source
stop_color_flow() :: CommandMessage.t()

Link to this function

stop_timer_job(job_type) View Source
stop_timer_job(binary()) :: CommandMessage.t()