Aller au contenu

Présentation du logiciel Hue-cli

Hue-cli est un programme permettant de contrôler les ampoules Philips Hue à partir d'un terminal !

Prérequis: NodeJS, npm (Pour installer NodeJS et npm, voici un lien vers ce wiki: Installer_NodeJS

Installation

Une fois npm installé sur le système il suffit de l'installer à partir du github de l'auteur:

npm install -g @sinedied/hue-cli

Commandes et 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)
    -c, --create   Create scene <name> using current lights state

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

Voir le github de l'auteur: https://github.com/sinedied/hue-cli https://github.com/sinedied/hue-cli