iobroker.sonoff 2.5.1 → 2.5.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/LICENSE +22 -22
- package/README.md +203 -199
- package/admin/i18n/de/translations.json +52 -0
- package/admin/i18n/en/translations.json +52 -0
- package/admin/i18n/es/translations.json +52 -0
- package/admin/i18n/fr/translations.json +52 -0
- package/admin/i18n/it/translations.json +52 -0
- package/admin/i18n/nl/translations.json +52 -0
- package/admin/i18n/pl/translations.json +52 -0
- package/admin/i18n/pt/translations.json +52 -0
- package/admin/i18n/ru/translations.json +52 -0
- package/admin/i18n/zh-cn/translations.json +52 -0
- package/admin/index.html +177 -177
- package/admin/index_m.html +218 -218
- package/admin/words.js +54 -54
- package/io-package.json +14 -13
- package/lib/datapoints.js +193 -193
- package/lib/server.js +1765 -1732
- package/lib/tools.js +99 -99
- package/main.js +93 -93
- package/package.json +20 -9
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -37
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -24
- package/.github/auto-merge.yml +0 -17
- package/.github/dependabot.yml +0 -16
- package/.github/stale.yml +0 -78
- package/.github/workflows/dependabot-automerge.yml +0 -22
- package/.github/workflows/test-and-release.yml +0 -156
- package/.mocharc.json +0 -5
- package/.releaseconfig.json +0 -3
package/LICENSE
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014-
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
22
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014-2023 bluefox <dogafox@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
package/README.md
CHANGED
|
@@ -1,265 +1,269 @@
|
|
|
1
|
-

|
|
2
|
-
# ioBroker Sonoff
|
|
3
|
-
|
|
4
|
-

|
|
5
|
-

|
|
6
|
-
[](https://www.npmjs.com/package/iobroker.sonoff)
|
|
7
|
-
|
|
8
|
-

|
|
9
|
-
[](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
|
|
10
|
-
[](https://www.npmjs.com/package/iobroker.sonoff)
|
|
11
|
-
|
|
12
|
-
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
|
|
13
|
-
|
|
14
|
-
## Comparison of ioBroker adapters using MQTT protocol
|
|
15
|
-
If you only have Tasmotas speaking MQTT protocol go for ioBroker.sonoff
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- `tele/DeviceNAME/
|
|
32
|
-
- `tele/DeviceNAME/
|
|
33
|
-
- `tele/DeviceNAME/
|
|
34
|
-
- `
|
|
35
|
-
- `
|
|
36
|
-
-
|
|
37
|
-
- `/DeviceNAME/BM280/
|
|
38
|
-
- `/DeviceNAME/BM280/
|
|
39
|
-
- `/DeviceNAME/BM280/
|
|
40
|
-
- `/DeviceNAME/BM280/
|
|
41
|
-
- `/DeviceNAME/BM280/
|
|
42
|
-
- `/DeviceNAME/BM280/
|
|
43
|
-
- `/DeviceNAME/BM280/
|
|
44
|
-
- `/DeviceNAME/BM280/
|
|
45
|
-
- `/DeviceNAME/BM280/
|
|
46
|
-
- `/DeviceNAME/BM280/
|
|
47
|
-
- `/DeviceNAME/BM280/
|
|
48
|
-
- `/DeviceNAME/BM280/
|
|
49
|
-
- `/DeviceNAME/BM280/
|
|
50
|
-
- `/DeviceNAME/BM280/
|
|
51
|
-
- `/DeviceNAME/BM280/
|
|
52
|
-
- `/DeviceNAME/BM280/
|
|
53
|
-
- `/DeviceNAME/BM280/
|
|
54
|
-
- `/DeviceNAME/BM280/
|
|
55
|
-
- `/DeviceNAME/BM280/
|
|
56
|
-
- `/DeviceNAME/BM280/
|
|
57
|
-
- `/DeviceNAME/BM280/
|
|
58
|
-
- `/DeviceNAME/BM280/
|
|
59
|
-
- `/DeviceNAME/BM280/
|
|
60
|
-
- `/DeviceNAME/BM280/
|
|
61
|
-
- `/DeviceNAME/BM280/
|
|
62
|
-
- `/DeviceNAME/BM280/
|
|
63
|
-
- `/DeviceNAME/BM280/
|
|
64
|
-
- `/DeviceNAME/BM280/
|
|
65
|
-
- `/DeviceNAME/BM280/
|
|
66
|
-
- `/DeviceNAME/BM280/
|
|
67
|
-
- `/DeviceNAME/BM280/
|
|
68
|
-
- `/DeviceNAME/BM280/
|
|
69
|
-
- `/DeviceNAME/BM280/
|
|
70
|
-
- `/DeviceNAME/BM280/
|
|
71
|
-
- `/DeviceNAME/BM280/
|
|
72
|
-
- `/DeviceNAME/BM280/
|
|
73
|
-
- `/DeviceNAME/BM280/
|
|
74
|
-
- `/DeviceNAME/BM280/
|
|
75
|
-
- `/DeviceNAME/BM280/
|
|
76
|
-
- `/DeviceNAME/BM280/
|
|
77
|
-
- `/DeviceNAME/BM280/
|
|
78
|
-
- `/DeviceNAME/BM280/
|
|
79
|
-
- `/DeviceNAME/BM280/
|
|
80
|
-
- `/DeviceNAME/
|
|
81
|
-
- `/DeviceNAME/
|
|
82
|
-
- `/DeviceNAME/SonoffSC/
|
|
83
|
-
- `/DeviceNAME/SonoffSC/
|
|
84
|
-
- `/DeviceNAME/
|
|
85
|
-
- `/DeviceNAME/SDS0X1/
|
|
86
|
-
- `/DeviceNAME/SDS0X1/
|
|
87
|
-
- `/DeviceNAME/SDS0X1/
|
|
88
|
-
- `/DeviceNAME/SDS0X1/
|
|
89
|
-
- `/DeviceNAME/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
* `
|
|
98
|
-
* `
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* `
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
1
|
+

|
|
2
|
+
# ioBroker Sonoff
|
|
3
|
+
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
[](https://www.npmjs.com/package/iobroker.sonoff)
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
[](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
|
|
10
|
+
[](https://www.npmjs.com/package/iobroker.sonoff)
|
|
11
|
+
|
|
12
|
+
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
|
|
13
|
+
|
|
14
|
+
## Comparison of ioBroker adapters using MQTT protocol
|
|
15
|
+
If you only have Tasmotas speaking MQTT protocol go for `ioBroker.sonoff`. For other scenarios consider the different options:
|
|
16
|
+
|
|
17
|
+
| Feature | ioBroker.sonoff | [ioBroker.mqtt](https://github.com/ioBroker/ioBroker.mqtt/) (in broker mode) | [ioBroker.mqtt](https://github.com/ioBroker/ioBroker.mqtt/) (in client mode) | [ioBroker.mqtt-client](https://github.com/Pmant/ioBroker.mqtt-client/) |
|
|
18
|
+
|-----------------------------------------------|------------------|-------------------------------------------------------------------------------|------------------------------------------------------------------------------|------------------------------------------------------------------------|
|
|
19
|
+
| Has a built-in MQTT broker | yes | yes | no | no |
|
|
20
|
+
| Relays messages to other MQTT subscribers | NO!!! | yes | not aplicable | not aplicable |
|
|
21
|
+
| External MQTT broker | unsupported | unsupported | required | required |
|
|
22
|
+
| Tasmota MQTT messages to ioBroker Objects | smart processing | 1:1 processing of all messages | 1:1 processing of subscribed messages | 1:1 processing of subscribed messages |
|
|
23
|
+
| non-Tasmota MQTT messages to ioBroker Objects | no processing | 1:1 processing of all messages | 1:1 processing of subscribed messages | 1:1 processing of subscribed messages |
|
|
24
|
+
| publish ioBroker values as MQTT messages | none | configured subtrees | configured subtrees | individually configured values |
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
This adapter communicates with Sonoff devices with Tasmota firmware or ESP devices via MQTT.
|
|
29
|
+
|
|
30
|
+
Following topics are expected:
|
|
31
|
+
- `tele/DeviceNAME/STATE`
|
|
32
|
+
- `tele/DeviceNAME/SENSOR`
|
|
33
|
+
- `tele/DeviceNAME/INFOx`
|
|
34
|
+
- `tele/DeviceNAME/ENERGY`
|
|
35
|
+
- `cmnd/DeviceNAME/POWERx`
|
|
36
|
+
- `stat/DeviceNAME/POWERx`
|
|
37
|
+
- `/DeviceNAME/BM280/Temperature`
|
|
38
|
+
- `/DeviceNAME/BM280/Humidity`
|
|
39
|
+
- `/DeviceNAME/BM280/Temperatur`
|
|
40
|
+
- `/DeviceNAME/BM280/Feuchtigkeit`
|
|
41
|
+
- `/DeviceNAME/BM280/Vcc`
|
|
42
|
+
- `/DeviceNAME/BM280/VCC`
|
|
43
|
+
- `/DeviceNAME/BM280/Laufzeit`
|
|
44
|
+
- `/DeviceNAME/BM280/RSSI`
|
|
45
|
+
- `/DeviceNAME/BM280/POWER`
|
|
46
|
+
- `/DeviceNAME/BM280/POWER1`
|
|
47
|
+
- `/DeviceNAME/BM280/POWER2`
|
|
48
|
+
- `/DeviceNAME/BM280/POWER3`
|
|
49
|
+
- `/DeviceNAME/BM280/POWER4`
|
|
50
|
+
- `/DeviceNAME/BM280/Switch1`
|
|
51
|
+
- `/DeviceNAME/BM280/Switch2`
|
|
52
|
+
- `/DeviceNAME/BM280/Total`
|
|
53
|
+
- `/DeviceNAME/BM280/Today`
|
|
54
|
+
- `/DeviceNAME/BM280/heute`
|
|
55
|
+
- `/DeviceNAME/BM280/Yesterday`
|
|
56
|
+
- `/DeviceNAME/BM280/gestern`
|
|
57
|
+
- `/DeviceNAME/BM280/Faktor`
|
|
58
|
+
- `/DeviceNAME/BM280/Factor`
|
|
59
|
+
- `/DeviceNAME/BM280/Power`
|
|
60
|
+
- `/DeviceNAME/BM280/Leistung`
|
|
61
|
+
- `/DeviceNAME/BM280/Voltage`
|
|
62
|
+
- `/DeviceNAME/BM280/Spannung`
|
|
63
|
+
- `/DeviceNAME/BM280/Current`
|
|
64
|
+
- `/DeviceNAME/BM280/Strom`
|
|
65
|
+
- `/DeviceNAME/BM280/Punkt`
|
|
66
|
+
- `/DeviceNAME/BM280/Counter1`
|
|
67
|
+
- `/DeviceNAME/BM280/Counter2`
|
|
68
|
+
- `/DeviceNAME/BM280/Counter3`
|
|
69
|
+
- `/DeviceNAME/BM280/Counter4`
|
|
70
|
+
- `/DeviceNAME/BM280/Pressure`
|
|
71
|
+
- `/DeviceNAME/BM280/SeaPressure`
|
|
72
|
+
- `/DeviceNAME/BM280/Druck`
|
|
73
|
+
- `/DeviceNAME/BM280/Approx. Altitude`
|
|
74
|
+
- `/DeviceNAME/BM280/Module`
|
|
75
|
+
- `/DeviceNAME/BM280/Version`
|
|
76
|
+
- `/DeviceNAME/BM280/Hostname`
|
|
77
|
+
- `/DeviceNAME/BM280/IPAddress`
|
|
78
|
+
- `/DeviceNAME/BM280/IPaddress`
|
|
79
|
+
- `/DeviceNAME/BM280/RestartReason`
|
|
80
|
+
- `/DeviceNAME/BM280/CarbonDioxide`
|
|
81
|
+
- `/DeviceNAME/DHT11/Illuminance`
|
|
82
|
+
- `/DeviceNAME/SonoffSC/Light`
|
|
83
|
+
- `/DeviceNAME/SonoffSC/Noise`
|
|
84
|
+
- `/DeviceNAME/SonoffSC/AirQuality`
|
|
85
|
+
- `/DeviceNAME/SDS0X1/PM2.5`
|
|
86
|
+
- `/DeviceNAME/SDS0X1/PM10`
|
|
87
|
+
- `/DeviceNAME/SDS0X1/UvLevel`
|
|
88
|
+
- `/DeviceNAME/SDS0X1/Latitude`
|
|
89
|
+
- `/DeviceNAME/SDS0X1/Longitude`
|
|
90
|
+
- `/DeviceNAME/SR04/Distance`
|
|
91
|
+
|
|
92
|
+
**Note**: The list could be easily extended. Please send `Pull Requests` or *debug data* for unknown states to developer (via issue).
|
|
93
|
+
|
|
94
|
+
## Auto-creation of objects
|
|
95
|
+
In the web config you can determine which MQTT telegrams create the new objects not in default data points:
|
|
96
|
+
|
|
97
|
+
* `TELE_SENSOR` - creates objects from `tele/xxx/SENSOR` telegrams
|
|
98
|
+
* `TELE_STATE` - creates objects from `tele/xxx/STATE` telegrams
|
|
99
|
+
* `STAT_RESULT` - creates objects from `stat/xxx/RESULT` telegrams
|
|
100
|
+
|
|
101
|
+
Usually TELE_SENSOR should be sufficient for most users.
|
|
102
|
+
|
|
103
|
+
* `Create object tree` creates objects as tree structure
|
|
104
|
+
|
|
105
|
+
**Warning!** This option will mess up your sonoff object tree! You have to redo all the settings for storage...
|
|
106
|
+
Store the object structure as JSON file, so you can recreate your old structure.
|
|
107
|
+
Best is to stop the adapter, delete all objects under sonoff and start the adapter again.
|
|
108
|
+
|
|
109
|
+
## Flags for LED controllers
|
|
110
|
+
The mode states will be created only if device has one of the states:
|
|
111
|
+
|
|
112
|
+
- `Red`, `Green`, `Blue`, `WW`, `CW`, `Color`, `RGB_POWER`, `WW_POWER`, `CW_POWER`, `Hue`, `Saturation`
|
|
113
|
+
|
|
114
|
+
States:
|
|
115
|
+
|
|
116
|
+
* `modeLedExor` - exor for white LEDs and color LEDs => if the white LEDs are switched on, color LEDs are switched off and vice versa (default true)
|
|
117
|
+
* `modeReadColors` - allow for color read from MQTT (default false)
|
|
118
|
+
|
|
119
|
+
<!--
|
|
120
|
+
Placeholder for the next version (at the beginning of the line):
|
|
121
|
+
### **WORK IN PROGRESS**
|
|
122
|
+
-->
|
|
122
123
|
## Changelog
|
|
123
|
-
### 2.5.
|
|
124
|
+
### 2.5.3 (2023-03-30)
|
|
125
|
+
* (GreatSUN) Implemented potential `.STATE.POWER` update
|
|
126
|
+
|
|
127
|
+
### 2.5.1 (2022-04-23)
|
|
124
128
|
* (Apollon77) Fix crash case reported by Sentry
|
|
125
129
|
|
|
126
|
-
### 2.5.0 (2022-03-21)
|
|
127
|
-
* (GreatSUN) Implement writing of NSPanel Widget changes
|
|
130
|
+
### 2.5.0 (2022-03-21)
|
|
131
|
+
* (GreatSUN) Implement writing of NSPanel Widget changes
|
|
128
132
|
* (Apollon77) Fix crash case reported by Sentry
|
|
129
133
|
|
|
130
|
-
### 2.4.7 (2021-11-14)
|
|
134
|
+
### 2.4.7 (2021-11-14)
|
|
131
135
|
* (Apollon77) Fix crash case (Sentry IOBROKER-SONOFF-1S)
|
|
132
136
|
|
|
133
|
-
### 2.4.6 (2021-11-13)
|
|
134
|
-
* (Apollon77) Fix some crash cases reported by Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)
|
|
137
|
+
### 2.4.6 (2021-11-13)
|
|
138
|
+
* (Apollon77) Fix some crash cases reported by Sentry (IOBROKER-SONOFF-B, IOBROKER-SONOFF-R, IOBROKER-SONOFF-4, IOBROKER-SONOFF-1, IOBROKER-SONOFF-13, IOBROKER-SONOFF-1J, IOBROKER-SONOFF-16, IOBROKER-SONOFF-3, IOBROKER-SONOFF-H)
|
|
135
139
|
* (Apollon77) Adjust Uptime to mixed because it seems that it can be number or string
|
|
136
140
|
|
|
137
|
-
### 2.4.5 (2021-07-21)
|
|
141
|
+
### 2.4.5 (2021-07-21)
|
|
138
142
|
* (Apollon77) Fix some crash cases reported by Sentry
|
|
139
143
|
|
|
140
|
-
### 2.4.4 (2021-07-19)
|
|
144
|
+
### 2.4.4 (2021-07-19)
|
|
141
145
|
* (bluefox) Added UvaIntensity and UvbIntensity
|
|
142
146
|
|
|
143
|
-
### 2.4.3 (2021-07-18)
|
|
147
|
+
### 2.4.3 (2021-07-18)
|
|
144
148
|
* (bluefox) Better type detection for non-described states
|
|
145
149
|
|
|
146
|
-
### 2.4.2 (2021-07-17)
|
|
150
|
+
### 2.4.2 (2021-07-17)
|
|
147
151
|
* (bluefox) Optimize for js-controller 3.3
|
|
148
152
|
|
|
149
|
-
### 2.4.1 (2021-07-17)
|
|
150
|
-
* (Apollon77/bluefox) Optimize for js-controller 3.3
|
|
153
|
+
### 2.4.1 (2021-07-17)
|
|
154
|
+
* (Apollon77/bluefox) Optimize for js-controller 3.3
|
|
151
155
|
* (Apollon77) Add Sentry for error reporting with js-controller 3.x+
|
|
152
156
|
|
|
153
|
-
### 2.4.0 (2021-02-04)
|
|
154
|
-
* (anwa) add several data points
|
|
155
|
-
* (anwa) Fix translation for 'ignorePings'
|
|
156
|
-
* (anwa) Fix wrong unit for humidity
|
|
157
|
-
* (anwa) Config option to create a complete object tree instead of a flat structure
|
|
158
|
-
* (anwa) Change Action type to string
|
|
157
|
+
### 2.4.0 (2021-02-04)
|
|
158
|
+
* (anwa) add several data points
|
|
159
|
+
* (anwa) Fix translation for 'ignorePings'
|
|
160
|
+
* (anwa) Fix wrong unit for humidity
|
|
161
|
+
* (anwa) Config option to create a complete object tree instead of a flat structure
|
|
162
|
+
* (anwa) Change Action type to string
|
|
159
163
|
* (Apollon77) js-controller 2.0 is required at least
|
|
160
164
|
|
|
161
|
-
### 2.3.3 (2019-11-27)
|
|
165
|
+
### 2.3.3 (2019-11-27)
|
|
162
166
|
* (bluefox) Error with empty packet was caught
|
|
163
167
|
|
|
164
|
-
### 2.3.2 (2019-10-23)
|
|
165
|
-
* (bluefox) Fixed the password input in the configuration
|
|
166
|
-
* (bluefox) Allowed to set the IP interface for server
|
|
167
|
-
* (bluefox) Fixed tests for js-controller 2.0
|
|
168
|
-
* (bluefox) Fixed the monitoring of the client connection
|
|
169
|
-
* (bluefox) Changed "indicator.connected" to "indicator.reachable" for clients
|
|
170
|
-
* (bluefox) Supported `{POWERn: "true"}`
|
|
168
|
+
### 2.3.2 (2019-10-23)
|
|
169
|
+
* (bluefox) Fixed the password input in the configuration
|
|
170
|
+
* (bluefox) Allowed to set the IP interface for server
|
|
171
|
+
* (bluefox) Fixed tests for js-controller 2.0
|
|
172
|
+
* (bluefox) Fixed the monitoring of the client connection
|
|
173
|
+
* (bluefox) Changed "indicator.connected" to "indicator.reachable" for clients
|
|
174
|
+
* (bluefox) Supported `{POWERn: "true"}`
|
|
171
175
|
* (bluefox) Correct processing of `{temp: nan}`
|
|
172
176
|
|
|
173
|
-
### 2.2.3 (2019-01-10)
|
|
177
|
+
### 2.2.3 (2019-01-10)
|
|
174
178
|
* (simatec) Support for compact mode
|
|
175
179
|
|
|
176
|
-
### 2.2.2 (2018-06-22)
|
|
180
|
+
### 2.2.2 (2018-06-22)
|
|
177
181
|
* (bluefox) Configuration was fixed
|
|
178
182
|
|
|
179
|
-
### 2.2.1 (2018-06-20)
|
|
183
|
+
### 2.2.1 (2018-06-20)
|
|
180
184
|
* (bluefox) '-' in names was allowed again
|
|
181
185
|
|
|
182
|
-
### 2.2.0 (2018-05-22)
|
|
186
|
+
### 2.2.0 (2018-05-22)
|
|
183
187
|
* (gemu2015) auto generate objects, support for arrays (channel), led-controllers improved
|
|
184
188
|
|
|
185
|
-
### 2.1.3 (2018-05-08)
|
|
189
|
+
### 2.1.3 (2018-05-08)
|
|
186
190
|
* (bluefox) Added HC-SR04 Ultrasonic Sensor
|
|
187
191
|
|
|
188
|
-
### 2.1.2 (2018-04-23)
|
|
192
|
+
### 2.1.2 (2018-04-23)
|
|
189
193
|
* (bluefox) Added support of UvLight, Longitude and Latitude
|
|
190
194
|
|
|
191
|
-
### 2.1.1 (2018-04-13)
|
|
195
|
+
### 2.1.1 (2018-04-13)
|
|
192
196
|
* (bluefox) Support of the particle concentration sensor
|
|
193
197
|
|
|
194
|
-
### 2.1.0 (2018-03-30)
|
|
195
|
-
* (gemu2015) Support of the devices control (many thanks :)
|
|
196
|
-
* (gemu2015) Support of many new values
|
|
197
|
-
* (modmax) Update alive status of the clients
|
|
198
|
+
### 2.1.0 (2018-03-30)
|
|
199
|
+
* (gemu2015) Support of the devices control (many thanks :)
|
|
200
|
+
* (gemu2015) Support of many new values
|
|
201
|
+
* (modmax) Update alive status of the clients
|
|
198
202
|
* (modmax) Added POWER5-8 and Switch3-4
|
|
199
203
|
|
|
200
|
-
### 2.0.2 (2018-03-19)
|
|
201
|
-
* (modmax) Fixing reconnection of clients
|
|
204
|
+
### 2.0.2 (2018-03-19)
|
|
205
|
+
* (modmax) Fixing reconnection of clients
|
|
202
206
|
* (bluefox) Add SeaPressure
|
|
203
207
|
|
|
204
|
-
### 2.0.1 (2018-03-17)
|
|
205
|
-
* (bluefox) Replace stream handler
|
|
206
|
-
* (bluefox) Add timeout for clients
|
|
207
|
-
* (bluefox) Add Light/Noise/AirQuality
|
|
208
|
+
### 2.0.1 (2018-03-17)
|
|
209
|
+
* (bluefox) Replace stream handler
|
|
210
|
+
* (bluefox) Add timeout for clients
|
|
211
|
+
* (bluefox) Add Light/Noise/AirQuality
|
|
208
212
|
* (bluefox) Do not send pingresp for invalid clients
|
|
209
213
|
|
|
210
|
-
### 1.0.3 (2018-03-03)
|
|
214
|
+
### 1.0.3 (2018-03-03)
|
|
211
215
|
* (bluefox) Add Analog0/1/2/3 sensor
|
|
212
216
|
|
|
213
|
-
### 1.0.2 (2018-02-17)
|
|
217
|
+
### 1.0.2 (2018-02-17)
|
|
214
218
|
* (Apollon77) Add Illuminance sensor
|
|
215
219
|
|
|
216
|
-
### 1.0.1 (2018-02-05)
|
|
217
|
-
* (bluefox) Ready for admin3
|
|
220
|
+
### 1.0.1 (2018-02-05)
|
|
221
|
+
* (bluefox) Ready for admin3
|
|
218
222
|
* (bluefox) Added CO2 sensor
|
|
219
223
|
|
|
220
|
-
### 1.0.0 (2017-11-27)
|
|
221
|
-
* (AlZiBa) typo @ alive
|
|
222
|
-
* (AlZiBa) add Today's power consumption for Sonoff POW
|
|
224
|
+
### 1.0.0 (2017-11-27)
|
|
225
|
+
* (AlZiBa) typo @ alive
|
|
226
|
+
* (AlZiBa) add Today's power consumption for Sonoff POW
|
|
223
227
|
* (AlZiBa) unit of power consumption is kWh
|
|
224
228
|
|
|
225
|
-
### 0.3.3 (2017-11-03)
|
|
229
|
+
### 0.3.3 (2017-11-03)
|
|
226
230
|
* (bluefox) Add counters
|
|
227
231
|
|
|
228
|
-
### 0.3.2 (2017-10-22)
|
|
232
|
+
### 0.3.2 (2017-10-22)
|
|
229
233
|
* (Tan-DE) Small change for Switch1. Switch2 and additional IPaddress added.
|
|
230
234
|
|
|
231
|
-
### 0.3.1 (2017-10-12)
|
|
235
|
+
### 0.3.1 (2017-10-12)
|
|
232
236
|
* (bluefox) Fix tests and LWT
|
|
233
237
|
|
|
234
|
-
### 0.3.0 (2017-10-06)
|
|
238
|
+
### 0.3.0 (2017-10-06)
|
|
235
239
|
* (bluefox) Add INFO and ESP
|
|
236
240
|
|
|
237
|
-
### 0.2.0 (2017-10-05)
|
|
241
|
+
### 0.2.0 (2017-10-05)
|
|
238
242
|
* (bluefox) Add ENERGY and DS18x20
|
|
239
243
|
|
|
240
|
-
### 0.1.0 (2017-10-01)
|
|
244
|
+
### 0.1.0 (2017-10-01)
|
|
241
245
|
* (bluefox) initial commit
|
|
242
246
|
|
|
243
|
-
## License
|
|
244
|
-
|
|
245
|
-
The MIT License (MIT)
|
|
246
|
-
|
|
247
|
-
Copyright (c) 2017-
|
|
248
|
-
|
|
249
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
250
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
251
|
-
in the Software without restriction, including without limitation the rights
|
|
252
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
253
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
254
|
-
furnished to do so, subject to the following conditions:
|
|
255
|
-
|
|
256
|
-
The above copyright notice and this permission notice shall be included in
|
|
257
|
-
all copies or substantial portions of the Software.
|
|
258
|
-
|
|
259
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
260
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
261
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
262
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
263
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
264
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
247
|
+
## License
|
|
248
|
+
|
|
249
|
+
The MIT License (MIT)
|
|
250
|
+
|
|
251
|
+
Copyright (c) 2017-2023, bluefox <dogafox@gmail.com>
|
|
252
|
+
|
|
253
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
254
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
255
|
+
in the Software without restriction, including without limitation the rights
|
|
256
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
257
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
258
|
+
furnished to do so, subject to the following conditions:
|
|
259
|
+
|
|
260
|
+
The above copyright notice and this permission notice shall be included in
|
|
261
|
+
all copies or substantial portions of the Software.
|
|
262
|
+
|
|
263
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
264
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
265
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
266
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
267
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
268
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
265
269
|
THE SOFTWARE.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Adapter settings": "Sonoff Einstellungen",
|
|
3
|
+
"Authentication settings": "Authentifizierungseinstellungen",
|
|
4
|
+
"Auto creation of states": "Automatische Erstellung von Zuständen",
|
|
5
|
+
"Chained certificate:": "Kettenzertifikat",
|
|
6
|
+
"Client": "Client/subscriber",
|
|
7
|
+
"Client ID:": "Client ID",
|
|
8
|
+
"Client timeout (sec):": "Client-Zeitüberschreitung (in Sek.)",
|
|
9
|
+
"Connection": "Verbindung",
|
|
10
|
+
"Connection settings": "Verbindungseinstellungen",
|
|
11
|
+
"Create object tree (WARNING! Check README.md!)": "Objektbaum erstellen (WARNUNG! Bitte README.md lesen!)",
|
|
12
|
+
"Divided by comma": "Mit Komma getrennt, z.B 'mqtt/0/#,javascript/#'",
|
|
13
|
+
"For stat/RESULT": "Für stat/RESULT",
|
|
14
|
+
"For tele/SENSOR": "Für tele/SENSOR",
|
|
15
|
+
"For tele/STATE": "Für tele/STATE",
|
|
16
|
+
"IP": "IP-Adresse",
|
|
17
|
+
"Ignore warnings with pingreq": "Warnungen mit pingreq ignorieren",
|
|
18
|
+
"Interval before send topics by connection:": "Interval vom Senden von allen Topics bei der Verbindung",
|
|
19
|
+
"Main settings": "Haupteinstellungen",
|
|
20
|
+
"Mask to publish": "z.B 'mqtt.0.*,javascript.*'",
|
|
21
|
+
"Mask to publish own states:": "Maske für Bekanntgeben von eigenen States",
|
|
22
|
+
"Max topic length:": "Maximale Topicnamelänge",
|
|
23
|
+
"Password confirmation:": "Passwort-Wiederholung",
|
|
24
|
+
"Password:": "Passwort",
|
|
25
|
+
"Patterns:": "Subscribe patterns",
|
|
26
|
+
"Port:": "Port",
|
|
27
|
+
"Prefix for topics:": "Prefix für alle Topics",
|
|
28
|
+
"Private certificate:": "Privates Zertifikat",
|
|
29
|
+
"Public certificate:": "Publikzertifikat",
|
|
30
|
+
"Publish all states at start:": "Bekanntgeben eigene States beim Verbinden",
|
|
31
|
+
"Publish states on subscribe:": "Bekanntgeben von States bei Subscribe",
|
|
32
|
+
"Result: ": "Ergebnis ",
|
|
33
|
+
"Secure:": "SSL",
|
|
34
|
+
"Send interval:": "Sendeintervall",
|
|
35
|
+
"Send states (ack=true) too:": "Sende auch Zustände (ack=true)",
|
|
36
|
+
"Server": "Server/broker",
|
|
37
|
+
"Set certificates or load it first in the system settings (right top).": "Setze Zertificate oder lade die erst unter System/Einstellungen (oben rechts).",
|
|
38
|
+
"Sonoff Settings": "Sonoff Einstellungen",
|
|
39
|
+
"Sonoff adapter settings": "Sonoff Adapter-Einstellungen",
|
|
40
|
+
"Store only on change:": "Publish nur bei Änderung",
|
|
41
|
+
"Test connection": "Teste Verbindung zum Server",
|
|
42
|
+
"Trace output for every message:": "Trace Ausgabe für jede Meldung",
|
|
43
|
+
"Type:": "Typ",
|
|
44
|
+
"URL:": "URL",
|
|
45
|
+
"Use WebSockets:": "Benutze auch WebSockets",
|
|
46
|
+
"Use chunk patch:": "Benutze Patch für Chunking",
|
|
47
|
+
"Use different topic names for set and get:": "Unterschiedliche Namen für setzten und lesen",
|
|
48
|
+
"User:": "Benutzer",
|
|
49
|
+
"chars": "Symbolen",
|
|
50
|
+
"connected": "verbunden",
|
|
51
|
+
"ms": "ms"
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Adapter settings": "Sonoff settings",
|
|
3
|
+
"Authentication settings": "Authentication settings",
|
|
4
|
+
"Auto creation of states": "Auto creation of states",
|
|
5
|
+
"Chained certificate:": "Chained certificate",
|
|
6
|
+
"Client": "Client/subscriber",
|
|
7
|
+
"Client ID:": "Client ID",
|
|
8
|
+
"Client timeout (sec):": "Client timeout (sec)",
|
|
9
|
+
"Connection": "Connection",
|
|
10
|
+
"Connection settings": "Connection settings",
|
|
11
|
+
"Create object tree (WARNING! Check README.md!)": "Create object tree (WARNING! Check README.md!)",
|
|
12
|
+
"Divided by comma": "Divided by comma, e.g. 'mqtt/0/#,javascript/#'",
|
|
13
|
+
"For stat/RESULT": "For stat/RESULT",
|
|
14
|
+
"For tele/SENSOR": "For tele/SENSOR",
|
|
15
|
+
"For tele/STATE": "For tele/STATE",
|
|
16
|
+
"IP": "IP",
|
|
17
|
+
"Ignore warnings with pingreq": "Ignore warnings with pingreq",
|
|
18
|
+
"Interval before send topics by connection:": "Interval before send topics by connection",
|
|
19
|
+
"Main settings": "Main settings",
|
|
20
|
+
"Mask to publish": "e.g. 'mqtt.0.*,javascript.*'",
|
|
21
|
+
"Mask to publish own states:": "Mask to publish own states",
|
|
22
|
+
"Max topic length:": "Max topic name length",
|
|
23
|
+
"Password confirmation:": "Password confirmation",
|
|
24
|
+
"Password:": "Password",
|
|
25
|
+
"Patterns:": "Subscribe patterns",
|
|
26
|
+
"Port:": "Port",
|
|
27
|
+
"Prefix for topics:": "Prefix for all topics",
|
|
28
|
+
"Private certificate:": "Private certificate",
|
|
29
|
+
"Public certificate:": "Public certificate",
|
|
30
|
+
"Publish all states at start:": "Publish own states on connect",
|
|
31
|
+
"Publish states on subscribe:": "Publish states on subscribe",
|
|
32
|
+
"Result: ": "Result ",
|
|
33
|
+
"Secure:": "Secure",
|
|
34
|
+
"Send interval:": "Send interval",
|
|
35
|
+
"Send states (ack=true) too:": "Send states (ack=true) too",
|
|
36
|
+
"Server": "Server/broker",
|
|
37
|
+
"Set certificates or load it first in the system settings (right top).": "Set certificates or load it first in the system settings (right top).",
|
|
38
|
+
"Sonoff Settings": "Sonoff Settings",
|
|
39
|
+
"Sonoff adapter settings": "Sonoff adapter settings",
|
|
40
|
+
"Store only on change:": "Publish only on change",
|
|
41
|
+
"Test connection": "Test connection with Server",
|
|
42
|
+
"Trace output for every message:": "Trace output for every message",
|
|
43
|
+
"Type:": "Type",
|
|
44
|
+
"URL:": "URL",
|
|
45
|
+
"Use WebSockets:": "Use WebSockets too",
|
|
46
|
+
"Use chunk patch:": "Use chunk patch",
|
|
47
|
+
"Use different topic names for set and get:": "Use different topic names for set and get",
|
|
48
|
+
"User:": "User",
|
|
49
|
+
"chars": "chars",
|
|
50
|
+
"connected": "connected",
|
|
51
|
+
"ms": "ms"
|
|
52
|
+
}
|