vniehues / homebridge-linak

Apache License 2.0
18 stars 2 forks source link

Desk not moving #7

Closed jmou19 closed 10 months ago

jmou19 commented 1 year ago

I am running macOS and can't get the plugin to work. I have Idasen-controller installed and can run any commands easily from the terminal. But, home bridge doesn't seem to work. I know for idasen-controller, I had to put in the UUID instead of MAC address because I am on macOS. If I am running the home bridge plugin on macOS do I also need to do UUID? Also, I'm not clear on what to put on for my idasen-controller path. Should this be a path to the exe file or the site package?

lemisieur commented 1 year ago

Run which idasen-controller in your terminal to find out the path that you need to use in the plugin. I've also used the UUID in the plugin myself instead of the mac address and it works

vniehues commented 11 months ago

Hi @jmou19 did you run the command that @lemisieur provided?

Basically you need to run that command from the same terminal that homebridge uses. It will print out a path which you need to use in the config. If it does not find idasen-controller, that means its not available to homebridge and you need to fix that first

vniehues commented 10 months ago

Hi @robinmassop!

You need to make sure you run the command which idasen-controller inside homebridge.

The easiest way to do that is to use the homebridge UI, open the built-in terminal in the browser and then enter the command there. It either tells you that there is no idasen-controller installed (then you need to install it in homebridge) or it tells you the path you need to use.

your config looks good, i suspect that homebridge does not have access to the installation of idasen-controller and you need to install it in the homebridge-internal terminal.

please report back if that fixed your issue :)

vniehues commented 10 months ago

TLDR: No :(

I just tried it. I set up an instance of HB on my mac and installed idasen-controller (ic). ic worked well but not within HB. I tried giving node and the hb-service full disk access, tried a symlink to the hb home directory, nothing worked.

I don't think I can really help you.

vniehues commented 10 months ago

@robinmassop I'm going to close this issue with that finding since the problem is not with the plugin itself but with homebridge on mac it seems... If you ever find a solution please come back and tell us about it! I would love to add it to the readme.

WcEeend commented 2 weeks ago

Has anyone ever found a solution for this? I'm having the same issue with Homebridge running on my Mac.