hap-server
Re-exports bridge and standalone mode from HAP-NodeJS for easier consumability by end users.
Installation
npm i hap-server
Bridge example
; ; accessories = Bridgeaccessories;
You can pass a 2nd argument to Bridge
to customize the bridge settings.
Bridgeaccessories, ;
Standalone Example
In standalone mode, every accessory will be published on the network separately and each will get a port assigned, starting with 51826
.
; ;; accessories = Standaloneaccessories;