Ceil

Todo

Pull requests for documentation are welcome!

See miceil –help for usage.

miceil –help

miceil

A tool to command Xiaomi Philips LED Ceiling Lamp.

miceil [OPTIONS] COMMAND [ARGS]...

Options

--ip <ip>
--token <token>
-d, --debug

Environment variables

DEVICE_IP
Provide a default for --ip
DEVICE_TOKEN
Provide a default for --token

automatic-color-temperature-off

Auto CCT on.

miceil automatic-color-temperature-off [OPTIONS]

automatic-color-temperature-on

Auto CCT on.

miceil automatic-color-temperature-on [OPTIONS]

delay-off

Set delay off in seconds.

miceil delay-off [OPTIONS] SECONDS

Arguments

SECONDS

Required argument

discover

Search for plugs in the network.

miceil discover [OPTIONS]

off

Power off.

miceil off [OPTIONS]

on

Power on.

miceil on [OPTIONS]

set-brightness

Set brightness level.

miceil set-brightness [OPTIONS] LEVEL

Arguments

LEVEL

Required argument

set-color-temperature

Set CCT level.

miceil set-color-temperature [OPTIONS] LEVEL

Arguments

LEVEL

Required argument

set-scene

Set scene number.

miceil set-scene [OPTIONS] SCENE

Arguments

SCENE

Required argument

smart-night-light-off

Smart Night Light off.

miceil smart-night-light-off [OPTIONS]

smart-night-light-on

Smart Night Light on.

miceil smart-night-light-on [OPTIONS]

status

Returns the state information.

miceil status [OPTIONS]