Request: Homebridge


Recommended Posts

I can't directly help you with your question above.

 

However, if you want to make using and managing Homebridge painless, including installing plugins, you should consider using the OZNU Homebridge docker.

 

It has Homebridge Config UI X included:

https://www.npmjs.com/package/homebridge-config-ui-x

 

Community Apps > Search for "homebridge" > click "Click Here To Get More Results from DockerHub"

 

Install oznu/homebridge

 

Changes to Make:

Repository: oznu/homebridge:latest

 

Variables:

/homebridge = homebridge appdata folder, ex. /mnt/cache/appdata/homebridge

 

Enable UI:

Add these variables

HOMEBRIDGE_CONFIG_UI, set to 1 to enable

HOMEBRIDGE_CONFIG_UI_PORT, set to 8080 or whatever port you want

 

Then you can access the UI at the configured port above.

  • Upvote 1
Link to comment
20 hours ago, a_n_d_y said:

I can't directly help you with your question above.

 

However, if you want to make using and managing Homebridge painless, including installing plugins, you should consider using the OZNU Homebridge docker.

 

It has Homebridge Config UI X included:

https://www.npmjs.com/package/homebridge-config-ui-x

 

Community Apps > Search for "homebridge" > click "Click Here To Get More Results from DockerHub"

 

Install oznu/homebridge

 

Changes to Make:

Repository: oznu/homebridge:latest

 

Variables:

/homebridge = homebridge appdata folder, ex. /mnt/cache/appdata/homebridge

 

Enable UI:

Add these variables

HOMEBRIDGE_CONFIG_UI, set to 1 to enable

HOMEBRIDGE_CONFIG_UI_PORT, set to 8080 or whatever port you want

 

Then you can access the UI at the configured port above.

Thanks! All went good!

Except I would like to debug a plugin.

Normally I should use "DEBUH=Alexa* homebridge -I" to start and view the logs.

But If I run this in the Console from the docker it can't start cause the config.json in different there...

Any pointer where I should look?

Link to comment
On 11/5/2018 at 8:10 AM, a_n_d_y said:

I can't directly help you with your question above.

 

However, if you want to make using and managing Homebridge painless, including installing plugins, you should consider using the OZNU Homebridge docker.

 

It has Homebridge Config UI X included:

https://www.npmjs.com/package/homebridge-config-ui-x

 

Community Apps > Search for "homebridge" > click "Click Here To Get More Results from DockerHub"

 

Install oznu/homebridge

 

Changes to Make:

Repository: oznu/homebridge:latest

 

Variables:

/homebridge = homebridge appdata folder, ex. /mnt/cache/appdata/homebridge

 

Enable UI:

Add these variables

HOMEBRIDGE_CONFIG_UI, set to 1 to enable

HOMEBRIDGE_CONFIG_UI_PORT, set to 8080 or whatever port you want

 

Then you can access the UI at the configured port above.

Trying to get this to work. I followed the instructions.

 

in console i get the I’d code. But i cannot get to the UI set to 3354.

 

Any advice?

 

thanks

 

h.

 

 

C39BA21E-9ED4-469F-8FDB-BFD7D963975F.jpeg

Edited by hernandito
Link to comment
29 minutes ago, hernandito said:

Trying to get this to work. I followed the instructions.

 

in console i get the I’d code. But i cannot get to the UI set to 3354.

 

Any advice?

 

thanks

 

h.

 

 

C39BA21E-9ED4-469F-8FDB-BFD7D963975F.jpeg

I happen to be using Network Type as Host instead of Bridge.

 

You can either change it to Host or you'll have to pass the appropriate ports to the docker container (Homebridge service, GUI, possibly other stuff...)

 

I believe that should do it.

 

 

Link to comment

I just tried following the directions and I cant get the Web UI option in unraid.  My config is attached - can anyone spot anything wrong?  I have tried setting network to both Bridge and Host and neither option seemed to work.  If I go to http://serverip/3354 it doesnt load anything.

StorageTower UpdateContainer.png

Edited by bdee1
Link to comment
32 minutes ago, bdee1 said:

I just tried following the directions and I cant get the Web UI option in unraid.  My config is attached - can anyone spot anything wrong?  I have tried setting network to both Bridge and Host and neither option seemed to work.  If I go to http://serverip/3354 it doesnt load anything.

StorageTower UpdateContainer.png

 

OK I think I figured it out.

 

Config UI X installs as a Homebridge plugin. It defaults to port 8080.

 

You should update config.json manually for the port of the UI and then it should work.

Link to comment

That stinks. Working over here fine. Might try removing the docker and image and then reinstalling with all the setting as is.

 

Since the Config UI is just a plugin, if you have a running another Homebridge docker, could try just re-installing that plugin manually inside the docker container.

 

Would be nice if someone was able to just port over OZNU's docker to be more Unraid compatible.

Link to comment

If the docker is running, but the gui is not accessible, give this a try.

 

Edit the container, change to Advance View and in the Extra Parameters, enter this:

-e HOMEBRIDGE_CONFIG_UI=1

 

I don't think you actually need the variables HOMEBRIDGE_VERSION, CONFIG_UI_VERSION, HOMEBRIDGE_CONFIG_UI, HOMEBRIDGE_CONFIG_UI_PORT if you do the above.  They don't seem to do anything after the initial installation.

 

 

Screen Shot 2018-11-15 at 6.31.17 PM (2).png

Link to comment

so I am not quite there yet.  I was able to get homebridge working, and I reset my home in the home app on my ios device.  Then I added Homebridge using the QR code in the homebridge UI.

 

But I cant get any of my devices to show up.

 

I have the smartthings JSON Complete API smartapp installed in my smartthings, and I have added all of my accessories to it.  I copied the config file content from the smart app and updated my config file in homebridge but I am not seeign any accessories in the home app.

 

my config file is below:

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },
    "description": "This is an example configuration file with gui. You can use this as a template for creating your own configuration file containing devices you actually own.",
    "accessories": [],
    "platforms": [
        {
            "platform": "SmartThings",
            "name": "SmartThings",
            "app_url": "https://graph.api.smartthings.com:443/api/smartapps/installations/",
            "app_id": "my-app-id",
            "access_token": "my-access-token"
        }
    ]
}

 

Link to comment
2 hours ago, bdee1 said:

so I am not quite there yet.  I was able to get homebridge working, and I reset my home in the home app on my ios device.  Then I added Homebridge using the QR code in the homebridge UI.

 

But I cant get any of my devices to show up.

 

I have the smartthings JSON Complete API smartapp installed in my smartthings, and I have added all of my accessories to it.  I copied the config file content from the smart app and updated my config file in homebridge but I am not seeign any accessories in the home app.

 

my config file is below:


{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },
    "description": "This is an example configuration file with gui. You can use this as a template for creating your own configuration file containing devices you actually own.",
    "accessories": [],
    "platforms": [
        {
            "platform": "SmartThings",
            "name": "SmartThings",
            "app_url": "https://graph.api.smartthings.com:443/api/smartapps/installations/",
            "app_id": "my-app-id",
            "access_token": "my-access-token"
        }
    ]
}

 

Unfortunately this is not the fault of the container but instead it's with the plugin, I suggest you go to the homebridge subredit 

Link to comment

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.