The purpose of this plugin is to change your homebridge configuration via the webbrowser. Therefore the JSON-things will be handled by the plugin and you - as a user - can easily add your devices to the bridge.
- Change the broadcasted name of your Homebridge
- Change the MAC-address used to identify your Homebridge
- Change the PIN to verify your Homebridge
- Add or Remove platforms
- Add or Remove accessories
- Change the names of your services
[sudo] npm install homebridge-server@latest -g
Add the following platform to your Homebridge config.json
:
{
"platform": "Server",
"port": 8765,
"name": "Homebridge Server"
}
Depending on your configuration you need to adapt the call! The basic structure is:
homebridge -D -U <HOMEBRIDGE_CONFIG_FOLDER>
so using the above example:
homebridge -D -U ~/.homebridge
After this command, you should be able to access the server on your local machine under http://localhost:8765
.
Clone this repository (to e.g.: ~/Developer/homebridge-server
)
git clone https://github.com/gismo141/homebridge-server ~/Developer/homebridge-server
Add the following platform to your Homebridge config.json
:
{
"platform": "Server",
"port": 8765,
"name": "Homebridge Server for browser-based Configuration"
}
Depending on your configuration you need to adapt the call! The basic structure is:
homebridge -D -U <HOMEBRIDGE_CONFIG_FOLDER> -P <LOCATION_OF_CLONED_SERVER>
so using the above example:
homebridge -D -U ~/.homebridge -P ~/Developer/homebridge-server
After this command, you should be able to access the server on your local machine under http://localhost:8765
.
- Fork this project to your account.
- Create a new branch for the improvements, you intend to make.
- Make the changements in your fork.
- Send a pull-request from your fork’s branch to my
master
branch.
You can always use the web-interface to make the changes you want. It helps you automizing the workflow from above.