Closed BEskandari closed 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
Note to self: instead of bash
script, create proper JavaScript command, using JsonFormatter
instead of json
command.
EDIT in v0.1.7.
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