mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-07 22:04:36 +01: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() {
|
function publish() {
|
||||||
|
printPin(bridgeConfig.pin);
|
||||||
bridge.publish({
|
bridge.publish({
|
||||||
username: bridgeConfig.username || "CC:22:3D:E3:CE:30",
|
username: bridgeConfig.username || "CC:22:3D:E3:CE:30",
|
||||||
port: bridgeConfig.port || 51826,
|
port: bridgeConfig.port || 51826,
|
||||||
@@ -220,5 +221,3 @@ function publish() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
startup();
|
startup();
|
||||||
|
|
||||||
printPin(bridgeConfig.pin);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user