Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support /var/lib/homebridge/config.json path in setup #173

Open
bschlenk opened this issue Jun 1, 2020 · 3 comments
Open

Support /var/lib/homebridge/config.json path in setup #173

bschlenk opened this issue Jun 1, 2020 · 3 comments

Comments

@bschlenk
Copy link
Owner

bschlenk commented Jun 1, 2020

The latest homebridge installation guide uses this new path. The homebridge-roku-config script should support it if it exists.

@MikesTooLz
Copy link

homebridge-roku-config didnt work for me either on Doccker install of Hoobs.

with dooker install of hoobs the location is /hoobs/config.json

@RichardSaouma
Copy link

Recent homebridge install--completely plain vanilla, I have the same issue wherein the config is in var/lib/homebridge

Thank you!

@RichardSaouma
Copy link

RESOLVED/SOLUTION(!):
Super easy fix for this,
(1) From: "/usr/lib/node_modules/homebridge-roku/src" run: "sudo nano setup.js "
(2) Change line 9 to read: "const HOMEBRIDGE_CONFIG = path.join('/var/lib/homebridge', 'config.json');"
(3) Reboot

Pro-tip: if you have more than one Roku device, add the first one via --merge, and then find the others manually (same command, minus the "--merge"), CHANGE THE NAME but not the accessory; e.g.:
"name": "Kitchen TV",
"accessory": "Roku",
And then paste the rest from the manual print-out into the config file (I like to do it directly from the homebridge config panel).

ENJOY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants