@sinedied/hue-cli

Simple command line interface for Philips Hue

Usage no npm install needed!

<script type="module">
  import sinediedHueCli from 'https://cdn.skypack.dev/@sinedied/hue-cli';
</script>

README

hue-cli

NPM version Node version License

Simple command line interface for Philips Hue.

Installation

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 <name>  Activate scene starting with <name>
    -l, --list     List scenes, using <name> as optional filter
    -m, --max <n>  Show at most <n> scenes when listing (10 by default)
    
  i, on            Switch all lights on  
  o, off           Switch all lights off