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