2.0.23 • Published 6 years ago

homebridge-hue-utils v2.0.23

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 years ago

homebridge-hue-utils

npm npm JavaScript Style Guide

Command line utilities for homebridge-hue

Copyright © 2018 Erik Baauw. All rights reserved.

This package bundles a number of command line utilities that interact with a Philips Hue bridge and/or a dresden elektronik deCONZ gateway. It is included in homebridge-hue, but might also be used standalone.

Commands

This package provides the following commands:

CommandDescription
dc_eventlogLogger for deCONZ websocket notifications.
jsonJSON formatter.
phCommand line interface to Philips Hue API.
upnpUPnP logger.

Type command -h to see help for the command.

Installation

This package is bundled with homebridge-hue and requires no additional installation when homebridge-hue is already installed on your system.
To install these utilities on a machine without homebridge-hue, follow these steps:

  • Install the latest v8 LTS version of Node.js. On a Raspberry Pi, use the 8.x Debian package. On other platforms, download the 8.x.x LTS installer. Both installations include the npm package manager;
  • On macOS, make sure /usr/local/bin is in your $PATH, as node, npm, and, later, homebridge install there. On a Raspberry Pi, these install to /usr/bin;
  • You might want to update npm through sudo npm -g install npm@latest;
  • Install the utilities through sudo npm -g install homebridge-hue-utils.

To run dc_eventlog as a system service on a Raspberry Pi, create a service file dc_eventlog.service in /etc/systemd/system:

[Unit]
Description=deCONZ: web socket event logger
After=deconz-gui.service

[Service]
User=pi
ExecStart=/usr/bin/dc_eventlog -s
Restart=on-failure
StartLimitInterval=60

[Install]
WantedBy=multi-user.target

To see the events, issue journalctl -au dc_eventlog.

History

dc_eventlog was previously published as a separate package dc_eventlog.
Earlier versions of ph and json, written in bash, were published in ph.sh.

2.0.23

6 years ago

2.0.22

6 years ago

2.0.21

6 years ago

2.0.20

6 years ago

2.0.19

6 years ago

2.0.18

6 years ago

2.0.17

6 years ago

2.0.16

6 years ago

2.0.15

6 years ago

2.0.14

6 years ago

2.0.13

6 years ago

2.0.12

6 years ago

2.0.11

6 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.0

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

1.0.0-2

7 years ago

1.0.0-1

7 years ago

1.0.0-0

7 years ago

0.4.12

7 years ago

0.4.11

7 years ago

0.4.10

7 years ago

0.4.9

7 years ago

0.4.8

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago