iobroker.alarm 3.6.1 → 3.6.2

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
@@ -29,6 +29,10 @@
29
29
  Placeholder for the next version (at the beginning of the line):
30
30
  ### **WORK IN PROGRESS**
31
31
  -->
32
+ ### 3.6.2 (2024-09-01)
33
+ * (misanorot) updated iob checker issues
34
+ * (misanorot) fixed disable password state
35
+
32
36
  ### 3.6.1 (2024-06-19)
33
37
  * (misanorot) fixed presence at burgle
34
38
 
@@ -41,9 +45,6 @@
41
45
  ### 3.4.3 (2023-11-05)
42
46
  * (misanorot) added silent_alarm (state list) to shortcuts
43
47
 
44
- ### 3.4.2 (2023-10-31)
45
- * (misanorot) added enhancement #170
46
-
47
48
  ## License
48
49
  MIT License
49
50
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "alarm",
4
- "version": "3.6.1",
4
+ "version": "3.6.2",
5
5
  "news": {
6
+ "3.6.2": {
7
+ "en": "updated iob checker issues\nfixed disable password state",
8
+ "de": "aktualisierte iob checker probleme\nfester passwortzustand",
9
+ "ru": "обновленные вопросы проверки iob\nфиксированное отключенное состояние пароля",
10
+ "pt": "problemas de verificação iob atualizados\nestado de senha de desabilitação fixa",
11
+ "nl": "bijgewerkte iob-checkerproblemen\nvaste wachtwoordstatus uitschakelen",
12
+ "fr": "problèmes de vérification iob mis à jour\ndésactivé l'état du mot de passe",
13
+ "it": "aggiornato problemi di controllo iob\nfisso disabilitare lo stato della password",
14
+ "es": "actualizados problemas de comprobación de iob\nestado de contraseña deshabilitado fijo",
15
+ "pl": "zaktualizowane problemy z sprawdzaniem iob\nstałe wyłączenie stanu hasła",
16
+ "uk": "оновлені питання перевірки iob\nфіксований стан пароля",
17
+ "zh-cn": "更新iob检查器问题\n固定禁用密码状态"
18
+ },
6
19
  "3.6.1": {
7
20
  "en": "fixed presence at burgle",
8
21
  "de": "feste anwesenheit bei burgle",
@@ -80,22 +93,8 @@
80
93
  "pl": "stworzona gwiazda w symulacji (jsControler 5.x?)",
81
94
  "uk": "фіксована астро при наявності моделювання (jsControler 5.x?)",
82
95
  "zh-cn": "固定在场的模拟(jsControler 5.x?)"
83
- },
84
- "3.4.0": {
85
- "en": "fixed #168",
86
- "de": "fest #168",
87
- "ru": "исправлено #168",
88
- "pt": "fixo #168",
89
- "nl": "vertaling:",
90
- "fr": "fixe #168",
91
- "it": "fisso #168",
92
- "es": "fijo #168",
93
- "pl": "#168",
94
- "uk": "фіксована #168",
95
- "zh-cn": "固定编号168"
96
96
  }
97
97
  },
98
- "title": "Alarm",
99
98
  "titleLang": {
100
99
  "en": "Alarm",
101
100
  "de": "Alarm",
@@ -119,6 +118,7 @@
119
118
  "it": "Il tuo piccolo sistema di allarme",
120
119
  "es": "Tu propio pequeño sistema de alarma",
121
120
  "pl": "Twój własny mały system alarmowy",
121
+ "uk": "Ваша власна маленька система сигналізації",
122
122
  "zh-cn": "你自己的小警报系统"
123
123
  },
124
124
  "authors": [
@@ -129,9 +129,11 @@
129
129
  "security",
130
130
  "protection"
131
131
  ],
132
- "license": "MIT",
132
+ "licenseInformation": {
133
+ "license": "MIT",
134
+ "type": "free"
135
+ },
133
136
  "platform": "Javascript/Node.js",
134
- "main": "main.js",
135
137
  "icon": "alarm.png",
136
138
  "enabled": true,
137
139
  "extIcon": "https://raw.githubusercontent.com/misanorot/ioBroker.alarm/master/admin/alarm.png",
@@ -140,6 +142,7 @@
140
142
  "mode": "daemon",
141
143
  "type": "alarm",
142
144
  "compact": true,
145
+ "tier": 2,
143
146
  "connectionType": "local",
144
147
  "dataSource": "poll",
145
148
  "adminUI": {
@@ -147,13 +150,19 @@
147
150
  },
148
151
  "dependencies": [
149
152
  {
150
- "js-controller": ">=3.3.22"
153
+ "js-controller": ">=5.0.19"
151
154
  }
152
155
  ],
153
156
  "globalDependencies": [
154
157
  {
155
158
  "admin": ">=5.0.0"
156
159
  }
160
+ ],
161
+ "protectedNative": [
162
+ "password"
163
+ ],
164
+ "encryptedNative": [
165
+ "password"
157
166
  ]
158
167
  },
159
168
  "native": {
@@ -1293,7 +1302,7 @@
1293
1302
  "_id": "use.disable_password",
1294
1303
  "type": "state",
1295
1304
  "common": {
1296
- "role": "button",
1305
+ "role": "switch",
1297
1306
  "name": {
1298
1307
  "en": "Disable with password",
1299
1308
  "de": "Mit Passwort deaktivieren",
package/main.js CHANGED
@@ -1422,7 +1422,7 @@ class Alarm extends utils.Adapter {
1422
1422
 
1423
1423
 
1424
1424
  checkMyPassword(pass, id) {
1425
- if (this.config.password === pass) {
1425
+ if (pass == this.config.password) {
1426
1426
  this.log.debug(`Password accept`);
1427
1427
  this.setState('info.wrong_password', false, true, (err) => {
1428
1428
  if (err) this.log.error(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.alarm",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "description": "Your own lttle alarm system",
5
5
  "author": {
6
6
  "name": "misanorot",
@@ -11,43 +11,44 @@
11
11
  "keywords": [
12
12
  "alarm system",
13
13
  "security",
14
- "protection"
14
+ "protection",
15
+ "ioBroker"
15
16
  ],
16
17
  "repository": {
17
18
  "type": "git",
18
19
  "url": "git@github.com:misanorot/ioBroker.alarm.git"
19
20
  },
20
21
  "engines": {
21
- "node": ">= 16"
22
+ "node": ">= 18"
22
23
  },
23
24
  "dependencies": {
24
- "@iobroker/adapter-core": "^3.1.4",
25
+ "@iobroker/adapter-core": "^3.1.6",
25
26
  "node-schedule": "^2.1.1",
26
27
  "suncalc2": "^1.8.1"
27
28
  },
28
29
  "devDependencies": {
29
- "@alcalzone/release-script": "^3.7.0",
30
- "@alcalzone/release-script-plugin-iobroker": "^3.7.0",
30
+ "@alcalzone/release-script": "^3.8.0",
31
+ "@alcalzone/release-script-plugin-iobroker": "^3.7.2",
31
32
  "@alcalzone/release-script-plugin-license": "^3.7.0",
32
33
  "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
33
34
  "@iobroker/adapter-dev": "^1.3.0",
34
35
  "@iobroker/testing": "^4.1.3",
35
36
  "@tsconfig/node16": "^16.1.3",
36
37
  "@types/chai": "^4.3.6",
37
- "@types/chai-as-promised": "^7.1.8",
38
- "@types/mocha": "^10.0.6",
39
- "@types/node": "^20.12.7",
38
+ "@types/chai-as-promised": "^8.0.0",
39
+ "@types/mocha": "^10.0.7",
40
+ "@types/node": "^22.5.1",
40
41
  "@types/proxyquire": "^1.3.31",
41
42
  "@types/sinon": "^17.0.3",
42
43
  "@types/sinon-chai": "^3.2.12",
43
44
  "chai": "^4.4.1",
44
- "chai-as-promised": "^7.1.2",
45
+ "chai-as-promised": "^8.0.0",
45
46
  "eslint": "^8.57.0",
46
- "mocha": "^10.4.0",
47
+ "mocha": "^10.7.3",
47
48
  "proxyquire": "^2.1.3",
48
49
  "sinon": "^18.0.0",
49
50
  "sinon-chai": "^3.7.0",
50
- "typescript": "~5.4.5"
51
+ "typescript": "~5.5.2"
51
52
  },
52
53
  "main": "main.js",
53
54
  "files": [