Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sinedied/hue-cli

:bulb: Simple command line interface for Philips Hue
https://github.com/sinedied/hue-cli

bridge cli hue iot nodejs philips scene

Last synced: 11 days ago
JSON representation

:bulb: Simple command line interface for Philips Hue

Awesome Lists containing this project

README

        

# :bulb: hue-cli

[![NPM version](https://img.shields.io/npm/v/@sinedied/hue-cli.svg)](https://www.npmjs.com/package/@sinedied/hue-cli)
![Node version](https://img.shields.io/badge/node-%3E%3D5.0.0-brightgreen.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

> Simple command line interface for Philips Hue.

## Installation

```bash
npm install -g @sinedied/hue-cli
```

### Usage

```
Usage: hue [setup|scene|on|off]

Commands:
setup Configure hue bridge or show current config
-l, --list List bridges on the network
-i, --ip Set bridge ip (use first bridge if not specified)
--force Force setup if already configured

s, scene Activate scene starting with
-l, --list List scenes, using as optional filter
-m, --max Show at most scenes when listing (10 by default)
-c, --create Create scene using current lights state

i, on Switch all lights on
o, off Switch all lights off
```