This package has been deprecated

Author message:

no longer maintained

hue-bridge-backup

0.2.0 • Public • Published

hue-bridge-backup

Backup and restore Philips Hue bridge configuration in raw JSON for easy editing.

Motivation

I have a number of complex Labs configured and I was looking for a way to backup (and modify?) and restore configuration on my Hue Bridge. The Hue app doesn't offer any backup options, but does provide a way to wipe the current configuration and automatically restore lights and groups.

Installation

npm install @klutchell/hue-bridge-backup

Usage

$ index.js --help

Usage: index.js <cmd> [options]

Commands:
  index.js backup   Backup data to a local directory
  index.js restore  Restore data from a local directory

Options:
  -c, --config-file  Path to JSON config file
  -b, --bridge-ip    Hue bridge address:port                 [string] [required]
  -u, --bridge-user  Hue bridge user                         [string] [required]
  -d, --backup-dir   Path to Hue backup directory                       [string]
  -e, --endpoints    Hue endpoints list
   [array] [required] [choices: "config", "groups", "lights", "rules", "scenes",
               "schedules", "sensors"] [default: ["rules","schedules","scenes"]]
  -h, --help         Show help                                         [boolean]
  -v, --version      Show version number                               [boolean]

Examples:
  index.js backup -b "192.168.86.131" -u <uuid> -d ./my-backup -e rules scenes
  index.js restore -d ./my-backup

Tests

Build Status Coverage Status

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Author

Kyle Harding kylemharding@gmail.com

Acknowledgments

tbd

References

License

This project is licensed under MIT

/hue-bridge-backup/

    Package Sidebar

    Install

    npm i hue-bridge-backup

    Weekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    333 kB

    Total Files

    25

    Last publish

    Collaborators

    • klutchell