iobroker.ebus 3.2.2 → 3.2.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Logo](admin/ebus.png)
1
+ ![Logo](admin/ebus.png)
2
2
  # ioBroker.ebus
3
3
 
4
4
  ![Number of Installations](http://iobroker.live/badges/ebus-installed.svg) ![Number of Installations](http://iobroker.live/badges/ebus-stable.svg)
@@ -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: 22.3
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,168 +55,127 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
55
55
 
56
56
  ## Changelog
57
57
 
58
- ### 3.2.2 (2023-07-30)
58
+ <!--
59
+ Placeholder for the next version (at the beginning of the line):
60
+ ### **WORK IN PROGRESS**
61
+ -->
62
+ ### 3.2.4 (2023-11-19)
63
+ * (René) revert back to flat 5.x
64
+
65
+ ### 3.2.3 (2023-11-18)
59
66
  * (René) dependencies updated
60
-
67
+ * (René) fix sentry reported exceptions
68
+
69
+ ### 3.2.2 (2023-07-30)
70
+ * (René) dependencies updated
71
+
61
72
  ### 3.2.1 (2023-04-07)
62
- * (René) dependencies updated
63
-
73
+ * (René) dependencies updated
74
+
64
75
  ### 3.2.0 (2023-02-11)
65
76
  * (René) **Attention** polled variables must be set as active in admin now
66
77
  * (René) search available variables per circuit added in admin
67
- * (René) DP "find" added to force read of all existing datapoints (Attention: might take a while) and update name in data point tree
68
-
78
+ * (René) DP "find" added to force read of all existing datapoints (Attention: might take a while) and update name in data point tree
79
+
69
80
  ### 3.1.1 (2023-01-31)
70
81
  * (René) support ebusd 23.1
71
- * (René) see issue #77: make sure that only one data request is running at the same time
72
-
82
+ * (René) see issue #77: make sure that only one data request is running at the same time
83
+
73
84
  ### 3.1.0 (2022-12-01)
74
85
  * (René) support ebusd 22.4
75
86
  * (René) see issue #77: Update data point when read-cmd is used
76
- * (René) see issue #78: remove CR, LF in answer from ebusd for DP ebus.0.cmdResult
77
-
78
-
87
+ * (René) see issue #78: remove CR, LF in answer from ebusd for DP ebus.0.cmdResult
88
+
79
89
  ### 3.0.7 (2022-08-20)
80
- * (René) support ebusd 22.3
81
-
90
+ * (René) support ebusd 22.3
91
+
82
92
  ### 3.0.6 (2022-08-19)
83
- * (René) bug fix in tooltip in wizard
84
-
93
+ * (René) bug fix in tooltip in wizard
94
+
85
95
  ### 3.0.4 (2022-08-18)
86
96
  * (René) tooltip in wizard added
87
97
  * (René) flot and dependencies updated
88
98
  * (René) errors from ebusd are shown as warning here in adapter, details schould be checked in logs of ebusd
89
99
  * (René) bug fix in widget: if less data available x axes grid point were not shown
90
- * (René) except null as valid value from ebusd (e.g. to reset CurrentError)
91
-
100
+ * (René) except null as valid value from ebusd (e.g. to reset CurrentError)
101
+
92
102
  ### 3.0.2 (2022-04-02)
93
- * (René) message for installation added
94
-
103
+ * (René) message for installation added
104
+
95
105
  ### 3.0.1 (2022-04-02)
96
- * (René) read interval in admin added
97
-
106
+ * (René) read interval in admin added
107
+
98
108
  ### 3.0.0 (2022-04-02)
99
109
  * (René) **ATTENTION** change from scheduled to daemon adapter
100
- * (René) bent by axios replaced
101
-
110
+ * (René) bent by axios replaced
111
+
102
112
  ### 2.5.1 (2021-12-29)
103
- * (René) adjustable retries to send data if arbitration error appeared
104
-
113
+ * (René) adjustable retries to send data if arbitration error appeared
114
+
105
115
  ### 2.5.0 (2021-12-28)
106
- * (René) see issue #62: support ebusd 21.3
107
-
116
+ * (René) see issue #62: support ebusd 21.3
117
+
108
118
  ### 2.4.5 (2021-11-07)
109
- * (René) bug fix color of labels in widget
110
-
119
+ * (René) bug fix color of labels in widget
120
+
111
121
  ### 2.4.4 (2021-10-30)
112
122
  * (René) see issue #59: avoid endless loop
113
123
  * (René) update flot to 4.2.2
114
- * (René) bug fix missing space in command when using circuit name
115
-
116
- ## 2.4.3 (2021-10-21)
117
- * (René) see issue #58: bug fix for Warn: ignoring history value 1 (invalid)" when no history values set
118
-
119
- ## 2.4.2 (2021-10-19)
120
- * (René) see issue #55: bug fix
121
-
122
- ## 2.4.0 (2021-10-17)
123
- * (René) overwork handling of read datapoints and history datapoints, circuit added optionally
124
- * (René) command can now include more then one command, just separate commands with ','
125
- * (René) see issue #55: warnings changed to debug messages
126
-
127
- ## 2.3.2 (2021-09-02)
128
- * (René) see issue #49: support for ebusd 21.2
129
- * (René) see issue #40: option to use boolean instead string for values with on/off
130
- * (René) dependencies updated
131
-
132
- ## 2.2.7 (2021-07-03)
133
- * (René) dependencies updated
134
- * (René) see issue #48: bug fix for wrong data type logs
135
-
136
- ## 2.2.5 (2021-03-21)
137
- * (René) dependencies updated
138
-
139
- ## 2.2.4 (2021-02-17)
140
- * (René) see issue #42: Uncaught ReferenceError: oView is not defined in widget solved
141
-
142
- ## 2.2.3 (2020-10-24)
143
- * (René) create history DP if not available
144
-
145
- ## 2.2.0 (2020-09-06)
146
- * (René) change DP only if necessary to reduce system load
147
- * (René) update dependencies
148
-
149
- ## 2.1.1 (2020-06-27)
150
- * (René) issue #26: bug fix: "cmd not found" is only debug message instead of error
151
-
152
- ## 2.1.0 (2020-06-17)
153
- * (René) refactoring: 'async/await' used
154
-
155
- ## 2.0.0 (2020-04-26)
156
- * (René) "request" replaced by "bent"
157
-
158
- ## 1.0.0 (2019-12-15)
159
- * (René) update to my own flot 3.0
160
-
161
- ## 0.8.2 (2019-11-10)
162
- * (René) some more error messages in datapoint "error"
163
-
164
- ## 0.8.1 (2019-10-31)
165
- * (René) update flot to version 3.0
166
-
124
+ * (René) bug fix missing space in command when using circuit name
125
+
167
126
  ### 0.8.0 (2019-02-24)
168
- * (René) hcmode2 value 5 = EVU Sperrzeit
169
-
127
+ * (René) hcmode2 value 5 = EVU Sperrzeit
128
+
170
129
  ### 0.7.0 (2019-01-28)
171
- * (René) add adjustable timeout
172
-
130
+ * (René) add adjustable timeout
131
+
173
132
  ### 0.6.0 (2019-01-06)
174
- * (René) support of compact mode
175
-
133
+ * (René) support of compact mode
134
+
176
135
  ### 0.5.5 (2018-11-04)
177
- * (René) code clean up
178
-
136
+ * (René) code clean up
137
+
179
138
  ### 0.5.4
180
- * (René) arduino support removed
181
-
139
+ * (René) arduino support removed
140
+
182
141
  ### 0.5.3
183
- * (René) add error information
184
-
142
+ * (René) add error information
143
+
185
144
  ### 0.5.2
186
- * (René) bug fix: in vis 1.x some values are not stored
187
-
145
+ * (René) bug fix: in vis 1.x some values are not stored
146
+
188
147
  ### 0.5.1
189
- * (René) bug fix: if nothing to poll then skip telnet connection
190
-
148
+ * (René) bug fix: if nothing to poll then skip telnet connection
149
+
191
150
  ### 0.5.0
192
- * (René) write date over TCP to ebusd
193
-
151
+ * (René) write date over TCP to ebusd
152
+
194
153
  ### 0.4.2
195
- * (René) bug fix for admin V3
196
-
154
+ * (René) bug fix for admin V3
155
+
197
156
  ### 0.4.1
198
- * (René) logo changed
199
-
157
+ * (René) logo changed
158
+
200
159
  ### 0.4.0
201
- * (René) reading data from ebusd
202
-
160
+ * (René) reading data from ebusd
161
+
203
162
  ### 0.3.0
204
163
  * (René) support of ebusd
205
- * (René) admin3 support
206
-
164
+ * (René) admin3 support
165
+
207
166
  ### 0.2.0
208
167
  * (René) add history as JSON for vis
209
- * (René) add flot based widget to display temperatur, status and power graph
210
-
168
+ * (René) add flot based widget to display temperatur, status and power graph
169
+
211
170
  ### 0.1.0
212
- * (René) scheduled adapter instead of deamon
213
-
171
+ * (René) scheduled adapter instead of deamon
172
+
214
173
  ### 0.0.3
215
- * (René) UTF8 coding
216
-
174
+ * (René) UTF8 coding
175
+
217
176
  ### 0.0.2
218
- * (René) initial release
219
-
177
+ * (René) initial release
178
+
220
179
  ## License
221
180
  MIT License
222
181
 
@@ -238,7 +197,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
238
197
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
239
198
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
240
199
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
241
- SOFTWARE.
242
-
243
-
244
-
200
+ SOFTWARE.
package/io-package.json CHANGED
@@ -1,9 +1,22 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "ebus",
4
- "version": "3.2.2",
4
+ "version": "3.2.4",
5
5
  "news": {
6
- "3.2.2": {
6
+ "3.2.4": {
7
+ "en": "revert 'flat' back to 5.x",
8
+ "de": "„flat“ auf 5.x zurückgesetzt",
9
+ "ru": "вернуть «плоскую» версию обратно в 5.x",
10
+ "pt": "reverter 'plano' de volta para 5.x",
11
+ "nl": "zet 'plat' terug naar 5.x",
12
+ "fr": "revenir \"à plat\" à 5.x",
13
+ "it": "ripristinare 'flat' alla versione 5.x",
14
+ "es": "revertir 'plano' a 5.x",
15
+ "pl": "przywróć „płaskie” z powrotem do wersji 5.x",
16
+ "uk": "повернутися до версії 5.x",
17
+ "zh-cn": "将“扁平”恢复至 5.x"
18
+ },
19
+ "3.2.3": {
7
20
  "en": "dependencies updated",
8
21
  "de": "Abhängigkeiten aktualisiert",
9
22
  "ru": "зависимости обновлены",
package/main.js CHANGED
@@ -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.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
- "dependencies": {
23
- "@iobroker/adapter-core": "2.6.8",
24
- "flat": "5.0.2",
25
- "net": "1.0.2",
26
- "promise-socket": "7.0.0",
27
- "cron": "2.4.0",
28
- "axios": "1.4.0"
29
- },
30
- "devDependencies": {
31
- "@iobroker/adapter-dev": "1.2.0",
32
- "@iobroker/testing": "4.1.0",
33
- "@types/chai": "4.3.5",
34
- "@types/chai-as-promised": "7.1.5",
35
- "@types/gulp": "4.0.13",
36
- "@types/mocha": "10.0.1",
37
- "@types/node": "20.4.5",
38
- "@types/proxyquire": "1.3.28",
39
- "@types/request-promise-native": "1.0.18",
40
- "@types/sinon": "10.0.15",
41
- "@types/sinon-chai": "3.2.9",
42
- "axios": "1.4.0",
43
- "chai": "4.3.7",
44
- "chai-as-promised": "7.1.1",
45
- "eslint": "8.46.0",
46
- "gulp": "4.0.2",
47
- "mocha": "10.2.0",
48
- "proxyquire": "2.1.3",
49
- "sinon": "15.2.0",
50
- "sinon-chai": "3.7.0"
51
- },
52
- "main": "main.js",
53
- "bugs": {
54
- "url": "https://github.com/rg-engineering/ioBroker.ebus"
55
- },
56
- "readmeFilename": "README.md",
57
- "scripts": {
58
- "test": "npm run test:package && npm run test:unit",
59
- "test:package": "mocha test/package --exit",
60
- "test:unit": "mocha test/unit --exit",
61
- "test:integration": "mocha test/integration --exit",
62
- "lint": "eslint",
63
- "translate": "translate-adapter"
64
- }
65
- }
1
+ {
2
+ "name": "iobroker.ebus",
3
+ "version": "3.2.4",
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": "5.0.2",
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
+ }