iobroker.ebus 2.4.5 → 2.5.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 CHANGED
@@ -52,6 +52,9 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
52
52
 
53
53
  ## Changelog
54
54
 
55
+ ### 2.5.0 (in progress)
56
+ * (René) see issue #62: support ebusd 21.3
57
+
55
58
  ### 2.4.5 (2021-11-07)
56
59
  * (René) bug fix color of labels in widget
57
60
 
package/io-package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "ebus",
4
- "version": "2.4.5",
4
+ "version": "2.5.0",
5
5
  "news": {
6
+ "2.5.0": {
7
+ "en": "support ebusd 21.3",
8
+ "de": "ebusd 21,3 . unterstützen",
9
+ "ru": "поддержка ebusd 21.3",
10
+ "pt": "suporte ebusd 21.3",
11
+ "nl": "ondersteuning ebusd 21.3",
12
+ "fr": "soutien ebusd 21.3",
13
+ "it": "supporto ebusd 21.3",
14
+ "es": "soporte ebusd 21.3",
15
+ "pl": "wsparcie ebusd 21.3",
16
+ "zh-cn": "支持 ebusd 21.3"
17
+ },
6
18
  "2.4.5": {
7
19
  "en": "bug fix color of labels in widget",
8
20
  "de": "Fehlerkorrektur Farbe der Labels im Widget",
package/main.js CHANGED
@@ -11,8 +11,11 @@
11
11
  /*jslint node: true */
12
12
  "use strict";
13
13
 
14
+
15
+
16
+
14
17
  const utils = require("@iobroker/adapter-core");
15
- const ebusdMinVersion = [21, 2];
18
+ const ebusdMinVersion = [21, 3];
16
19
  let ebusdVersion = [0, 0];
17
20
  let ebusdUpdateVersion = [0, 0];
18
21
 
@@ -879,6 +882,13 @@ async function ebusd_ReadValues() {
879
882
  //received ERR: arbitration lost for YieldThisYear
880
883
  if (data.includes("ERR")) {
881
884
  adapter.log.error("sent " + cmd + ", received " + data + " for " + JSON.stringify(oPolledVars[nCtr]));
885
+
886
+ /*
887
+ * sent read -f YieldLastYear, received ERR: arbitration lost for {"circuit":"","name":"YieldLastYear","parameter":""}
888
+ * */
889
+ if (data.includes("arbitration lost")) {
890
+ nCtr--;
891
+ }
882
892
  }
883
893
  else {
884
894
  adapter.log.debug("received " + data + " for " + JSON.stringify(oPolledVars[nCtr]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.ebus",
3
- "version": "2.4.5",
3
+ "version": "2.5.0",
4
4
  "description": "ioBroker ebus Adapter",
5
5
  "author": {
6
6
  "name": "René G.",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@iobroker/adapter-core": "2.5.1",
24
- "@sentry/node": "6.14.1",
24
+ "@sentry/node": "6.16.1",
25
25
  "bent": "7.3.12",
26
26
  "flat": "5.0.2",
27
27
  "net": "1.0.2",
@@ -29,19 +29,19 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@iobroker/testing": "2.5.2",
32
- "@types/chai": "4.2.22",
32
+ "@types/chai": "4.3.0",
33
33
  "@types/chai-as-promised": "7.1.4",
34
34
  "@types/gulp": "4.0.9",
35
35
  "@types/mocha": "9.0.0",
36
- "@types/node": "16.11.6",
36
+ "@types/node": "16.11.14",
37
37
  "@types/proxyquire": "1.3.28",
38
38
  "@types/request-promise-native": "1.0.18",
39
39
  "@types/sinon": "10.0.6",
40
- "@types/sinon-chai": "3.2.5",
40
+ "@types/sinon-chai": "3.2.6",
41
41
  "axios": "0.24.0",
42
42
  "chai": "4.3.4",
43
43
  "chai-as-promised": "7.1.1",
44
- "eslint": "8.1.0",
44
+ "eslint": "8.5.0",
45
45
  "gulp": "4.0.2",
46
46
  "mocha": "9.1.3",
47
47
  "proxyquire": "2.1.3",