ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
135 stars 7 forks source link

version 0.1.3 - ui error messages #106

Closed BEskandari closed 1 year ago

BEskandari commented 1 year ago

After updating to version 0.1.3 I get the below messages by trying to execute ui

pi@homebridge:/var/lib/homebridge $ ui /usr/local/bin/ui: line 29: json: command not found ui: /var/lib/homebridge/config.json: cannot find deCONZ platform

ebaauw commented 1 year ago

json comes with homebridge-lib, but it's only installed to /usr/local/bin when you install homebridge-lib separately.

I created a new package, hb-lib-tools, to install the command-line tools from homebridge-lib:

sudo npm -g i hb-lib-tools
ebaauw commented 1 year ago

Note to self: instead of bash script, create proper JavaScript command, using JsonFormatter instead of json command.

EDIT in v0.1.7.