2.0.23 • Published 5 years ago

homebridge-hue-utils v2.0.23

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 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

5 years ago

2.0.22

5 years ago

2.0.21

5 years ago

2.0.20

5 years ago

2.0.19

5 years ago

2.0.18

5 years ago

2.0.17

5 years ago

2.0.16

5 years ago

2.0.15

5 years ago

2.0.14

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-2

6 years ago

1.0.0-1

6 years ago

1.0.0-0

6 years ago

0.4.12

6 years ago

0.4.11

6 years ago

0.4.10

6 years ago

0.4.9

6 years ago

0.4.8

6 years ago

0.4.7

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago