homebridge-loxone-proxy 1.6.2-beta.2 → 1.7.0
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 +8 -5
- package/config.schema.json +163 -139
- package/dist/LoxonePlatform.d.ts.map +1 -1
- package/dist/LoxonePlatform.js +17 -4
- package/dist/LoxonePlatform.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ For the plugin to recognize the items, the item needs to be vissible in the user
|
|
|
42
42
|
# Configuration
|
|
43
43
|
Configuration of the plugin can be done using the Homebridge UI without having to manually edit the Homebridge config.json file.
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
## Required Settings
|
|
46
46
|
At a minimum, the plugin requires these settings to connect to the miniserver.
|
|
47
47
|
|
|
48
48
|
| Parameter | Note |
|
|
@@ -54,20 +54,23 @@ At a minimum, the plugin requires these settings to connect to the miniserver.
|
|
|
54
54
|
|
|
55
55
|
If you create a dedicated user for the plugin, you can filter items by only assigning rights to items you want to expose to HomeBridge.
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
## Filters
|
|
58
58
|
Filters allow you to select what to expose to HomeKit.
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
### Moodswitches
|
|
61
61
|
When enabled, all LightControllerV2 moods are mapped to a homekit switch. All Switches from the same LightController will be grouped together. In homeKit this works as a radio switch, so only one switch (mood) can be active at the same time. Mixing moods is not possible.
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
### Exclusions
|
|
64
64
|
To exclude Itemtypes from being mapped, they can be added to the Exclussions section in the config. Use a comma-seperated list for multiple ItemTypes.
|
|
65
65
|
|
|
66
66
|
<img width="748" alt="filters" src="https://github.com/rudyberends/homebridge-loxone-proxy/assets/75836217/c61daa1b-83aa-467b-a258-8b648a6f575e">
|
|
67
67
|
|
|
68
68
|
The itemtype name can be found in the "mapped items" table.
|
|
69
69
|
|
|
70
|
-
###
|
|
70
|
+
### Room Filter
|
|
71
|
+
The roomfilter List can fuction as a filter for certain rooms. Use a comma-seperated list for multiple Rooms. Depending on the roomfilter Type, this serves as an inclusion, or exclusion list.
|
|
72
|
+
|
|
73
|
+
## Manual mapping
|
|
71
74
|
Some items cannot be mapped automatically and require a naming convention to be recognized. For example, giving all Brightness sensors the convention "MH0'XX'" in Loxone Config
|
|
72
75
|
|
|
73
76
|
<img width="408" alt="mapping2" src="https://github.com/rudyberends/homebridge-loxone-proxy/assets/75836217/4fd61eaf-4080-41aa-bdc0-363b5ca0fcb1">
|
package/config.schema.json
CHANGED
|
@@ -1,154 +1,178 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"pluginAlias": "LoxonePlatform",
|
|
3
|
+
"pluginType": "platform",
|
|
4
|
+
"singular": true,
|
|
5
|
+
"headerDisplay": "Homebridge Proxy which exposes a Loxone System to Homekit",
|
|
6
|
+
"footerDisplay": "For setup information, bug reports and feature requests please visit the [Plugin Homepage](https://github.com/rudyberends/homebridge-loxone-proxy).",
|
|
7
|
+
"schema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"host": {
|
|
11
|
+
"title": "MiniServer IP Address",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"format": "ipv4",
|
|
14
|
+
"required": true
|
|
15
|
+
},
|
|
16
|
+
"port": {
|
|
17
|
+
"title": "MiniServer HTTP Port",
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"default": "80",
|
|
20
|
+
"required": true
|
|
21
|
+
},
|
|
22
|
+
"username": {
|
|
23
|
+
"title": "Username",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": true
|
|
26
|
+
},
|
|
27
|
+
"password": {
|
|
28
|
+
"title": "Password",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
"options": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"title": "Options",
|
|
35
|
+
"properties": {
|
|
36
|
+
"MoodSwitches": {
|
|
12
37
|
"type": "string",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
38
|
+
"default": "enabled",
|
|
39
|
+
"enum": [
|
|
40
|
+
"enabled",
|
|
41
|
+
"disabled"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"Exclusions": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"title": "Excluded ItemTypes"
|
|
49
|
+
},
|
|
50
|
+
"roomfilter": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"title": "Room Filter",
|
|
53
|
+
"properties": {
|
|
54
|
+
"list": {
|
|
24
55
|
"type": "string",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"title": "Password",
|
|
56
|
+
"title": "Room Filter List"
|
|
57
|
+
},
|
|
58
|
+
"type": {
|
|
29
59
|
"type": "string",
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"Humidity": {
|
|
76
|
-
"title" : "Humidity (Will map all items starting with this alias to a HomeKit HumiditySensor)",
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"Temperature": {
|
|
80
|
-
"title" : "Temperature (Will map all items starting with this alias to a HomeKit TemperatureSensor)",
|
|
81
|
-
"type": "string"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
60
|
+
"default": "exclusion",
|
|
61
|
+
"title": "Room Filter Type",
|
|
62
|
+
"enum": [
|
|
63
|
+
"inclusion",
|
|
64
|
+
"exclusion"
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"switchAlias": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"title": "Switch aliases",
|
|
72
|
+
"properties": {
|
|
73
|
+
"Lock": {
|
|
74
|
+
"title": "Lock (Will map all SwitchItems starting with this alias to a HomeKit DoorLock)",
|
|
75
|
+
"type": "string"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"InfoOnlyDigitalAlias": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"title": "InfoOnlyDigital aliases",
|
|
82
|
+
"properties": {
|
|
83
|
+
"Motion": {
|
|
84
|
+
"title": "Motion (Will map all items starting with this alias to a HomeKit MotionSensor)",
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"InfoOnlyAnalogAlias": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"title": "InfoOnlyAnalog aliases",
|
|
92
|
+
"properties": {
|
|
93
|
+
"Brightness": {
|
|
94
|
+
"title": "Brightness (Will map all items starting with this alias to a HomeKit LightSensor)",
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"Humidity": {
|
|
98
|
+
"title": "Humidity (Will map all items starting with this alias to a HomeKit HumiditySensor)",
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"Temperature": {
|
|
102
|
+
"title": "Temperature (Will map all items starting with this alias to a HomeKit TemperatureSensor)",
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
84
105
|
}
|
|
106
|
+
}
|
|
85
107
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
{
|
|
93
|
-
"type": "flex",
|
|
94
|
-
"flex-flow": "row wrap",
|
|
95
|
-
"items": [
|
|
96
|
-
"host",
|
|
97
|
-
"port"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"type": "flex",
|
|
102
|
-
"flex-flow": "row wrap",
|
|
103
|
-
"items": [
|
|
104
|
-
"username",
|
|
105
|
-
{
|
|
106
|
-
"key": "password",
|
|
107
|
-
"type": "password"
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"type": "fieldset",
|
|
115
|
-
"title": "Filters",
|
|
116
|
-
"description": "Select what to expose to HomeKit.",
|
|
117
|
-
"expandable": true,
|
|
118
|
-
"expanded": false,
|
|
119
|
-
"items": [
|
|
120
|
-
"options.MoodSwitches",
|
|
121
|
-
"Exclusions"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"type": "fieldset",
|
|
126
|
-
"expandable": true,
|
|
127
|
-
"title": "SwitchItem Mappings",
|
|
128
|
-
"description": "Map Switch items using an Alias",
|
|
129
|
-
"items": [
|
|
130
|
-
"switchAlias.Lock"
|
|
131
|
-
]
|
|
132
|
-
},
|
|
108
|
+
},
|
|
109
|
+
"layout": [
|
|
110
|
+
{
|
|
111
|
+
"type": "fieldset",
|
|
112
|
+
"title": "Required Settings",
|
|
113
|
+
"items": [
|
|
133
114
|
{
|
|
134
|
-
"type": "
|
|
135
|
-
"
|
|
136
|
-
"title": "InfoOnlyAnalog Mappings",
|
|
137
|
-
"description": "Map InfoOnlyAnalog items using an Alias",
|
|
115
|
+
"type": "flex",
|
|
116
|
+
"flex-flow": "row wrap",
|
|
138
117
|
"items": [
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"InfoOnlyAnalogAlias.Temperature"
|
|
118
|
+
"host",
|
|
119
|
+
"port"
|
|
142
120
|
]
|
|
143
121
|
},
|
|
144
122
|
{
|
|
145
|
-
"type": "
|
|
146
|
-
"
|
|
147
|
-
"title": "InfoOnlyDigital Mappings",
|
|
148
|
-
"description": "Map InfoOnlyDigital items using an Alias",
|
|
123
|
+
"type": "flex",
|
|
124
|
+
"flex-flow": "row wrap",
|
|
149
125
|
"items": [
|
|
150
|
-
|
|
126
|
+
"username",
|
|
127
|
+
{
|
|
128
|
+
"key": "password",
|
|
129
|
+
"type": "password"
|
|
130
|
+
}
|
|
151
131
|
]
|
|
152
132
|
}
|
|
153
133
|
]
|
|
154
|
-
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "fieldset",
|
|
137
|
+
"title": "Filters",
|
|
138
|
+
"description": "Select what to expose to HomeKit.",
|
|
139
|
+
"expandable": true,
|
|
140
|
+
"expanded": false,
|
|
141
|
+
"items": [
|
|
142
|
+
"options.MoodSwitches",
|
|
143
|
+
"Exclusions",
|
|
144
|
+
"roomfilter.type",
|
|
145
|
+
"roomfilter.list"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "fieldset",
|
|
150
|
+
"expandable": true,
|
|
151
|
+
"title": "SwitchItem Mappings",
|
|
152
|
+
"description": "Map Switch items using an Alias",
|
|
153
|
+
"items": [
|
|
154
|
+
"switchAlias.Lock"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "fieldset",
|
|
159
|
+
"expandable": true,
|
|
160
|
+
"title": "InfoOnlyAnalog Mappings",
|
|
161
|
+
"description": "Map InfoOnlyAnalog items using an Alias",
|
|
162
|
+
"items": [
|
|
163
|
+
"InfoOnlyAnalogAlias.Brightness",
|
|
164
|
+
"InfoOnlyAnalogAlias.Humidity",
|
|
165
|
+
"InfoOnlyAnalogAlias.Temperature"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "fieldset",
|
|
170
|
+
"expandable": true,
|
|
171
|
+
"title": "InfoOnlyDigital Mappings",
|
|
172
|
+
"description": "Map InfoOnlyDigital items using an Alias",
|
|
173
|
+
"items": [
|
|
174
|
+
"InfoOnlyDigitalAlias.Motion"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoxonePlatform.d.ts","sourceRoot":"","sources":["../src/LoxonePlatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,qBAAqB,EAAE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5H,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAkB,MAAM,wBAAwB,CAAC;AAOlG,qBAAa,cAAe,YAAW,qBAAqB;aAUxC,GAAG,EAAE,MAAM;aACX,MAAM,EAAE,cAAc;aACtB,GAAG,EAAE,GAAG;IAXnB,aAAa,MAAC;IACd,cAAc,SAAK;IACnB,MAAM,EAAE,MAAM,CAAgB;IAC9B,WAAW,EAAE,QAAQ,CAAkB;IAC9C,SAAgB,OAAO,EAAE,OAAO,OAAO,CAAwB;IAC/D,SAAgB,cAAc,EAAE,OAAO,cAAc,CAA+B;IACpF,SAAgB,WAAW,EAAE,iBAAiB,EAAE,CAAM;gBAGpC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,cAAc,EACtB,GAAG,EAAE,GAAG;IAUpB,UAAU,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
|
package/dist/LoxonePlatform.js
CHANGED
|
@@ -75,14 +75,27 @@ class LoxonePlatform {
|
|
|
75
75
|
}
|
|
76
76
|
async mapLoxoneItems(items) {
|
|
77
77
|
var _a;
|
|
78
|
-
var _b, _c;
|
|
78
|
+
var _b, _c, _d, _e, _f, _g;
|
|
79
79
|
const itemCache = {};
|
|
80
|
-
const
|
|
80
|
+
const ExcludedItemTypes = (_c = (_b = this.config.Exclusions) === null || _b === void 0 ? void 0 : _b.split(',')) !== null && _c !== void 0 ? _c : [];
|
|
81
|
+
const RoomFilterList = (_f = (_e = (_d = this.config.roomfilter) === null || _d === void 0 ? void 0 : _d.list) === null || _e === void 0 ? void 0 : _e.split(',')) !== null && _f !== void 0 ? _f : [];
|
|
82
|
+
const RoomFilterType = ((_g = this.config.roomfilter) === null || _g === void 0 ? void 0 : _g.type) || 'exclusion';
|
|
83
|
+
let RoomInclusions = [];
|
|
84
|
+
let RoomExclusions = [];
|
|
85
|
+
if (RoomFilterType === 'exclusion') {
|
|
86
|
+
RoomExclusions = RoomFilterList;
|
|
87
|
+
}
|
|
88
|
+
else if (RoomFilterType === 'inclusion') {
|
|
89
|
+
RoomInclusions = RoomFilterList;
|
|
90
|
+
}
|
|
81
91
|
for (const item of items) {
|
|
82
92
|
try {
|
|
83
93
|
const itemType = item.type;
|
|
84
|
-
if (
|
|
85
|
-
this.log.debug(`[mapLoxoneItem] Skipping Excluded ItemType: ${item.name} with type ${item.type}`);
|
|
94
|
+
if (ExcludedItemTypes.includes(itemType)) {
|
|
95
|
+
this.log.debug(`[mapLoxoneItem][ItemTypeExlusion] Skipping Excluded ItemType: ${item.name} with type ${item.type}`);
|
|
96
|
+
}
|
|
97
|
+
else if (RoomExclusions.includes(item.room) || (RoomFilterType === 'inclusion' && !RoomInclusions.includes(item.room))) {
|
|
98
|
+
this.log.debug(`[mapLoxoneItem][RoomExlusion] Skipping Excluded Room: ${item.name} in room ${item.room}`);
|
|
86
99
|
}
|
|
87
100
|
else {
|
|
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,CAAC;aACtG;SACF;IACH,CAAC;IAKD,yBAAyB;QACvB,UAAU,CAAC,GAAG,EAAE;YACd,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,SAA4B,EAAE,EAAE;gBACxD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE;oBAC7B,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,oBAAoB,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;oBAC5D,IAAI,CAAC,GAAG,CAAC,6BAA6B,CAAC,yBAAyB,EAAE,gBAAgB,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;iBAClG;YACH,CAAC,CAAC,CAAC;QACL,CAAC,EAAE,IAAI,CAAC,CAAC;IACX,CAAC;IAMD,kBAAkB,CAAC,SAA4B;QAC7C,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,+BAA+B,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;QACvE,SAAS,CAAC,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC;QACjC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;CACF;AArID,wCAqIC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"private": false,
|
|
3
3
|
"displayName": "Homebridge Loxone Proxy",
|
|
4
4
|
"name": "homebridge-loxone-proxy",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.7.0",
|
|
6
6
|
"description": "Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"repository": {
|