Print the setup code just before publishing the bridge

This commit is contained in:
Devran Ünal
2015-09-17 17:36:29 +02:00
parent 2135e7eccb
commit a05a4b6f71

3
app.js
View File

@@ -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);