homebridge-smartsystem 7.1.3 → 7.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/server/smartapp.js +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-smartsystem",
|
|
3
3
|
"displayname": "Duotecno Bridge",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.4",
|
|
5
5
|
"description": "SmartServer (Proxy TCP sockets to the cloud, Smappee MQTT, Duotecno IP Nodes, Homekit interface)",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": "Johan Coppieters",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "https://github.com/
|
|
37
|
+
"url": "https://github.com/Duotecno-developer/smartsocket.git"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"bonjour-service": "^1.3.0",
|
package/server/smartapp.js
CHANGED
|
@@ -760,6 +760,7 @@ class SmartApp extends webapp_1.WebApp {
|
|
|
760
760
|
//////////////////////
|
|
761
761
|
sendDeviceList(ws) {
|
|
762
762
|
const devices = this.getDeviceList();
|
|
763
|
+
console.log("Sending device list to WebSocket client: " + JSON.stringify(devices));
|
|
763
764
|
if (ws.readyState === WebSocket.OPEN) {
|
|
764
765
|
(0, logger_1.debug)("smartapp", devices);
|
|
765
766
|
ws.send(JSON.stringify(devices));
|