homebridge-smartsystem 7.1.1 → 7.1.2
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/README.md +1 -0
- package/package.json +1 -1
- package/server/proxy.js +3 -2
package/README.md
CHANGED
|
@@ -325,6 +325,7 @@ Homebridge UI version
|
|
|
325
325
|
### v.7.1.x - jan 2026
|
|
326
326
|
- 0: master + config ports in the proxy
|
|
327
327
|
- 1: fix for reading the proxy config
|
|
328
|
+
- 2: missing port number in unique id for master port
|
|
328
329
|
|
|
329
330
|
## Hardware
|
|
330
331
|
A Raspberry Pi that connects to a Duotecno IP Node
|
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.2",
|
|
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",
|
package/server/proxy.js
CHANGED
|
@@ -129,8 +129,9 @@ function cleanStart(restart = false) {
|
|
|
129
129
|
let connectionsStarted = 0;
|
|
130
130
|
// Start connection for the master device if uniqueId is configured
|
|
131
131
|
if (config.uniqueId && config.masterAddress) {
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
const masterId = `${config.uniqueId}:${config.masterPort}`;
|
|
133
|
+
log(`[PROXY] Starting proxy for master device: ${masterId}`);
|
|
134
|
+
makeNewCloudConnection(config.masterAddress, config.masterPort, config.cloudServer, config.cloudPort, masterId);
|
|
134
135
|
connectionsStarted++;
|
|
135
136
|
}
|
|
136
137
|
else if (config.uniqueId) {
|