Closed bakman2 closed 5 years ago
I changed the packaging, and republished via NPM.
Try installing like this
cd ~/.node-red
npm install node-red-contrib-homebridge-automation
On Jul 27, 2019, at 7:20 AM, bakman2 notifications@github.com wrote:
With and without root both state:
10 verbose stack fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-ba274e94/.git' 10 verbose stack 10 verbose stack at ChildProcess.exithandler (child_process.js:294:12) 10 verbose stack at ChildProcess.emit (events.js:198:13) 10 verbose stack at maybeClose (internal/child_process.js:982:16) 10 verbose stack at Socket.stream.socket.on (internal/child_process.js:389:11) 10 verbose stack at Socket.emit (events.js:198:13) 10 verbose stack at Pipe._handle.close (net.js:606:12) 11 verbose cwd /home/administrator/.node-red 12 verbose Linux 4.9.0-9-amd64 13 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "https://github.com/NorthernMan54/node-red-contrib-homebri dge-automation" 14 verbose node v10.16.0 15 verbose npm v6.9.0 16 error code 128 17 error Command failed: git clone --mirror -q https://github.com/NorthernMan54/node-red-contrib-homebridge-automation.g it /root/.npm/_cacache/tmp/git-clone-ba274e94/.git 17 error fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-ba274e94/.git' 18 verbose exit [ 1, true ] — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/node-red-contrib-homebridge-automation/issues/17?email_source=notifications&email_token=AEXEFGEN2KFAVGDKKZMBQPTQBQVRHA5CNFSM4IHJBYA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HB277TQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXEFGDGCQ2J4X7BOTWAJJLQBQVRHANCNFSM4IHJBYAQ.
@NorthernMan54 thanks, it works.
Is there a limitation to what this node detects/can read from homebridge ? I am using homebridge-mqtt, I don't see it the devices I added. (I don't need this to work, but was testing).
It should show everything, the only limitation would be the new TV accessories.
On Jul 27, 2019, at 9:00 AM, bakman2 notifications@github.com wrote:
@NorthernMan54 https://github.com/NorthernMan54 thanks, it works.
Is there a limitation to what this node detects/can read from homebridge ? I am using homebridge-mqtt, I don't see it the devices I added. (I don't need this to work, but was testing).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/node-red-contrib-homebridge-automation/issues/17?email_source=notifications&email_token=AEXEFGGOZPLD4B6YH3WTGMDQBRBGTA5CNFSM4IHJBYA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26LAZA#issuecomment-515682404, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXEFGACNDYW4VKTJHNO2VTQBRBGTANCNFSM4IHJBYAQ.
Got it. Forgot the insecure mode, restarted homebridge and node-red. Now everything shows up. Nice, I will play around, thanks.
Awesome
On Jul 27, 2019, at 1:06 PM, bakman2 notifications@github.com wrote:
Got it. Forgot the insecure mode, restarted homebridge and node-red. Now everything shows up. Nice, I will play around, thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
$ uname -a Linux homeautomation 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16) x86_64 GNU/Linux
With and without root both state:
Edit
npm install -g hap-nodered
works.