Philips Eyecare

Todo

Pull requests for documentation are welcome!

See mieye –help for usage.

mieye –help

mieye

A tool to command Xiaomi Philips Eyecare Smart Lamp 2.

mieye [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

ambient-off

Ambient Light off.

mieye ambient-off [OPTIONS]

ambient-on

Ambient Light on.

mieye ambient-on [OPTIONS]

bl-off

Night Light off.

mieye bl-off [OPTIONS]

bl-on

Night Light on.

mieye bl-on [OPTIONS]

delay-off

Set delay off in minutes.

mieye delay-off [OPTIONS] MINUTES

Arguments

MINUTES

Required argument

discover

Search for plugs in the network.

mieye discover [OPTIONS]

eyecare-off

Turn eyecare off.

mieye eyecare-off [OPTIONS]

eyecare-on

Turn eyecare on.

mieye eyecare-on [OPTIONS]

notify-off

Eye Fatigue Reminder off.

mieye notify-off [OPTIONS]

notify-on

Eye Fatigue Reminder On.

mieye notify-on [OPTIONS]

off

Power off.

mieye off [OPTIONS]

on

Power on.

mieye on [OPTIONS]

set-ambient-brightness

Set Ambient Light brightness level.

mieye set-ambient-brightness [OPTIONS] LEVEL

Arguments

LEVEL

Required argument

set-brightness

Set brightness level.

mieye set-brightness [OPTIONS] LEVEL

Arguments

LEVEL

Required argument

set-scene

Set eyecare scene number.

mieye set-scene [OPTIONS] SCENE

Arguments

SCENE

Required argument

status

Returns the state information.

mieye status [OPTIONS]