Open whonilay opened 2 years ago
This is a duplicate of #37, but let's get some more info before I merge the two issues.
Full disclosure, I have never used HOOBS and I don't know how it works. I finally set up a manual install tonight. We're going to have to go back and forth a bit so I can figure out how you can set up this plugin. Please bear with me 😄
ls -l /var/lib/hoobs/logicirclecontrolsbridge
. Then paste the output here?I am using a box where most of the plug ins have easier login option but first time trying the script. So not sure doing right but after pasting the command line on terminal I get below, ls: /var/lib/hoobs/logicirclecontrolsbridge: No such file or directory
Ah, the Box is probably different. Can you try ls -l ~/.hoobs/etc
instead?
Same error "No such file or directory"
Alrighty, I have no idea where the Box keeps its config files then 🙃 Try this:
find / -name 'homebridge-logi-circle-controls' 2> /dev/null
Here's what the output of that looks like on my HOOBS test environment, yours will be different:
/usr/local/share/.cache/yarn/v6/npm-homebridge-logi-circle-controls-3.0.1-520a1b8a6d96a38bee889fdcffdf5c5fef48f09e-integrity/node_modules/homebridge-logi-circle-controls
/usr/local/share/.cache/yarn/v6/npm-homebridge-logi-circle-controls-3.0.1-520a1b8a6d96a38bee889fdcffdf5c5fef48f09e-integrity/node_modules/homebridge-logi-circle-controls/.bin/homebridge-logi-circle-controls
/var/lib/hoobs/logicirclecontrolsbridge/node_modules/.bin/homebridge-logi-circle-controls
/var/lib/hoobs/logicirclecontrolsbridge/node_modules/homebridge-logi-circle-controls
The ones we're interested in are the ones are the ones not related to yarn
, .cache
, or other stuff like that. You'll want to cd
into the directory that contains node_modules
, so following my output above that's
cd /var/lib/hoobs/logicirclecontrolsbridge
Again, yours will be different, but you get the idea.
Once you've done that, run:
touch permissionTest
You'll either get a failure like "Permission denied", or no output.
If you get no output, run:
npx homebridge-logi-circle-controls login -d .
Otherwise if touch
failed, run:
sudo npx homebridge-logi-circle-controls login -d .
At that point, follow the instructions like usual[^1] and it should hopefully work.
Side note: the other night when I was testing out HOOBS, my Logi Circle suddenly stopped working. It's stuck in a reboot loop and I can't get it to connect to the Logitech app anymore, even after factory resetting it.
Therefore, my ability to help at this point is severely limited, and it's quite possible that I will no longer be able to work on this plugin since I have no cameras to test with 😞
[^1]: I found the other night that newer versions of Safari don't work for the login process anymore. Use Firefox or a Chromium-based browser instead. Refer to the wiki page for help getting through the login process.
I am trying to log in to my logitech account after install in Hoobs with "$ homebridge-logi-circle-controls login" but it does not recognize the command and keep getting command not found error. Tried leaving the $ but still same error.