homebridge-config-ui-x4.4.2 • Public • Published
Supported Languages: 🇬🇧 🇩🇪 🇫🇷 🇵🇱 🇨🇿 🇷🇺 🇨🇳 🇭🇺 🇯🇵 🇪🇸 🇳🇱 🇹🇷 🇮🇹
Homebridge Config UI X
This plugin allows you to monitor, backup and configure your Homebridge server from a browser.
sudo npm install -g --unsafe-perm homebridge-config-ui-x
Once you have installed and configured the plugin you can access the interface via http://localhost:8080.
The default username is
admin and the default password is
Add this to your homebridge
log- See below for details.
sudo- See below for details.
restart- The command to run when a restart request is sent from the browser. If not populated it will just terminate the Homebridge process and let your process manager (like systemd) restart it.
temp- The path to the file that can display your current CPU temperature in WEB UI. eg.
theme- See wiki for details
ssl- See below for details
All config options are listed here.
The plugin allows you to view and control some types of Homebridge accessories from your web browser.
To enable accessory control you must be running Homebridge in insecure mode:
Insecure mode, as it's name suggests, is not secure. Anyone with network access to your Homebridge server port and pin will be able to control your accessories. Unless exposing the Homebridge port to the internet, this will generally not be a problem as access will be limited to people already on your local network. Remote access via a home hub (Apple TV, iPad, HomePod etc.) will still be secure. Enable at your own risk.
Not all accessory types are supported. See this issue for a full list of supported accessory types.
Log Viewer Configuration
Homebridge Config UI X allows you to view the homebridge process logs in the browser. These logs can be loaded from a file or from a command.
Logs From File
Example loading logs from a file, change
/var/log/homebridge.log to the actual location of your log file:
Make sure the user which is running the Homebridge process has the correct permissions to read the log file. You may need to enable the sudo option to avoid permission errors if you are not running Homebridge as root.
Logs From Systemd
If you're using
systemd to manage the Homebridge process then you can just set the
You may need to enable the sudo option to avoid permission errors if you are not running Homebridge as root.
Logs From Custom Command
log option can alternatively specify a command to spawn that will stream the logs to the client. This command should stream the logs to
Many operations performed by Homebridge Config UI X, such as installing plugins, upgrading Homebridge and viewing the logs can require root permissions. You can run the Homebridge service as root or you can enable the
sudo option in the config.
sudo mode is enabled Homebridge Config UI X will use
sudo when executing installing, removing or upgrading plugins, viewing the logs using the Logs From File or Logs From Systemd method, and when upgrading Homebridge. It will not be used for Logs From Custom Command or custom restart commands.
Password-less sudo required
sudo mode to work password-less sudo is required. You can enable password-less sudo by adding this entry to the bottom of your
/etc/sudoers file (use
visudo to edit the file!):
homebridge ALL=(ALL) NOPASSWD: ALL
homebridge with the actual user you are running Homebridge as.
You can run this plugin over an encrypted HTTPS connection by configuring the
Or if using a PKCS#12 certificate you can setup SSL like this:
This shows you that the services are running. It also has your HomeKit pin.
This shows you the rolling log. This is helpful for troubleshooting.
This shows you the currently installed plugins and allows you to install, remove and upgrade plugins.
When installing, removing or upgrading plugins the output is show in the browser to help troubleshoot any issues.
And finally the configuration screen allows you to modify your Homebridge settings and your platforms and accessories.
The following browsers are supported by this plugin:
- Safari >= 10
- Chrome >= 55 (including Opera)
- FireFox >= 58
- MS Edge >= 13 on the desktop
- iOS >=10 and Chrome on mobile
MS Internet Explorer (any version) is not supported!
Supported Node.js Versions
The following versions of Node.js are supported:
Due to #279 Node.js 12 is not currently supported on any platform.
- Linux >= v8.15.1
- Windows >= v10.15.3
Please see CONTRIBUTING.md.
1. Errors during installation
Make sure you installed the package with
sudo and used the
--unsafe-perm flag. Most installation errors can be fixed by removing the plugin and reinstalling:
# cleanupsudo npm uninstall -g homebridge-config-ui-x# reinstallsudo npm install -g --unsafe-perm homebridge-config-ui-x
2. Accessories tab missing
If the Accessories tab is not show then you are not running Homebridge in insecure mode. See the Enabling Accessory Control wiki for details. If you have just enabled insecure mode make sure you have restarted Homebridge and refreshed the page in your browser.