Request: Homebridge


Recommended Posts

I am getting the follow message in the log file when starting. The file is in .homebridge. Why is the file not being found? 

 

/root/install_plugins.sh: line 7: /root/.homebridge/pluginsInstallList: No such file or directory
mv: cannot stat ‘/root/.homebridge/pluginsInstallList’: No such file or directory

Link to comment

1. You have to login into your UNRAID system over SSH.

2. Now execute 

docker ps

3. Search the line for your Homebridge instance

CONTAINER ID     IMAGE                   COMMAND           CREATED        STATUS        PORTS         NAMES

111111111111     name/homebridge-docker  "/root/run.sh"    11 weeks ago   Up 3 weeks                  homebridge

Look after the name, normally its just "homebridge"

4. Now you know the name, you can skip these pars the next time. Now you can execute:

docker exec -i -t YOUR-NAME /bin/bash

in my example:

docker exec -i -t homebridge /bin/bash

Now your are in you Docker Container. You can now execute the install commands from your guide. 

 

 

That only works if your docker container is running! If you have some trouble to start your container, just save the config.json file and clear it. Now you can start, after your installation paste your saved config in the file again...

 

Hope could help :)

Edited by hans-peter123
  • Like 2
Link to comment
  • 4 weeks later...
  • 2 weeks later...
On 28/08/2017 at 11:40 PM, Bizmo said:

Any fix for home bridge not showing in IOS?

 

I've followed instructions from this page and smarthings but not getting anything showing in IOS? 

 

Have tried to delete persist and change the mac address but nothing?

 

 

EDIT:

 

Fixed by changing docker to adair21

 

Thanks! This docker worked great. 

Link to comment
  • 2 weeks later...
4 hours ago, RParkerMU said:

CyberMew, I'm getting an Avahi error with the container from adair21. Did you have to do anything special to get this working?

I think this is a conflict between this and another docker, in my case net data. I never got round to sorting it out properly.

I wish there was a properly supported docker for this.

Edited by Bizmo
Link to comment
  • 1 month later...

i tried to understand from all this post if its still possible to install homebridge docker here, and to be up-to-date when the official homebridge also release new versions, and i didnt really understand :(

 

someone can light my eyes, please?

 

 

also, i install anyway from "adair21" docker, i succeed to pair it and i see it on the appple homekit app, but - i dont really understand how i now adding plugins, or create by myself rules or commands 

Edited by codo1234
Link to comment
On 14/12/2017 at 10:30 AM, RParkerMU said:

CyberMew, I'm getting an Avahi error with the container from adair21. Did you have to do anything special to get this working?

Sorry I thought I had replied but to answer your question no I didn't have any errors. I think I had, but I just deleted the files and tried again a few times and then it worked. 

Link to comment
  • 2 months later...
  • 2 weeks later...
On 4/5/2018 at 1:43 PM, guyturner797 said:

Most of the newer plugins need a more recent version of NodeJS. It would be nice if the version with the docker was updated? :)

 

have you tried connecting inside of the docker and pulling an update?  I haven't been had a need to try yet but it may work.  

Link to comment
12 hours ago, jrdnlc said:

I switched to @starbix Homebridge docker and been working great so far. No issues here

 

https://hub.docker.com/r/starbix/homebridge/

I can't even add this link to unraid to pull the file this is such a headache i've been using a VM running mac OSX but i would love to get this working, i can see the persist file but no config file this is doing my nut in can someone please tell me how as I've looked though the threads and added the other ones but couldn't see how to get that config file added in that advance bit can anyone help please

Link to comment
3 minutes ago, Dazza1 said:

I can't even add this link to unraid to pull the file this is such a headache i've been using a VM running mac OSX but i would love to get this working, i can see the persist file but no config file this is doing my nut in can someone please tell me how as I've looked though the threads and added the other ones but couldn't see how to get that config file added in that advance bit can anyone help please

Search for it in the apps tab. It wont show up so enable “search on dockerhub”

  • Like 1
Link to comment
10 minutes ago, jrdnlc said:

Search for it in the apps tab. It wont show up so enable “search on dockerhub”

Thanks i'm pulling it now, but still can't see how to add the config file is really a pain but i've got no other option especially when Apple kills hacking tosh :( i appreciate your help thank you

Link to comment

Right i've added it via Krusader, But don't know how to add my plugins because as far as the home bridge is concerned it doesn't exist here is what i get from the log

 

[2018-4-15 18:59:43] Loaded plugin: homebridge-hyperion
[2018-4-15 18:59:43] Registering accessory 'homebridge-hyperion.Hyperion'
[2018-4-15 18:59:43] ---
[2018-4-15 18:59:43] Loaded config.json with 0 accessories and 3 platforms.
[2018-4-15 18:59:43] ---
[2018-4-15 18:59:43] Loading 3 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^

Error: The requested platform 'Nest' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)

Link to comment

Right i've gone back to having nothing in the json file other than the home bridge and set the template to host. it manages to go to a blank WebUI with nothing. The container is running regardless of me having all my plugin config in json just can't work out how to add plugins or how to get the WebUI working. This is the back to basics log


Stopping system message bus: dbus.
Starting system message bus: dbus.
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[2018-4-15 20:38:26] Loaded plugin: homebridge-hyperion
[2018-4-15 20:38:26] Registering accessory 'homebridge-hyperion.Hyperion'
[2018-4-15 20:38:26] ---
[2018-4-15 20:38:26] Loaded config.json with 0 accessories and 0 platforms.
[2018-4-15 20:38:26] ---
Setup Payload:
X-HM://0023ISYWYBM9C
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m
[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m
[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[47m [0m
[47m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[40m [0m[47m [0m[40m [0m[40m [0m[47m [0m[47m [0m[47m [0m[40m [0m[40m [0m[40m [0m[47m [0m
[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m[47m [0m
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐
│ 031-45-154 │
└────────────┘

[2018-4-15 20:38:26] Homebridge is running on port 51826. 

Link to comment

Problem is sorted. But if someone could tell me how to delete the persist folder as i changed the name and now can't delete it i just want to clean up the install really but all is working :) i'm just putting a few things here so other people can use.

 

Check for outdated plugins

npm -g outdated

 

Updating plugins

Periodically, plugins or homebridge may be updated. To see if there are any updates you can run the following command to see what is available

 

Updating NPM

npm i –g npm

 

To update a particular plugin or homebridge itself, run:

 

npm -g update homebridge (name of Plugin)

 

To force an update, you can re-install it to force the latest version:

npm -g install homebridge (name of Plugin)

 

npm install -g homebridge

 

 

npm install -g homebridge-nest

 

npm install -g homebridge-platform-wemo

 

 

UNINSTALL PLUGINS

 

npm uninstall -g homebridge( Name of Plugin)

Ie like Below!

 

npm uninstall -g homebridge-hyperion

Edited by Dazza1
Problem sorted
  • Like 1
Link to comment
On 16/04/2018 at 4:48 PM, Dazza1 said:

 

Hi thanks if you can just tell me how to delete the persist folder i would be very greatful

Sorted deleted the persist folder as it was retaining somethings that i didn't want to now the install is clean. I do fine this a little fragile compaired to it running in terminal on the OSX VM but then again its saved me 10% of Ram so not at bad trade off just got to be careful what plugins you install. Any way to help others that may be in the same boat as i was code for terminal is below, LS shows you whats in the folder, rm -fr Is the command to delete a folder just put its name once you are in the same directory

 

image.png.d39915da99930739f837319284a6c213.png

 

root@Zeus:~# cd "/mnt/user/appdata/homebridge/"

root@Zeus:/mnt/user/appdata/homebridge# ls

accessories/  config.json  persist/

root@Zeus:/mnt/user/appdata/homebridge# rm -fr persist

root@Zeus:/mnt/user/appdata/homebridge# ls

accessories/  config.json

root@Zeus:/mnt/user/appdata/homebridge#

Edited by Dazza1
Link to comment
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.