homebridge-smartsystem 7.1.0 → 7.1.1
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 +3 -0
- package/package.json +2 -4
- package/server/smartapp.js +1 -1
- package/server/views/proxy.ejs +1 -2
package/README.md
CHANGED
|
@@ -322,6 +322,9 @@ Homebridge UI version
|
|
|
322
322
|
- 4: fixed a bug when shelly has empty list of ip addresses
|
|
323
323
|
- 5: better error handling in the proxy.ts + show connection in the /proxy page
|
|
324
324
|
|
|
325
|
+
### v.7.1.x - jan 2026
|
|
326
|
+
- 0: master + config ports in the proxy
|
|
327
|
+
- 1: fix for reading the proxy config
|
|
325
328
|
|
|
326
329
|
## Hardware
|
|
327
330
|
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.1",
|
|
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",
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
"build": "npx tsc --build",
|
|
14
14
|
"unpublish": "npm unpublish --force homebridge-smartsystem@6.8.17",
|
|
15
15
|
"prepublishOnly": "npm run build",
|
|
16
|
-
"publish": "npm publish"
|
|
17
|
-
"version:patch": "npm version patch && npm publish",
|
|
18
|
-
"version:minor": "npm version minor && npm publish"
|
|
16
|
+
"to-publish": "npm publish"
|
|
19
17
|
},
|
|
20
18
|
"engines": {
|
|
21
19
|
"node": "^18.20.4 || ^20.15.1 || ^22",
|
package/server/smartapp.js
CHANGED
|
@@ -322,7 +322,7 @@ class SmartApp extends webapp_1.WebApp {
|
|
|
322
322
|
///////////
|
|
323
323
|
doProxy(context) {
|
|
324
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
-
let config = this.
|
|
325
|
+
let config = this.read("proxy") || proxy_1.kEmptyProxy;
|
|
326
326
|
if (context.action === "save") {
|
|
327
327
|
// save the proxy config
|
|
328
328
|
config.cloudServer = context.getParam({ name: "cloudServer", type: "string" });
|
package/server/views/proxy.ejs
CHANGED
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
Master Device
|
|
43
43
|
</h2>
|
|
44
44
|
<p class="grey-text" style="margin-bottom: 2rem;">
|
|
45
|
-
Configure your local master device with 2 ports
|
|
46
|
-
<small>Access gateway via: http://[cloud server]/connect/[unique id]:gateway</small>
|
|
45
|
+
Configure your local master device with 2 ports.</small>
|
|
47
46
|
</p>
|
|
48
47
|
|
|
49
48
|
<div class="row" style="margin-top: 1rem;">
|