lifx-cli

A minimal, easy-to-use CLI for LIFX light bulbs.

Usage no npm install needed!

<script type="module">
  import lifxCli from 'https://cdn.skypack.dev/lifx-cli';
</script>

README

lifx-cli NPM version

A minimal, easy-to-use CLI for LIFX light bulbs.

Installation

Install the package with NPM:

$ npm install -g lifx-cli

Usage

Examples:

# Power on a light.
$ lifx-cli power-on --light a27b55e5db81

# Power off a light.
$ lifx-cli power-off --light a27b55e5db81

# Power toggle a light.
$ lifx-cli power-toggle --light a27b55e5db81

# Show help for powering on a light.
$ lifx-cli power-on --help

# Show general help.
$ lifx-cli --help

Disclaimer

The tool is not officially affiliated with LIFX in any way. Use at own risk.