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(id, method, params)
View Source
build_command(integer(), binary(), maybe_improper_list()) :: CommandMessage.t()
build_command(integer(), binary(), maybe_improper_list()) :: CommandMessage.t()
Link to this function
get_properties(properties)
View Source
get_properties(properties)
View Source
get_properties(maybe_improper_list()) :: CommandMessage.t()
get_properties(maybe_improper_list()) :: CommandMessage.t()
Link to this function
get_timer_job(job_type)
View Source
get_timer_job(job_type)
View Source
get_timer_job(binary()) :: CommandMessage.t()
get_timer_job(binary()) :: CommandMessage.t()
Link to this macro
is_effect(term) View Source (macro)
Link to this function
sendTo(command, device) View Source
Link to this function
set_brightness(brightness, effect, duration)
View Source
set_brightness(brightness, effect, duration)
View Source
set_brightness(integer(), binary(), integer()) :: CommandMessage.t()
set_brightness(integer(), binary(), integer()) :: CommandMessage.t()
Link to this function
set_default()
View Source
set_default()
View Source
set_default() :: CommandMessage.t()
set_default() :: CommandMessage.t()
Link to this function
set_hsv(hue, saturation, effect, duration)
View Source
set_hsv(hue, saturation, effect, duration)
View Source
set_hsv(integer(), integer(), binary(), integer()) :: CommandMessage.t()
set_hsv(integer(), integer(), binary(), integer()) :: CommandMessage.t()
Link to this function
set_power(power, effect, duration)
View Source
set_power(power, effect, duration)
View Source
set_power(binary(), binary(), integer()) :: CommandMessage.t()
set_power(binary(), binary(), integer()) :: CommandMessage.t()
Link to this function
set_rgb(rgb, effect, duration)
View Source
set_rgb(rgb, effect, duration)
View Source
set_rgb(list(), integer(), integer()) :: CommandMessage.t()
set_rgb(integer(), binary(), integer()) :: CommandMessage.t()
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
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(temperature, effect, duration)
View Source
set_temperature(integer(), binary(), integer()) :: CommandMessage.t()
set_temperature(integer(), binary(), integer()) :: CommandMessage.t()
Link to this function
start_color_flow(count, action, flowExpression)
View Source
start_color_flow(count, action, flowExpression)
View Source
start_color_flow(integer(), binary(), binary()) :: CommandMessage.t()
start_color_flow(integer(), binary(), binary()) :: CommandMessage.t()
Link to this function
start_timer_job(job_type, len)
View Source
start_timer_job(job_type, len)
View Source
start_timer_job(binary(), integer()) :: CommandMessage.t()
start_timer_job(binary(), integer()) :: CommandMessage.t()
Link to this function
stop_color_flow()
View Source
stop_color_flow()
View Source
stop_color_flow() :: CommandMessage.t()
stop_color_flow() :: CommandMessage.t()
Link to this function
stop_timer_job(job_type)
View Source
stop_timer_job(job_type)
View Source
stop_timer_job(binary()) :: CommandMessage.t()
stop_timer_job(binary()) :: CommandMessage.t()
Link to this function
toggle()
View Source
toggle()
View Source
toggle() :: CommandMessage.t()
toggle() :: CommandMessage.t()