mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Print the setup code just before publishing the bridge
This commit is contained in:
3
app.js
3
app.js
@@ -211,6 +211,7 @@ function createLog(name) {
|
||||
}
|
||||
|
||||
function publish() {
|
||||
printPin(bridgeConfig.pin);
|
||||
bridge.publish({
|
||||
username: bridgeConfig.username || "CC:22:3D:E3:CE:30",
|
||||
port: bridgeConfig.port || 51826,
|
||||
@@ -220,5 +221,3 @@ function publish() {
|
||||
}
|
||||
|
||||
startup();
|
||||
|
||||
printPin(bridgeConfig.pin);
|
||||
|
||||
Reference in New Issue
Block a user