question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conflict with homebridge-config-ui-x

See original GitHub issue

It seems that the config-example.json is missing entries in the “devices” section. With the default example the plugin complains that theres no device called “lounge”. I added a simple section like

{
   "deviceID": "lounge"
}

but I am getting this error when booting up after that:

(node:27838) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'split' of undefined
(node:27838) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Am I missing something else in that devices entry?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19

github_iconTop GitHub Comments

3reactions
ephetersoncommented, Apr 4, 2018

The instructions are kind of misleading, especially with references to “lounge” which is the author’s Apple TV.

You’re supposed to start out with nothing in the devices[] section, and as such, any references to specific devices will throw warnings/errors.

You should see a toggle in the Home App for your Apple TV. Turning that on should put a code on the Apple TV. The Homebridge CLI will then ask you to type the code and hit enter. The CLI will then give you auth credentials to paste into the devices[] section. You can optionally name your device “lounge” to correspond with the examples in config-sample.json.

Hope this helps!

1reaction
DJay-Xcommented, Apr 4, 2018

Got it… Just stop the Homebridge on Pi

  • sudo systemctl stop homebridge
  • then just run homebridge
  • Press the pair button in Home App
  • In the Terminal there you now can enter the code.
  • After this ctrl+c
  • Edit the config.json with the snipped
  • restart homebridge sudo systemctl start homebridge

thanks @epheterson for pointing to the right direction. 👍🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Homebridge Config UI X not working on po - Reddit
I am able to get other plugins working just fine, but when I enable the Config UI plugin, I get the following error....
Read more >
homebridge-config-ui-x - npm
A web based management, configuration and control platform for Homebridge. Latest version: 4.50.2, last published: a month ago.
Read more >
Learn how to configure HomeBridge in few minutes! - YouTube
Learn using homebridge - config - ui - x plugin. Web interface to install and config plugins, view logs and reboot service.1.
Read more >
oznu/homebridge - Docker Image
This image comes with the Homebridge UI pre-installed and is the easiest way to manage all aspects of Homebridge. To manage Homebridge go...
Read more >
SR - Eloy Festas
Si lo cargo sobre el dominio, homebridge-config-ui-x todavía se carga, pero no puede acceder a HomeBridge: Podría tener un problema similar. ; Bridge ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found