iobroker.sonoff 3.1.0 → 3.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 CHANGED
@@ -122,8 +122,11 @@ States:
122
122
  ### **WORK IN PROGRESS**
123
123
  -->
124
124
  ## Changelog
125
+ ### 3.1.1 (2024-08-09)
126
+ * (mattreim) updated packages
127
+
125
128
  ### 3.1.0 (2024-05-25)
126
- * Important: Node.js 18.x and js-controller 5.0.19+ is needed at minimum
129
+ * Important: Node.js 18.x and js-controller 5.0.19+ is needed at minimum
127
130
  * (mattreim) upgraded states for Tasmota 13.4.0.3 20240402
128
131
  * (mattreim) enhanced some log messages
129
132
  * (mattreim) Added PWM Items
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "sonoff",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "news": {
6
+ "3.1.1": {
7
+ "en": "updated packages",
8
+ "de": "aktualisierte pakete",
9
+ "ru": "обновления пакетов",
10
+ "pt": "pacotes atualizados",
11
+ "nl": "bijgewerkte pakketten",
12
+ "fr": "paquets mis à jour",
13
+ "it": "pacchetti aggiornati",
14
+ "es": "paquetes actualizados",
15
+ "pl": "zaktualizowane pakiety",
16
+ "uk": "оновлені пакети",
17
+ "zh-cn": "更新软件包"
18
+ },
6
19
  "3.1.0": {
7
20
  "en": "Important: Node.js 18.x and js-controller 5.0.19+ is needed at minimum\nupgraded states for Tasmota 13.4.0.3 20240402\nenhanced some log messages\nAdded PWM Items\nFixed QoS handling to prevent invalid resubmissions\nPrevent creation of storeMap property in common and cleanup",
8
21
  "de": "Wichtig: Node.js 18.x und js-controller 5.0.19+ ist mindestens erforderlich\naktualisierte Zustände für Tasmota 13.4.0.3 20240402\neinige log-nachrichten erweitert\nPWM Waren\nBehobene QoS-Behandlung, um ungültige Wiedereinsetzungen zu verhindern\nVerhindern Sie die Erstellung von Geschäft Karte Immobilien gemeinsam und sauber",
@@ -80,19 +93,6 @@
80
93
  "pl": "Zaimplementuj pisanie zmian NSPanel Widget\nNapraw przypadek awarii zgłoszony przez Sentry",
81
94
  "zh-cn": "实现编写 NSPanel Widget 更改\n修复 Sentry 报告的崩溃案例",
82
95
  "uk": "Реалізувати написання змін NSPanel Widget\nВиправте випадок збою, про який повідомляє Sentry"
83
- },
84
- "2.4.7": {
85
- "en": "Fix crash case (Sentry IOBROKER-SONOFF-1S)",
86
- "de": "Crashfall beheben (Sentry IOBROKER-SONOFF-1S)",
87
- "ru": "Исправить сбой (Sentry IOBROKER-SONOFF-1S)",
88
- "pt": "Corrigir caso de falha (Sentry IOBROKER-SONOFF-1S)",
89
- "nl": "Crashgeval repareren (Sentry IOBROKER-SONOFF-1S)",
90
- "fr": "Correction du crash (Sentry IOBROKER-SONOFF-1S)",
91
- "it": "Risolto il crash case (Sentry IOBROKER-SONOFF-1S)",
92
- "es": "Reparar caso de bloqueo (Sentry IOBROKER-SONOFF-1S)",
93
- "pl": "Napraw przypadek awarii (Sentry IOBROKER-SONOFF-1S)",
94
- "zh-cn": "修复崩溃案例(Sentry IOBROKER-SONOFF-1S)",
95
- "uk": "Виправити випадок збою (Sentry IOBROKER-SONOFF-1S)"
96
96
  }
97
97
  },
98
98
  "title": "Sonoff",
package/lib/server.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const mqtt = require('mqtt-connection');
4
- const net = require('net');
5
- const types = require('./datapoints');
3
+ const net = require('node:net');
4
+ const mqtt = require('mqtt-connection');
5
+ const types = require('./datapoints');
6
6
  // const memwatch = require('memwatch-next');
7
7
  // const heapdump = require('heapdump');
8
8
  const hueCalc = true;
package/main.js CHANGED
@@ -2,18 +2,18 @@
2
2
  *
3
3
  * ioBroker sonoff Adapter
4
4
  *
5
- * (c) 2017-2023 bluefox
5
+ * (c) 2017-2024 bluefox
6
6
  *
7
7
  * MIT License
8
8
  *
9
9
  */
10
10
  'use strict';
11
11
 
12
- const utils = require('@iobroker/adapter-core'); // Get common adapter utils
12
+ const utils = require('@iobroker/adapter-core'); // Get common adapter utils
13
13
  const adapterName = require('./package.json').name.split('.').pop();
14
- const Server = require('./lib/server');
15
- let server = null;
16
- let adapter;
14
+ const Server = require('./lib/server');
15
+ let server = null;
16
+ let adapter;
17
17
 
18
18
  function decrypt(key, value) {
19
19
  let result = '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iobroker.sonoff",
3
3
  "description": "The adapter allows to send and receive MQTT messages from ioBroker and to be a broker.",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "author": "bluefox <dogafox@gmail.com>",
6
6
  "homepage": "https://github.com/ioBroker/ioBroker.sonoff",
7
7
  "repository": {
@@ -9,25 +9,25 @@
9
9
  "url": "https://github.com/ioBroker/ioBroker.sonoff"
10
10
  },
11
11
  "keywords": [
12
- "iobroker",
13
12
  "sonoff",
14
13
  "MQTT",
15
14
  "tasmota",
16
15
  "esp"
17
16
  ],
18
17
  "dependencies": {
19
- "mqtt-connection": "^4.1.0",
20
- "@iobroker/adapter-core": "^3.1.4"
18
+ "@iobroker/adapter-core": "^3.1.6",
19
+ "mqtt-connection": "^4.1.0"
21
20
  },
22
21
  "devDependencies": {
23
- "@alcalzone/release-script": "^3.7.0",
24
- "@alcalzone/release-script-plugin-iobroker": "^3.7.0",
22
+ "@alcalzone/release-script": "^3.8.0",
23
+ "@alcalzone/release-script-plugin-iobroker": "^3.7.2",
25
24
  "@alcalzone/release-script-plugin-license": "^3.7.0",
26
25
  "@iobroker/adapter-dev": "^1.3.0",
27
26
  "@iobroker/legacy-testing": "^1.0.12",
28
- "mqtt": "^4.3.8",
29
- "mocha": "^10.4.0",
30
- "chai": "^4.4.1"
27
+ "@iobroker/testing": "^4.1.3",
28
+ "mqtt": "^5.9.1",
29
+ "mocha": "^10.7.3",
30
+ "chai": "^4.5.0"
31
31
  },
32
32
  "bugs": {
33
33
  "url": "https://github.com/ioBroker/ioBroker.sonoff/issues"