a_n_d_y Posted November 5, 2018 Share Posted November 5, 2018 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. 1 Quote Link to comment
boysim Posted November 6, 2018 Share Posted November 6, 2018 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? Quote Link to comment
a_n_d_y Posted November 6, 2018 Share Posted November 6, 2018 I'm not 100% sure since I have not had to debug anything. In the UI if you click on the docker icon (top right) > Settings, there are some options to Debug and run in Insecure. Looks like DEBUG=Alexa* is just filter? Might be something you could ask OZNU about. Quote Link to comment
hernandito Posted November 10, 2018 Share Posted November 10, 2018 (edited) 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. Edited November 10, 2018 by hernandito Quote Link to comment
a_n_d_y Posted November 10, 2018 Share Posted November 10, 2018 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. 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. Quote Link to comment
bdee1 Posted November 11, 2018 Share Posted November 11, 2018 (edited) 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. Edited November 11, 2018 by bdee1 Quote Link to comment
a_n_d_y Posted November 11, 2018 Share Posted November 11, 2018 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. 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. Quote Link to comment
bdee1 Posted November 11, 2018 Share Posted November 11, 2018 hmm - that makes sense, but I change the port to 8080 in the docker config in unraid and tried again and I still was unable to load the Web UI. Quote Link to comment
hernandito Posted November 12, 2018 Share Posted November 12, 2018 Bummer nothing works. changed Json file to port 3354, and tried both bridge and host mode and no luck. Thanks. Quote Link to comment
a_n_d_y Posted November 12, 2018 Share Posted November 12, 2018 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. Quote Link to comment
bdee1 Posted November 15, 2018 Share Posted November 15, 2018 yea thats a real bummer - it would be really great to have an unraid friendly, "plug and play" container that we could use. I used to use homebridge with the smartthings plugin on my my mac mini, but I woudl love to have this running on unraid. Quote Link to comment
jus7incase Posted November 15, 2018 Share Posted November 15, 2018 +1 from my side Quote Link to comment
a_n_d_y Posted November 16, 2018 Share Posted November 16, 2018 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. Quote Link to comment
Siwat2545 Posted November 16, 2018 Share Posted November 16, 2018 I just created the homebridge docker, you can download it using community application now. Quote Link to comment
bdee1 Posted November 16, 2018 Share Posted November 16, 2018 13 hours ago, Siwat2545 said: I just created the homebridge docker, you can download it using community application now. thanks!! I just installed it but I don't the the WebUI option. Is there an additional Step I need in order to enable the webUI? Quote Link to comment
Siwat2545 Posted November 17, 2018 Share Posted November 17, 2018 (edited) There is no web ui in the no ui container if you want to use the ui please use the HomeBridge with webui container, the homekit code is in the container log or you could install this https://www.npmjs.com/package/homebridge-config-ui-x manually and access it on port 8080 Edited November 17, 2018 by Siwat2545 Quote Link to comment
Siwat2545 Posted November 17, 2018 Share Posted November 17, 2018 (edited) Search for HomeBridge With Gui for version with guix Edited November 17, 2018 by Siwat2545 Quote Link to comment
bdee1 Posted November 18, 2018 Share Posted November 18, 2018 21 hours ago, Siwat2545 said: Search for HomeBridge With Gui for version with guix thanks for posting this. I just installed and when I go to WebUI it opens serverip:8124 and says This site can’t be reached Quote Link to comment
Siwat2545 Posted November 18, 2018 Share Posted November 18, 2018 Are your plugins configured correctly? Can you send me your logs Quote Link to comment
bdee1 Posted November 18, 2018 Share Posted November 18, 2018 i dont have any plugins yet. all i did was install the container in unraid and launch the web gui. Quote Link to comment
bdee1 Posted November 18, 2018 Share Posted November 18, 2018 wait - i found the problem - I still had my \appdata\homebridge folder with data from a previous install. Once I cleared that folder and then reinstalled your docker it started working. Thanks!! Quote Link to comment
Siwat2545 Posted November 19, 2018 Share Posted November 19, 2018 8 hours ago, bdee1 said: wait - i found the problem - I still had my \appdata\homebridge folder with data from a previous install. Once I cleared that folder and then reinstalled your docker it started working. Thanks!! Glad to hear it working (: Quote Link to comment
bdee1 Posted November 20, 2018 Share Posted November 20, 2018 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" } ] } Quote Link to comment
Siwat2545 Posted November 20, 2018 Share Posted November 20, 2018 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 Quote Link to comment
bdee1 Posted November 20, 2018 Share Posted November 20, 2018 good point - I will give that a shot. Thanks for all your help! Quote Link to comment
Recommended Posts
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.