iobroker.sonoff 2.5.0 → 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 CHANGED
@@ -1,22 +1,22 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014-2022 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
-
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,262 +1,269 @@
1
- ![Logo](admin/sonoff.png)
2
- # ioBroker Sonoff
3
-
4
- ![Number of Installations](http://iobroker.live/badges/sonoff-installed.svg)
5
- ![Number of Installations](http://iobroker.live/badges/sonoff-stable.svg)
6
- [![NPM version](http://img.shields.io/npm/v/iobroker.sonoff.svg)](https://www.npmjs.com/package/iobroker.sonoff)
7
-
8
- ![Test and Release](https://github.com/ioBroker/ioBroker.sonoff/workflows/Test%20and%20Release/badge.svg)
9
- [![Translation status](https://weblate.iobroker.net/widgets/adapters/-/sonoff/svg-badge.svg)](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
10
- [![Downloads](https://img.shields.io/npm/dm/iobroker.sonoff.svg)](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
- ||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/)|
17
- |---|---|---|---|---|
18
- |Has a built-in MQTT broker|yes|yes|no|no|
19
- |Relays messages to other MQTT subscribers|NO!!!|yes|not aplicable|not aplicable|
20
- |External MQTT broker|unsupported|unsupported|required|required|
21
- |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|
22
- |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|
23
- |publish ioBroker values as MQTT messages|none|configured subtrees|configured subtrees|individually configured values|
24
-
25
- ## Usage
26
-
27
- This adapter communicates with Sonoff devices with Tasmota firmware or ESP devices via MQTT.
28
-
29
- Following topics are expected:
30
- - `tele/DeviceNAME/STATE`
31
- - `tele/DeviceNAME/SENSOR`
32
- - `tele/DeviceNAME/INFOx`
33
- - `tele/DeviceNAME/ENERGY`
34
- - `cmnd/DeviceNAME/POWERx`
35
- - `stat/DeviceNAME/POWERx`
36
- - `/DeviceNAME/BM280/Temperature`
37
- - `/DeviceNAME/BM280/Humidity`
38
- - `/DeviceNAME/BM280/Temperatur`
39
- - `/DeviceNAME/BM280/Feuchtigkeit`
40
- - `/DeviceNAME/BM280/Vcc`
41
- - `/DeviceNAME/BM280/VCC`
42
- - `/DeviceNAME/BM280/Laufzeit`
43
- - `/DeviceNAME/BM280/RSSI`
44
- - `/DeviceNAME/BM280/POWER`
45
- - `/DeviceNAME/BM280/POWER1`
46
- - `/DeviceNAME/BM280/POWER2`
47
- - `/DeviceNAME/BM280/POWER3`
48
- - `/DeviceNAME/BM280/POWER4`
49
- - `/DeviceNAME/BM280/Switch1`
50
- - `/DeviceNAME/BM280/Switch2`
51
- - `/DeviceNAME/BM280/Total`
52
- - `/DeviceNAME/BM280/Today`
53
- - `/DeviceNAME/BM280/heute`
54
- - `/DeviceNAME/BM280/Yesterday`
55
- - `/DeviceNAME/BM280/gestern`
56
- - `/DeviceNAME/BM280/Faktor`
57
- - `/DeviceNAME/BM280/Factor`
58
- - `/DeviceNAME/BM280/Power`
59
- - `/DeviceNAME/BM280/Leistung`
60
- - `/DeviceNAME/BM280/Voltage`
61
- - `/DeviceNAME/BM280/Spannung`
62
- - `/DeviceNAME/BM280/Current`
63
- - `/DeviceNAME/BM280/Strom`
64
- - `/DeviceNAME/BM280/Punkt`
65
- - `/DeviceNAME/BM280/Counter1`
66
- - `/DeviceNAME/BM280/Counter2`
67
- - `/DeviceNAME/BM280/Counter3`
68
- - `/DeviceNAME/BM280/Counter4`
69
- - `/DeviceNAME/BM280/Pressure`
70
- - `/DeviceNAME/BM280/SeaPressure`
71
- - `/DeviceNAME/BM280/Druck`
72
- - `/DeviceNAME/BM280/Approx. Altitude`
73
- - `/DeviceNAME/BM280/Module`
74
- - `/DeviceNAME/BM280/Version`
75
- - `/DeviceNAME/BM280/Hostname`
76
- - `/DeviceNAME/BM280/IPAddress`
77
- - `/DeviceNAME/BM280/IPaddress`
78
- - `/DeviceNAME/BM280/RestartReason`
79
- - `/DeviceNAME/BM280/CarbonDioxide`
80
- - `/DeviceNAME/DHT11/Illuminance`
81
- - `/DeviceNAME/SonoffSC/Light`
82
- - `/DeviceNAME/SonoffSC/Noise`
83
- - `/DeviceNAME/SonoffSC/AirQuality`
84
- - `/DeviceNAME/SDS0X1/PM2.5`
85
- - `/DeviceNAME/SDS0X1/PM10`
86
- - `/DeviceNAME/SDS0X1/UvLevel`
87
- - `/DeviceNAME/SDS0X1/Latitude`
88
- - `/DeviceNAME/SDS0X1/Longitude`
89
- - `/DeviceNAME/SR04/Distance`
90
-
91
- **Note**: The list could be easily extended. Please send `Pull Requests` or *debug data* for unknown states to developer (via issue).
92
-
93
- ## Auto-creation of objects
94
- In the web config you can determine which MQTT telegrams create the new objects not in default data points:
95
-
96
- * `TELE_SENSOR` - creates objects from `tele/xxx/SENSOR` telegrams
97
- * `TELE_STATE` - creates objects from `tele/xxx/STATE` telegrams
98
- * `STAT_RESULT` - creates objects from `stat/xxx/RESULT` telegrams
99
-
100
- Usually TELE_SENSOR should be sufficient for most users.
101
-
102
- * `Create object tree` creates objects as tree structure
103
-
104
- **Warning!** This option will mess up your sonoff object tree! You have to redo all the settings for storage...
105
- Store the object structure as JSON file, so you can recreate your old structure.
106
- Best is to stop the adapter, delete all objects under sonoff and start the adapter again.
107
-
108
- ## Flags for LED controllers
109
- The mode states will be created only if device has one of the states:
110
-
111
- - `Red`, `Green`, `Blue`, `WW`, `CW`, `Color`, `RGB_POWER`, `WW_POWER`, `CW_POWER`, `Hue`, `Saturation`
112
-
113
- States:
114
-
115
- * `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)
116
- * `modeReadColors` - allow for color read from MQTT (default false)
117
-
118
- <!--
119
- Placeholder for the next version (at the beginning of the line):
120
- ### __WORK IN PROGRESS__
121
- -->
1
+ ![Logo](admin/sonoff.png)
2
+ # ioBroker Sonoff
3
+
4
+ ![Number of Installations](http://iobroker.live/badges/sonoff-installed.svg)
5
+ ![Number of Installations](http://iobroker.live/badges/sonoff-stable.svg)
6
+ [![NPM version](http://img.shields.io/npm/v/iobroker.sonoff.svg)](https://www.npmjs.com/package/iobroker.sonoff)
7
+
8
+ ![Test and Release](https://github.com/ioBroker/ioBroker.sonoff/workflows/Test%20and%20Release/badge.svg)
9
+ [![Translation status](https://weblate.iobroker.net/widgets/adapters/-/sonoff/svg-badge.svg)](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
10
+ [![Downloads](https://img.shields.io/npm/dm/iobroker.sonoff.svg)](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.0 (2022-03-21)
124
- * (GreatSUN) Implement writing of NSPanel Widget changes
124
+ ### 2.5.3 (2023-03-30)
125
+ * (GreatSUN) Implemented potential `.STATE.POWER` update
126
+
127
+ ### 2.5.1 (2022-04-23)
128
+ * (Apollon77) Fix crash case reported by Sentry
129
+
130
+ ### 2.5.0 (2022-03-21)
131
+ * (GreatSUN) Implement writing of NSPanel Widget changes
125
132
  * (Apollon77) Fix crash case reported by Sentry
126
133
 
127
- ### 2.4.7 (2021-11-14)
134
+ ### 2.4.7 (2021-11-14)
128
135
  * (Apollon77) Fix crash case (Sentry IOBROKER-SONOFF-1S)
129
136
 
130
- ### 2.4.6 (2021-11-13)
131
- * (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)
132
139
  * (Apollon77) Adjust Uptime to mixed because it seems that it can be number or string
133
140
 
134
- ### 2.4.5 (2021-07-21)
141
+ ### 2.4.5 (2021-07-21)
135
142
  * (Apollon77) Fix some crash cases reported by Sentry
136
143
 
137
- ### 2.4.4 (2021-07-19)
144
+ ### 2.4.4 (2021-07-19)
138
145
  * (bluefox) Added UvaIntensity and UvbIntensity
139
146
 
140
- ### 2.4.3 (2021-07-18)
147
+ ### 2.4.3 (2021-07-18)
141
148
  * (bluefox) Better type detection for non-described states
142
149
 
143
- ### 2.4.2 (2021-07-17)
150
+ ### 2.4.2 (2021-07-17)
144
151
  * (bluefox) Optimize for js-controller 3.3
145
152
 
146
- ### 2.4.1 (2021-07-17)
147
- * (Apollon77/bluefox) Optimize for js-controller 3.3
153
+ ### 2.4.1 (2021-07-17)
154
+ * (Apollon77/bluefox) Optimize for js-controller 3.3
148
155
  * (Apollon77) Add Sentry for error reporting with js-controller 3.x+
149
156
 
150
- ### 2.4.0 (2021-02-04)
151
- * (anwa) add several data points
152
- * (anwa) Fix translation for 'ignorePings'
153
- * (anwa) Fix wrong unit for humidity
154
- * (anwa) Config option to create a complete object tree instead of a flat structure
155
- * (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
156
163
  * (Apollon77) js-controller 2.0 is required at least
157
164
 
158
- ### 2.3.3 (2019-11-27)
165
+ ### 2.3.3 (2019-11-27)
159
166
  * (bluefox) Error with empty packet was caught
160
167
 
161
- ### 2.3.2 (2019-10-23)
162
- * (bluefox) Fixed the password input in the configuration
163
- * (bluefox) Allowed to set the IP interface for server
164
- * (bluefox) Fixed tests for js-controller 2.0
165
- * (bluefox) Fixed the monitoring of the client connection
166
- * (bluefox) Changed "indicator.connected" to "indicator.reachable" for clients
167
- * (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"}`
168
175
  * (bluefox) Correct processing of `{temp: nan}`
169
176
 
170
- ### 2.2.3 (2019-01-10)
177
+ ### 2.2.3 (2019-01-10)
171
178
  * (simatec) Support for compact mode
172
179
 
173
- ### 2.2.2 (2018-06-22)
180
+ ### 2.2.2 (2018-06-22)
174
181
  * (bluefox) Configuration was fixed
175
182
 
176
- ### 2.2.1 (2018-06-20)
183
+ ### 2.2.1 (2018-06-20)
177
184
  * (bluefox) '-' in names was allowed again
178
185
 
179
- ### 2.2.0 (2018-05-22)
186
+ ### 2.2.0 (2018-05-22)
180
187
  * (gemu2015) auto generate objects, support for arrays (channel), led-controllers improved
181
188
 
182
- ### 2.1.3 (2018-05-08)
189
+ ### 2.1.3 (2018-05-08)
183
190
  * (bluefox) Added HC-SR04 Ultrasonic Sensor
184
191
 
185
- ### 2.1.2 (2018-04-23)
192
+ ### 2.1.2 (2018-04-23)
186
193
  * (bluefox) Added support of UvLight, Longitude and Latitude
187
194
 
188
- ### 2.1.1 (2018-04-13)
195
+ ### 2.1.1 (2018-04-13)
189
196
  * (bluefox) Support of the particle concentration sensor
190
197
 
191
- ### 2.1.0 (2018-03-30)
192
- * (gemu2015) Support of the devices control (many thanks :)
193
- * (gemu2015) Support of many new values
194
- * (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
195
202
  * (modmax) Added POWER5-8 and Switch3-4
196
203
 
197
- ### 2.0.2 (2018-03-19)
198
- * (modmax) Fixing reconnection of clients
204
+ ### 2.0.2 (2018-03-19)
205
+ * (modmax) Fixing reconnection of clients
199
206
  * (bluefox) Add SeaPressure
200
207
 
201
- ### 2.0.1 (2018-03-17)
202
- * (bluefox) Replace stream handler
203
- * (bluefox) Add timeout for clients
204
- * (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
205
212
  * (bluefox) Do not send pingresp for invalid clients
206
213
 
207
- ### 1.0.3 (2018-03-03)
214
+ ### 1.0.3 (2018-03-03)
208
215
  * (bluefox) Add Analog0/1/2/3 sensor
209
216
 
210
- ### 1.0.2 (2018-02-17)
217
+ ### 1.0.2 (2018-02-17)
211
218
  * (Apollon77) Add Illuminance sensor
212
219
 
213
- ### 1.0.1 (2018-02-05)
214
- * (bluefox) Ready for admin3
220
+ ### 1.0.1 (2018-02-05)
221
+ * (bluefox) Ready for admin3
215
222
  * (bluefox) Added CO2 sensor
216
223
 
217
- ### 1.0.0 (2017-11-27)
218
- * (AlZiBa) typo @ alive
219
- * (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
220
227
  * (AlZiBa) unit of power consumption is kWh
221
228
 
222
- ### 0.3.3 (2017-11-03)
229
+ ### 0.3.3 (2017-11-03)
223
230
  * (bluefox) Add counters
224
231
 
225
- ### 0.3.2 (2017-10-22)
232
+ ### 0.3.2 (2017-10-22)
226
233
  * (Tan-DE) Small change for Switch1. Switch2 and additional IPaddress added.
227
234
 
228
- ### 0.3.1 (2017-10-12)
235
+ ### 0.3.1 (2017-10-12)
229
236
  * (bluefox) Fix tests and LWT
230
237
 
231
- ### 0.3.0 (2017-10-06)
238
+ ### 0.3.0 (2017-10-06)
232
239
  * (bluefox) Add INFO and ESP
233
240
 
234
- ### 0.2.0 (2017-10-05)
241
+ ### 0.2.0 (2017-10-05)
235
242
  * (bluefox) Add ENERGY and DS18x20
236
243
 
237
- ### 0.1.0 (2017-10-01)
244
+ ### 0.1.0 (2017-10-01)
238
245
  * (bluefox) initial commit
239
246
 
240
- ## License
241
-
242
- The MIT License (MIT)
243
-
244
- Copyright (c) 2017-2022, bluefox <dogafox@gmail.com>
245
-
246
- Permission is hereby granted, free of charge, to any person obtaining a copy
247
- of this software and associated documentation files (the "Software"), to deal
248
- in the Software without restriction, including without limitation the rights
249
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
250
- copies of the Software, and to permit persons to whom the Software is
251
- furnished to do so, subject to the following conditions:
252
-
253
- The above copyright notice and this permission notice shall be included in
254
- all copies or substantial portions of the Software.
255
-
256
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
257
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
258
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
259
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
260
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
261
- 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
262
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
+ }