iobroker.ebus 3.2.1 → 3.2.3
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 +18 -62
- package/io-package.json +2 -2
- package/main.js +2 -2
- package/package.json +70 -65
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
2
|
# ioBroker.ebus
|
|
3
3
|
|
|
4
4
|
 
|
|
@@ -17,7 +17,7 @@ For more details and for information how to disable the error reporting see [Sen
|
|
|
17
17
|
|
|
18
18
|
**If you like it, please consider a donation:**
|
|
19
19
|
|
|
20
|
-
[](https://www.paypal.com/
|
|
20
|
+
[](https://www.paypal.com/donate/?hosted_button_id=34ESBMJ932QZC)
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
This adapter reads
|
|
@@ -30,7 +30,7 @@ There is a possibillity to poll data which are not polled by ebusd directly. Com
|
|
|
30
30
|
|
|
31
31
|
Another feature is to send any command to ebusd and receive answer to work with e.g. scripts.
|
|
32
32
|
|
|
33
|
-
current supported ebusd-version:
|
|
33
|
+
current supported ebusd-version: 23.2
|
|
34
34
|
|
|
35
35
|
**Attention** with ebusd - version 22.1 config path has been changed to http://cfg.ebusd.eu/. Make sure you change it in your installation of ebusd.
|
|
36
36
|
details see in [changelog](https://github.com/john30/ebusd/blob/master/ChangeLog.md)
|
|
@@ -55,13 +55,24 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
|
|
|
55
55
|
|
|
56
56
|
## Changelog
|
|
57
57
|
|
|
58
|
+
<!--
|
|
59
|
+
Placeholder for the next version (at the beginning of the line):
|
|
60
|
+
### **WORK IN PROGRESS**
|
|
61
|
+
-->
|
|
62
|
+
### 3.2.3 (2023-11-18)
|
|
63
|
+
* (René) dependencies updated
|
|
64
|
+
* (René) fix sentry reported exceptions
|
|
65
|
+
|
|
66
|
+
### 3.2.2 (2023-07-30)
|
|
67
|
+
* (René) dependencies updated
|
|
68
|
+
|
|
58
69
|
### 3.2.1 (2023-04-07)
|
|
59
70
|
* (René) dependencies updated
|
|
60
71
|
|
|
61
72
|
### 3.2.0 (2023-02-11)
|
|
62
73
|
* (René) **Attention** polled variables must be set as active in admin now
|
|
63
74
|
* (René) search available variables per circuit added in admin
|
|
64
|
-
* (René) DP "find" added to force read of all existing datapoints (Attention: might take a while) and update name in data point tree
|
|
75
|
+
* (René) DP "find" added to force read of all existing datapoints (Attention: might take a while) and update name in data point tree
|
|
65
76
|
|
|
66
77
|
### 3.1.1 (2023-01-31)
|
|
67
78
|
* (René) support ebusd 23.1
|
|
@@ -72,7 +83,6 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
|
|
|
72
83
|
* (René) see issue #77: Update data point when read-cmd is used
|
|
73
84
|
* (René) see issue #78: remove CR, LF in answer from ebusd for DP ebus.0.cmdResult
|
|
74
85
|
|
|
75
|
-
|
|
76
86
|
### 3.0.7 (2022-08-20)
|
|
77
87
|
* (René) support ebusd 22.3
|
|
78
88
|
|
|
@@ -110,57 +120,6 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
|
|
|
110
120
|
* (René) update flot to 4.2.2
|
|
111
121
|
* (René) bug fix missing space in command when using circuit name
|
|
112
122
|
|
|
113
|
-
## 2.4.3 (2021-10-21)
|
|
114
|
-
* (René) see issue #58: bug fix for Warn: ignoring history value 1 (invalid)" when no history values set
|
|
115
|
-
|
|
116
|
-
## 2.4.2 (2021-10-19)
|
|
117
|
-
* (René) see issue #55: bug fix
|
|
118
|
-
|
|
119
|
-
## 2.4.0 (2021-10-17)
|
|
120
|
-
* (René) overwork handling of read datapoints and history datapoints, circuit added optionally
|
|
121
|
-
* (René) command can now include more then one command, just separate commands with ','
|
|
122
|
-
* (René) see issue #55: warnings changed to debug messages
|
|
123
|
-
|
|
124
|
-
## 2.3.2 (2021-09-02)
|
|
125
|
-
* (René) see issue #49: support for ebusd 21.2
|
|
126
|
-
* (René) see issue #40: option to use boolean instead string for values with on/off
|
|
127
|
-
* (René) dependencies updated
|
|
128
|
-
|
|
129
|
-
## 2.2.7 (2021-07-03)
|
|
130
|
-
* (René) dependencies updated
|
|
131
|
-
* (René) see issue #48: bug fix for wrong data type logs
|
|
132
|
-
|
|
133
|
-
## 2.2.5 (2021-03-21)
|
|
134
|
-
* (René) dependencies updated
|
|
135
|
-
|
|
136
|
-
## 2.2.4 (2021-02-17)
|
|
137
|
-
* (René) see issue #42: Uncaught ReferenceError: oView is not defined in widget solved
|
|
138
|
-
|
|
139
|
-
## 2.2.3 (2020-10-24)
|
|
140
|
-
* (René) create history DP if not available
|
|
141
|
-
|
|
142
|
-
## 2.2.0 (2020-09-06)
|
|
143
|
-
* (René) change DP only if necessary to reduce system load
|
|
144
|
-
* (René) update dependencies
|
|
145
|
-
|
|
146
|
-
## 2.1.1 (2020-06-27)
|
|
147
|
-
* (René) issue #26: bug fix: "cmd not found" is only debug message instead of error
|
|
148
|
-
|
|
149
|
-
## 2.1.0 (2020-06-17)
|
|
150
|
-
* (René) refactoring: 'async/await' used
|
|
151
|
-
|
|
152
|
-
## 2.0.0 (2020-04-26)
|
|
153
|
-
* (René) "request" replaced by "bent"
|
|
154
|
-
|
|
155
|
-
## 1.0.0 (2019-12-15)
|
|
156
|
-
* (René) update to my own flot 3.0
|
|
157
|
-
|
|
158
|
-
## 0.8.2 (2019-11-10)
|
|
159
|
-
* (René) some more error messages in datapoint "error"
|
|
160
|
-
|
|
161
|
-
## 0.8.1 (2019-10-31)
|
|
162
|
-
* (René) update flot to version 3.0
|
|
163
|
-
|
|
164
123
|
### 0.8.0 (2019-02-24)
|
|
165
124
|
* (René) hcmode2 value 5 = EVU Sperrzeit
|
|
166
125
|
|
|
@@ -189,13 +148,13 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
|
|
|
189
148
|
* (René) write date over TCP to ebusd
|
|
190
149
|
|
|
191
150
|
### 0.4.2
|
|
192
|
-
* (René) bug fix for admin V3
|
|
151
|
+
* (René) bug fix for admin V3
|
|
193
152
|
|
|
194
153
|
### 0.4.1
|
|
195
|
-
* (René) logo changed
|
|
154
|
+
* (René) logo changed
|
|
196
155
|
|
|
197
156
|
### 0.4.0
|
|
198
|
-
* (René) reading data from ebusd
|
|
157
|
+
* (René) reading data from ebusd
|
|
199
158
|
|
|
200
159
|
### 0.3.0
|
|
201
160
|
* (René) support of ebusd
|
|
@@ -236,6 +195,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
236
195
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
237
196
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
238
197
|
SOFTWARE.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
package/io-package.json
CHANGED
package/main.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
const utils = require("@iobroker/adapter-core");
|
|
18
|
-
const ebusdMinVersion = [23,
|
|
18
|
+
const ebusdMinVersion = [23, 2];
|
|
19
19
|
let ebusdVersion = [0, 0];
|
|
20
20
|
let ebusdUpdateVersion = [0, 0];
|
|
21
21
|
|
|
@@ -145,7 +145,7 @@ async function Do() {
|
|
|
145
145
|
async function HandleStateChange(id, state) {
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
if (state.ack !== true) {
|
|
148
|
+
if (state != null && state.ack !== true) {
|
|
149
149
|
|
|
150
150
|
adapter.log.debug("handle state change " + id);
|
|
151
151
|
const ids = id.split(".");
|
package/package.json
CHANGED
|
@@ -1,65 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "iobroker.ebus",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "ioBroker ebus Adapter",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "René G.",
|
|
7
|
-
"email": "info@rg-engineering.eu"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/rg-engineering/ioBroker.ebus",
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"keywords": [
|
|
12
|
-
"ioBroker",
|
|
13
|
-
"HomeControl",
|
|
14
|
-
"Smart Home",
|
|
15
|
-
"home automation",
|
|
16
|
-
"ebus"
|
|
17
|
-
],
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "https://github.com/rg-engineering/ioBroker.ebus"
|
|
21
|
-
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@types/
|
|
38
|
-
"@types/
|
|
39
|
-
"@types/
|
|
40
|
-
"@types/
|
|
41
|
-
"@types/
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
},
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "iobroker.ebus",
|
|
3
|
+
"version": "3.2.3",
|
|
4
|
+
"description": "ioBroker ebus Adapter",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "René G.",
|
|
7
|
+
"email": "info@rg-engineering.eu"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/rg-engineering/ioBroker.ebus",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"ioBroker",
|
|
13
|
+
"HomeControl",
|
|
14
|
+
"Smart Home",
|
|
15
|
+
"home automation",
|
|
16
|
+
"ebus"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/rg-engineering/ioBroker.ebus"
|
|
21
|
+
},
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">= 16"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@iobroker/adapter-core": "3.0.4",
|
|
27
|
+
"flat": "6.0.1",
|
|
28
|
+
"net": "1.0.2",
|
|
29
|
+
"promise-socket": "7.0.0",
|
|
30
|
+
"cron": "3.1.6",
|
|
31
|
+
"axios": "1.6.2"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@alcalzone/release-script": "^3.6.0",
|
|
35
|
+
"@iobroker/adapter-dev": "1.2.0",
|
|
36
|
+
"@iobroker/testing": "4.1.0",
|
|
37
|
+
"@types/chai": "4.3.10",
|
|
38
|
+
"@types/chai-as-promised": "7.1.8",
|
|
39
|
+
"@types/gulp": "4.0.17",
|
|
40
|
+
"@types/mocha": "10.0.4",
|
|
41
|
+
"@types/node": "20.9.1",
|
|
42
|
+
"@types/proxyquire": "1.3.31",
|
|
43
|
+
"@types/request-promise-native": "1.0.21",
|
|
44
|
+
"@types/sinon": "17.0.1",
|
|
45
|
+
"@types/sinon-chai": "3.2.12",
|
|
46
|
+
"axios": "1.6.2",
|
|
47
|
+
"chai": "4.3.10",
|
|
48
|
+
"chai-as-promised": "7.1.1",
|
|
49
|
+
"eslint": "8.54.0",
|
|
50
|
+
"gulp": "4.0.2",
|
|
51
|
+
"mocha": "10.2.0",
|
|
52
|
+
"proxyquire": "2.1.3",
|
|
53
|
+
"sinon": "17.0.1",
|
|
54
|
+
"sinon-chai": "3.7.0"
|
|
55
|
+
},
|
|
56
|
+
"main": "main.js",
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/rg-engineering/ioBroker.ebus"
|
|
59
|
+
},
|
|
60
|
+
"readmeFilename": "README.md",
|
|
61
|
+
"scripts": {
|
|
62
|
+
"test": "npm run test:package",
|
|
63
|
+
"test:package": "mocha test/package --exit",
|
|
64
|
+
"test:unit": "mocha test/unit --exit",
|
|
65
|
+
"test:integration": "mocha test/integration --exit",
|
|
66
|
+
"lint": "eslint",
|
|
67
|
+
"translate": "translate-adapter",
|
|
68
|
+
"release": "release-script"
|
|
69
|
+
}
|
|
70
|
+
}
|