iobroker.smartcontrol 2.0.1 → 2.2.0
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 +2 -0
- package/README.md +41 -266
- package/admin/custom/assets/Components-CDPYnOs-.js +77 -0
- package/admin/custom/assets/Components-DpQjIfuo.js +1 -0
- package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__SmartcontrolSet__mf_owner__1-C9SdP7_s.js +1 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SmartcontrolSet__mf_owner__108197177487852__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-Ca-6Y14s.js +1525 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SmartcontrolSet__mf_owner__108197177487852__loadShare__shared-4MdeZwge.js +2 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SmartcontrolSet__mf_owner__108197177487852__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-QT6he7QZ.js +122 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SmartcontrolSet__mf_owner__108197177487852__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-BWTOCVCn.js +1 -0
- package/admin/custom/assets/dist-Cnxr-ruU.js +1 -0
- package/admin/custom/assets/helpers-CNHzo155.js +1 -0
- package/admin/custom/assets/hostInit-BVoHSU7s.js +1 -0
- package/admin/custom/assets/iconLibraryData-B5fiyl1C.js +1 -0
- package/admin/custom/assets/index-CwC_q7vn.js +1 -0
- package/admin/custom/assets/lib-CgOpGT17.js +3 -0
- package/admin/custom/assets/mf-entry-bootstrap-0-6167c687.js +54 -0
- package/admin/custom/assets/pendingShares-CEz9fejL.js +2 -0
- package/admin/custom/assets/prod-XWAlCKxB.js +492 -0
- package/admin/custom/assets/rolldown-runtime-9C0vUP4u.js +1 -0
- package/admin/custom/assets/utils-DmVoYT7i.js +4 -0
- package/admin/custom/assets/vite-preload-helper-nldAWQd6.js +1 -0
- package/admin/custom/customComponents.js +12 -0
- package/admin/custom/i18n/de.json +59 -0
- package/admin/custom/i18n/en.json +59 -0
- package/admin/custom/mf-manifest.json +1 -0
- package/admin/doc-md/readme.txt +2 -6
- package/admin/doc-md/start_de.md +34 -89
- package/admin/doc-md/start_en.md +33 -90
- package/admin/doc-md/table-conditions_de.md +7 -9
- package/admin/doc-md/table-conditions_en.md +7 -9
- package/admin/doc-md/table-execution_de.md +11 -10
- package/admin/doc-md/table-execution_en.md +12 -11
- package/admin/doc-md/table-options_de.md +58 -0
- package/admin/doc-md/table-options_en.md +58 -0
- package/admin/doc-md/table-target-devices_de.md +20 -16
- package/admin/doc-md/table-target-devices_en.md +18 -16
- package/admin/doc-md/table-target-enums_de.md +13 -13
- package/admin/doc-md/table-target-enums_en.md +12 -14
- package/admin/doc-md/table-target-url_de.md +14 -25
- package/admin/doc-md/table-target-url_en.md +14 -23
- package/admin/doc-md/table-trigger-devices_de.md +10 -11
- package/admin/doc-md/table-trigger-devices_en.md +10 -10
- package/admin/doc-md/table-trigger-motion_de.md +41 -24
- package/admin/doc-md/table-trigger-motion_en.md +35 -19
- package/admin/doc-md/table-trigger-times_de.md +11 -12
- package/admin/doc-md/table-trigger-times_en.md +11 -11
- package/admin/doc-md/table-zones_de.md +19 -14
- package/admin/doc-md/table-zones_en.md +19 -14
- package/admin/doc-md/table-zones_select-targets_de.md +7 -15
- package/admin/doc-md/table-zones_select-targets_en.md +7 -15
- package/admin/i18n/{de/translations.json → de.json} +2 -1
- package/admin/i18n/{en/translations.json → en.json} +3 -1
- package/admin/i18n/{es/translations.json → es.json} +2 -1
- package/admin/i18n/{fr/translations.json → fr.json} +2 -1
- package/admin/i18n/{it/translations.json → it.json} +2 -1
- package/admin/i18n/{nl/translations.json → nl.json} +2 -1
- package/admin/i18n/{pl/translations.json → pl.json} +2 -1
- package/admin/i18n/{pt/translations.json → pt.json} +2 -1
- package/admin/i18n/{ru/translations.json → ru.json} +2 -1
- package/admin/i18n/uk.json +110 -0
- package/admin/i18n/{zh-cn/translations.json → zh-cn.json} +2 -1
- package/admin/img/option-screenshots/tab-conditions.png +0 -0
- package/admin/img/option-screenshots/tab-further-options.png +0 -0
- package/admin/img/option-screenshots/tab-start.png +0 -0
- package/admin/img/option-screenshots/tab-target-devices.png +0 -0
- package/admin/img/option-screenshots/tab-triggers-motion.png +0 -0
- package/admin/img/option-screenshots/tab-triggers-other.png +0 -0
- package/admin/img/option-screenshots/tab-triggers-time.png +0 -0
- package/admin/img/option-screenshots/tab-zones-execution.png +0 -0
- package/admin/img/option-screenshots/tab-zones.png +0 -0
- package/admin/jsonConfig.json5 +524 -0
- package/io-package.json +46 -31
- package/lib/boolean-value.js +30 -0
- package/lib/constants.js +299 -65
- package/lib/cron-schedule.js +59 -0
- package/lib/helper.js +416 -375
- package/lib/midnight-reschedule.js +31 -0
- package/lib/motion-zone-timer.js +55 -0
- package/lib/num-comparator.js +70 -0
- package/lib/tools.js +12 -6
- package/lib/trigger-class.js +661 -311
- package/lib/trigger-match.js +76 -0
- package/main.js +1040 -652
- package/package.json +30 -38
- package/admin/admin.d.ts +0 -4
- package/admin/doc-md/img/start_dropdown-ani.gif +0 -0
- package/admin/doc-md/img/start_open-dialog.png +0 -0
- package/admin/doc-md/img/start_show-explanation.gif +0 -0
- package/admin/doc-md/img/table-zones_select-target-devices-overwrite.gif +0 -0
- package/admin/fancytree/skin-lion/icons-rtl.gif +0 -0
- package/admin/fancytree/skin-lion/icons.gif +0 -0
- package/admin/fancytree/skin-lion/loading.gif +0 -0
- package/admin/fancytree/skin-lion/ui.fancytree.min.css +0 -6
- package/admin/fancytree/skin-lion/vline-rtl.gif +0 -0
- package/admin/fancytree/skin-lion/vline.gif +0 -0
- package/admin/img/info-big.png +0 -0
- package/admin/img/info-big.png_README.txt +0 -6
- package/admin/img/sc_always.png +0 -0
- package/admin/img/select-target-devices-overwrite.gif +0 -0
- package/admin/img/smartControl_options1.gif +0 -0
- package/admin/img/smartControl_options_dropdown.gif +0 -0
- package/admin/img/smartControl_options_dropdown_2.gif +0 -0
- package/admin/index_m.html +0 -812
- package/admin/index_m.js +0 -1455
- package/admin/style.css +0 -187
- package/admin/tsconfig.json +0 -49
- package/admin/words.js +0 -113
- package/admin/zero-md/readme.txt +0 -1
- package/admin/zero-md/webcomponents-loader.min.js +0 -9
- package/admin/zero-md/zero-md.min.js.js +0 -9
package/LICENSE
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
+
Copyright (c) 2026 iobroker-community-adapters <iobroker-community-adapters@gmx.de>
|
|
4
|
+
Copyright (c) 2023 Christian Oelschlegel <iobrokermatrix@sciphy.de>
|
|
3
5
|
Copyright (c) 2020 Mic-M <iob.micm@gmail.com>
|
|
4
6
|
|
|
5
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
package/README.md
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
|
|
12
12
|
**Tests:** 
|
|
13
13
|
|
|
14
|
+
## Sentry
|
|
15
|
+
**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.
|
|
16
|
+
|
|
14
17
|
## Smart Control Adapter for ioBroker
|
|
15
18
|
The `ioBroker.smartcontrol` adapter is a powerful tool for managing and automating various scenarios in your [ioBroker](https://github.com/ioBroker/ioBroker) home automation system. It allows you to define triggers, conditions, and actions to control your smart devices and create customized automation routines.
|
|
16
19
|
|
|
@@ -40,8 +43,7 @@ Additionally, you can access most of these instructions below:
|
|
|
40
43
|
* [**Zones**](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/blob/master/admin/doc-md/table-zones_en.md) - for German, [click here (Deutsch)](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/blob/master/admin/doc-md/table-zones_de.md)
|
|
41
44
|
* [**Execution Settings**](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/blob/master/admin/doc-md/table-execution_en.md) - for German, [click here (Deutsch)](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/blob/master/admin/doc-md/table-execution_de.md)
|
|
42
45
|
|
|
43
|
-
### Screenshots of adapter options (
|
|
44
|
-
Please note that these screenshots are snapshots, providing an overview of the adapter options only, and do not reflect the latest adapter options.
|
|
46
|
+
### Screenshots of adapter options (jsonConfig, Dec 2026)
|
|
45
47
|
|
|
46
48
|

|
|
47
49
|
|
|
@@ -66,7 +68,6 @@ Please note that these screenshots are snapshots, providing an overview of the a
|
|
|
66
68
|
* [**Permanent Smart Control ioBroker Forum Link (Splash Page)**](https://forum.iobroker.net/topic/36728/smart-control-adapter-splash-page)
|
|
67
69
|
|
|
68
70
|
## Notes
|
|
69
|
-
* Sentry reporting, starting with js-controller 3.0, means that this adapter can use Sentry libraries to automatically report exceptions and code errors to developers. For more details and how to turn off error reporting, see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry).
|
|
70
71
|
* Adapter icon made by [freepik](https://www.flaticon.com/authors/freepik) from [flaticon.com](https://www.flaticon.com/).</sup></sub>
|
|
71
72
|
|
|
72
73
|
## Contributing
|
|
@@ -79,6 +80,39 @@ We welcome contributions and collaboration from the community to continue enhanc
|
|
|
79
80
|
Placeholder for the next version (at the beginning of the line):
|
|
80
81
|
### **WORK IN PROGRESS**
|
|
81
82
|
-->
|
|
83
|
+
### 2.2.0 (2026-12-05)
|
|
84
|
+
- (GermanBluefox) Updated packages (axios, cron-parser 5 and others)
|
|
85
|
+
- (crunchip77) Admin: jsonConfig UI (replaces Materialize `index_m`) with verifyConfig gate (addresses #309)
|
|
86
|
+
- (crunchip77) Zone target overwrite: accept legacy string values at runtime (`"95"` or `{ val, delay }`)
|
|
87
|
+
- (crunchip77) Document that trigger names can use dots as group folders in zones (addresses #22)
|
|
88
|
+
- (crunchip77) Optional recheck of trigger and zone conditions after zone on-delay (addresses #4)
|
|
89
|
+
- (GermanBluefox) Help: tip how to send notifications via messenger states (fixes #6)
|
|
90
|
+
- (GermanBluefox) Added Ukrainian (uk) translations for io-package.json and admin (#368)
|
|
91
|
+
- (crunchip77) Admin: recheck-after-delay column as icon with tooltip; i18n and German label from #370 review
|
|
92
|
+
- (GermanBluefox) Admin UI (src-admin): updated packages (React 19.3, MUI 9.6, json-config 10, marked 18) and rebuilt the bundle
|
|
93
|
+
- (GermanBluefox) Repository checker: test packages now come from @iobroker/testing, added @iobroker/adapter-dev and .vscode/settings.json
|
|
94
|
+
- (GermanBluefox) Timers use adapter.setTimeout()/clearTimeout(), so they are cleared when the instance stops
|
|
95
|
+
- (GermanBluefox) Admin translations moved to the short i18n format (admin/i18n/{lang}.json)
|
|
96
|
+
- (GermanBluefox) Admin: the settings use the full height of the page (measured instead of a fixed offset)
|
|
97
|
+
|
|
98
|
+
### 2.1.0 (2026-11-29)
|
|
99
|
+
- (crunchip77) Accept valid 5-field cron triggers like `0 15 * * 1-5` again (fixes #281)
|
|
100
|
+
- (crunchip77) Number comparators accept negatives and decimals (`<-200`, `>26,5`) (fixes #164)
|
|
101
|
+
- (crunchip77) Boolean comparison values: accept 1/0/on/off; clearer error if the value column is empty (fixes #170)
|
|
102
|
+
- (crunchip77) Honour "Do not verify" for target off on timer timeout; URL targets (always do-not-verify) now call the off URL on every motion timeout (fixes #7)
|
|
103
|
+
- (crunchip77) Motion off-timer once per zone, restart on last PIR (fixes #147)
|
|
104
|
+
- (crunchip77) Time triggers at 00:00 fire before midnight re-schedule (fixes #8)
|
|
105
|
+
- (crunchip77) Admin: help markdown readable in light and dark ioBroker themes (fixes #5)
|
|
106
|
+
- (crunchip77) Migrate to ESLint 9 and @iobroker/eslint-config (fixes #212)
|
|
107
|
+
- (copilot) Adapter requires node.js >= 22.19.0 now
|
|
108
|
+
- (copilot) Adapter requires node.js >= 22 now
|
|
109
|
+
- (iobroker-bot) Adapter requires node.js >= 20 now.
|
|
110
|
+
- (copilot) Adapter requires admin >= 7.7.22 now
|
|
111
|
+
- (copilot) Adapter requires js-controller >= 6.0.11 now
|
|
112
|
+
- (copilot) Adapter requires admin >= 7.6.17 now
|
|
113
|
+
- (bluefox) Updated dependencies (adapter-core, release-script, testing, mocha) and repository checker fixes
|
|
114
|
+
- (bluefox) `npm run test:js` works again and unit tests run in CI via `test:unit`
|
|
115
|
+
|
|
82
116
|
### 2.0.1 (2023-09-07)
|
|
83
117
|
* (oelison) warn log for not existing objects removed (fixed)
|
|
84
118
|
* (inkade) updated readme
|
|
@@ -93,275 +127,16 @@ We welcome contributions and collaboration from the community to continue enhanc
|
|
|
93
127
|
* (simatec) (oelison) dark mode fix #5
|
|
94
128
|
* (oelison) log info type error #16
|
|
95
129
|
|
|
96
|
-
|
|
97
|
-
* (oelison) remove errors and warnings ocured during deploy
|
|
98
|
-
* (oelison) comment for zones added
|
|
99
|
-
|
|
100
|
-
### 1.2.2 (2022-10-11)
|
|
101
|
-
* (oelison) migration to links in iobroker-community-adapters
|
|
102
|
-
* (oelison) update due to open PR of original repo
|
|
103
|
-
* (oelison) node testing to 12, 14, 16
|
|
104
|
-
|
|
105
|
-
### 1.2.1
|
|
106
|
-
* (Mic-M) Enhancement: Now, all adapter config validations take place while saving the adapter configuration, and all identified errors are shown in a dialog. Addresses issue [#61](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/61)
|
|
107
|
-
|
|
108
|
-
### 1.2.0
|
|
109
|
-
* (Mic-M) Fix: [#60 - Linked triggers of motion sensors issue](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/60)
|
|
110
|
-
* (Mic-M) Several code improvements
|
|
111
|
-
* (Mic-M) Issues [#35](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/35) and [#43](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/43) confirmed as resolved, therefore all workaround code removed.
|
|
112
|
-
|
|
113
|
-
### 1.1.1
|
|
114
|
-
* (Mic-M) Fix: Most likely finally fixes [issue #43](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/43) as well as workaround for [issue #35](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/35) (scheduleJob() of node-schedule module: now applying 'cancel' method prior to reschedule every midnight)
|
|
115
|
-
* (Mic-M) Update adapter documentation
|
|
116
|
-
|
|
117
|
-
### 1.1.0
|
|
118
|
-
* (Mic-M) Improvement: if multiple motion sensors assigned to zone, zone will not switch off if any other motion sensor assigned to same zone is still motion=true (addresses [issue #45](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/45))
|
|
119
|
-
* (Mic-M) Internal: align testing with latest adapter creator (remove travis and use github test only)
|
|
120
|
-
|
|
121
|
-
### 1.0.0
|
|
122
|
-
* (Mic-M) No changes - just prepared versioning to add adapter to stable repository per adapter development documentation, [Versioning section](https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/adapterdev.md).
|
|
123
|
-
|
|
124
|
-
### 0.6.0
|
|
125
|
-
* (Mic-M) Several code improvements / fixes
|
|
126
|
-
* (Mic-M) Enhancement: New 'Linked devices' options for tab '3. TRIGGER', motion sensors.
|
|
127
|
-
|
|
128
|
-
### 0.5.13
|
|
129
|
-
* (Mic-M) Issue #35 should be finally fixed.
|
|
130
|
-
* (Mic-M) Enhancement: New state `info.log.switchedTargetDevices.json` for recently switched target devices
|
|
131
|
-
* (Mic-M) Code improvements
|
|
132
|
-
|
|
133
|
-
### 0.5.12
|
|
134
|
-
* (Mic-M) Another fix of 0.5.10 and improvement of debug log
|
|
135
|
-
|
|
136
|
-
### 0.5.11
|
|
137
|
-
* (Mic-M) Fix of 0.5.10
|
|
138
|
-
|
|
139
|
-
### 0.5.10
|
|
140
|
-
* (Mic-M) Potential fix / workaround: for issue #35 to verify if schedule was called before at the same time
|
|
141
|
-
|
|
142
|
-
### 0.5.9
|
|
143
|
-
* (Mic-M) **Breaking Change** New feature: 'Target Devices' -> 'Target URLs': added separate URL field to switch device off. This is breaking, since adapter admin config will have blank fields of 'Target URLs' once you update the adapter, and state ids will change as well.
|
|
144
|
-
* (Mic-M) Enhancement: 'Target Devices' -> 'Target URLs' : [Allow DNS name](https://forum.iobroker.net/post/510154)
|
|
145
|
-
|
|
146
|
-
### 0.5.8
|
|
147
|
-
* (Mic-M) Fixed admin options
|
|
148
|
-
|
|
149
|
-
### 0.5.7
|
|
150
|
-
* (Mic-M) Various code fixes and improvements
|
|
151
|
-
* (Mic-M) Potentially fix of [issue #35](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/35) - to be tested
|
|
152
|
-
* (Mic-M) Enhancement for 'Target Devices': Add table to call URLs als target (implementation of [issue #1](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/1))
|
|
153
|
-
|
|
154
|
-
### 0.5.6
|
|
155
|
-
* (Mic-M) Hotfix: loading admin settings for enums
|
|
156
|
-
|
|
157
|
-
### 0.5.5
|
|
158
|
-
* (Mic-M) Fixed error (reported by [Sentry](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol#notes)): `Cannot read property 'log' of undefined` in _asyncSetTargetDevices_processZone()
|
|
159
|
-
* (Mic-M) Fixed issue: Tab TARGET DEVICES > Enumerations: functions and rooms selection were sometimes blank, and chosen item was sometimes deleted after saving and reopening admin options.
|
|
160
|
-
* (Mic-M) Future - Early preparation work, not yet visible and not yet activated! - Tab TARGET DEVICES: new table for URLs as targets will be added ([see issue](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/1))
|
|
161
|
-
|
|
162
|
-
### 0.5.4
|
|
163
|
-
* (Mic-M) New feature: TARGET DEVICES - add delay option for delayed switching on of target device.
|
|
164
|
-
|
|
165
|
-
### 0.5.3
|
|
166
|
-
* (Mic-M) New feature: ZONES - target devices: you can now assign a delay in seconds to wait until the device is being switched on
|
|
167
|
-
* (Mic-M) Various fixes
|
|
168
|
-
|
|
169
|
-
### 0.5.2
|
|
170
|
-
* (Mic-M) Fix: Removed redundant column in Target Devices table
|
|
171
|
-
* (Mic-M) Fix: Under the hood (admin/index_m.js, admin/tsconfig.json, admin/admin.d.ts)
|
|
172
|
-
|
|
173
|
-
### 0.5.1
|
|
174
|
-
* (Mic-M) Fixed clearing timeout while adapter is stopping.
|
|
175
|
-
|
|
176
|
-
### 0.5.0
|
|
177
|
-
* (Mic-M) New feature: ZONES - New option "Delay for switching zone on (in seconds)" - [issue #31](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/31)
|
|
178
|
-
* (Mic-M) New feature: ZONES - New option "Never switch off if..." - [issue #32](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/32)
|
|
179
|
-
|
|
180
|
-
### 0.4.4
|
|
181
|
-
* (Mic-M) New feature: allow comparison operators `!=` / `<>` in 'TRIGGERS -> Other triggers' to trigger if state value is unequal. Example: `<>30` or `!=30` - see [Forum](https://forum.iobroker.net/post/496133)
|
|
182
|
-
* (Mic-M) Fix: Don't create `smartcontrol.x.options.TargetDevices.` states for enums since this does not make sense for enums.
|
|
183
|
-
* (Mic-M) Fix: Don't create `smartcontrol.x.targetDevices.` states for enums since this does not make sense for enums.
|
|
184
|
-
* (Mic-M) Moved log `Trigger xyz was already activated x seconds ago and is ignored...` from regular info log to debug/'extended info log' - [Forum](https://forum.iobroker.net/post/496604)
|
|
185
|
-
|
|
186
|
-
### 0.4.3
|
|
187
|
-
* (Mic-M) New feature in adapter options: configure number of entries in 'smartcontrol.x.info.log.zoneActivations.json'
|
|
188
|
-
* (Mic-M) Extend adapter documentation by adding new 0.4.0 features
|
|
189
|
-
* (Mic-M) Fixed issue regarding 'smartcontrol.x.userstates.xxx' creation
|
|
190
|
-
|
|
191
|
-
### 0.4.2
|
|
192
|
-
* (Mic-M) Fix code
|
|
193
|
-
|
|
194
|
-
### 0.4.1
|
|
195
|
-
* (Mic-M) Fixed io-package.json
|
|
196
|
-
|
|
197
|
-
### 0.4.0
|
|
198
|
-
* (Mic-M) New feature: Tab 'Target Devices': New table 'Targets: Enum functions' to **support enum functions**, and optionally limit to certain enum rooms. [issue #29](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/29).
|
|
199
|
-
* (Mic-M) New feature: New JSON state for recent zone activations: 'smartcontrol.x.info.log.zoneActivations.json'. [issue #30](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/30).
|
|
200
|
-
* (Mic-M) Code fixes
|
|
201
|
-
|
|
202
|
-
### 0.3.10
|
|
203
|
-
* (Mic-M) Fixed io-package.json
|
|
204
|
-
|
|
205
|
-
### 0.3.9
|
|
206
|
-
* (Mic-M) New feature: Table "Additional Conditions" is now allowing comparators like `> 30`, `<= 25` etc. in column 'State value'. See [issue #28](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/28)
|
|
207
|
-
|
|
208
|
-
### 0.3.8
|
|
209
|
-
* (Mic-M) Updated readme since adapter [is now in latest repository](https://github.com/ioBroker/ioBroker.repositories/pull/930)
|
|
210
|
-
* (Mic-M) Updated translations, which also addresses [#26](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/26)
|
|
211
|
-
* (Mic-M) Fixed/improved 'admin/index_m.js'
|
|
212
|
-
|
|
213
|
-
### 0.3.7
|
|
214
|
-
* (Mic-M) Mini update, just under the hood.
|
|
215
|
-
|
|
216
|
-
### 0.3.6
|
|
217
|
-
* (Mic-M) Minor translation update and [Compact Mode test](https://forum.iobroker.net/topic/32789/anleitung-f%C3%BCr-adapter-entwickler-compact-mode-testen) successfully completed.
|
|
218
|
-
|
|
219
|
-
### 0.3.5
|
|
220
|
-
* (Mic-M) Internationalization (i18n) only – added all required 10 languages, and provide documentation in English and German plus support for embedded other translations (like Russian, Spanish, etc.) within the admin configuration.
|
|
221
|
-
|
|
222
|
-
### 0.3.4
|
|
223
|
-
* (Mic-M) Test: Implementation of markdown documentation files within adapter configuration by using [zero-md](https://github.com/zerodevx/) for tables 'Target Devices' and 'Additional Conditions' to prepare adapter for multiple languages. Based on your language set in the adapter configuration, either German will be displayed (if language set to German) or English, if set language is not German.
|
|
224
|
-
|
|
225
|
-
### 0.3.3
|
|
226
|
-
* (Mic-M) New feature for Motion sensors: the timer duration and brightness threshold can now be changed via states. These states are available under `smartcontrol.0.options.TriggerMotion.xxx.<duration|briThreshold>` for each of your motion sensors. Please note that any change will cause an adapter restart (for initializing and clearing all existing timers to apply the new values). [Issue #18](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/18)
|
|
227
|
-
|
|
228
|
-
### 0.3.2
|
|
229
|
-
* (Mic-M) New feature: In the adapter configuration, tab 'Further Options' > 'Input Validation', you can now select if deactivated configuration table rows should be validated as well.
|
|
230
|
-
* (Mic-M) Fix [adapter-check.iobroker.in](https://adapter-check.iobroker.in/) error [E144] "common.installedFrom field found in io-package.json. Must be removed."
|
|
231
|
-
* (Mic-M) Fix for adapter unload: check schedule variable for undefined.
|
|
232
|
-
* (Mic-M) Fixed debug log line
|
|
233
|
-
|
|
234
|
-
### 0.3.1
|
|
235
|
-
* (Mic-M) Fix error if no duration is set for motion sensor - [Forum Link](https://forum.iobroker.net/post/487630)
|
|
236
|
-
|
|
237
|
-
### 0.3.0
|
|
238
|
-
**Breaking Changes**
|
|
239
|
-
* (Mic-M) Entire adapter code refactored. Therefore, tests are required to verify if these massive changes do not affect the adapter functionality. However, none of your existing adapter configuration should be lost and will be kept if you upgrade from 0.2.0+. But please check ALL of your configuration, since new options were added which
|
|
240
|
-
can have an effect to your existing configuration.
|
|
241
|
-
* (Mic-M) New feature: Implemented [issue #22](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/22) - Motion sensors timeout, e.g. for Homematic sensors: Motion sensor timer will now start once a motion sensor is set to false. In previous adapter versions, it was started once set to true.
|
|
242
|
-
<br><strong>Note:</strong> This change will cause that per your existing adapter configuration, the timer end will be reached later (so: once no motion detected any longer + the seconds you have set)
|
|
243
|
-
* (Mic-M) New feature: Time triggers - added options for additional conditions for 'any' or 'all'. [issue #24](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/24)
|
|
244
|
-
* (Mic-M) New feature: Zones > Execution - added options for additional conditions for 'any' or 'all'.
|
|
245
|
-
* (Mic-M) Many fixes under the hood
|
|
246
|
-
|
|
247
|
-
### 0.2.2
|
|
248
|
-
* (Mic-M) New feature: In '3. TRIGGERS', 'Other Triggers', you can now easily create own states as triggers under 'smartcontrol.x.userstates'
|
|
249
|
-
|
|
250
|
-
### 0.2.1
|
|
251
|
-
* (Mic-M) Fixed motion sensors table, column 'seconds' to allow 0 seconds for deactivation
|
|
252
|
-
|
|
253
|
-
### 0.2.0
|
|
254
|
-
**Breaking Change**
|
|
255
|
-
* German: In den Adapter-Optionen wurde der Reiter und die Tabelle "Ausführung" entfernt und stattdessen in "4. ZONEN" integriert. <br>Das bedeutet für euch: Falls ihr von einer vorherigen Version aktualisiert, sichert zuvor die Adapter-Einstellungen (blauer Knopf mit "Pfeil nach unten" ganz oben rechts in den Adapter-Optionen).
|
|
256
|
-
Diese gehen sonst verloren. In einem Texteditor könnt ihr diese einsehen und dann in "4. ZONEN" unter Ausführung übertragen.
|
|
257
|
-
* English: Tab "Execution" was removed and transferred to "4. ZONES". If you have installed and used a previous version of this adapter, please save your adapter configuration settings prior to update the adapter (adapter settings: blue button at the top right corner with 'arror down' symbol).
|
|
258
|
-
|
|
259
|
-
Change Log for 0.2.0:
|
|
260
|
-
* (Mic-M) New feature: Admin Options: Removed tab "5. EXECUTION" (German "5. AUSFÜHRUNG") and included in tab "4. ZONES"
|
|
261
|
-
* (Mic-M) New feature: Changing name fields (renaming) will also change names in all other tables, in which these names are used. This is a huge usability improvement to quickly re-organize/rename table names without the need to correct in other tables accordingly.
|
|
262
|
-
* (Mic-M) Improvement: Add info.connection to allow setting adapter to "yellow" in case of any configuration errors
|
|
263
|
-
|
|
264
|
-
### 0.1.2-beta.7
|
|
265
|
-
* (Mic-M) Improvement: Once user clicks "Save" in admin options, adapter verifies if all required tables are filled, and throws an error via dialog box, which shows details.
|
|
266
|
-
* (Mic-M) Fixed error handling for 'overwrite state vals' in target devices table
|
|
267
|
-
|
|
268
|
-
### 0.1.2-beta.6
|
|
269
|
-
* (Mic-M) New feature: Changing name fields in admin options now also sets the names in all other fields to the new value.
|
|
270
|
-
|
|
271
|
-
### 0.1.2-beta.5
|
|
272
|
-
* (Mic-M) New feature: option in Target Devices table to not verify if a device is already on/off. Use case is e.g. for button states which do not reflect the actual status of the device in the state (like Broadlink, etc.). Addresses [request #5](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/5)
|
|
273
|
-
|
|
274
|
-
### 0.1.2-beta.4
|
|
275
|
-
* (Mic-M) Enhance the functionality of validating/correcting config settings (new feature with 0.1.2-beta.3) to also process overwritten target device values. The issue is described here: [ioBroker forum post](https://forum.iobroker.net/post/472856).
|
|
276
|
-
* (Mic-M) Improved validation of all adapter config settings (user input)
|
|
277
|
-
|
|
278
|
-
### 0.1.2-beta.3
|
|
279
|
-
* (Mic-M) New feature: Overwrite target device values in Zones table, addresses [#16](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/16) and [#15](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/15)
|
|
280
|
-
* (Mic-M) Improved dialogs for selection: all selected nodes are expanded when opening, and additional buttons 'collapse all' and 'expand all' - [#17](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/17)
|
|
281
|
-
|
|
282
|
-
### 0.1.2-beta.2
|
|
283
|
-
* (Mic-M) Fixed saving of admin options for tab 'Further Options'.
|
|
284
|
-
|
|
285
|
-
### 0.1.2-beta.1
|
|
286
|
-
* (Mic-M) New feature: Additional dialogs in various tables to easily select items (like target devices) by implementing a modal dialog, FancyTree, etc.
|
|
287
|
-
* (Mic-M) Improved table filter functionality in adapter configuration
|
|
288
|
-
|
|
289
|
-
### 0.1.1-beta.6
|
|
290
|
-
* (Mic-M) Added [Sentry](https://github.com/ioBroker/plugin-sentry)
|
|
291
|
-
|
|
292
|
-
### 0.1.1-beta.5
|
|
293
|
-
* (Mic-M) New feature: Add filter field to each table in adapter configuration to filter table rows.
|
|
294
|
-
|
|
295
|
-
### 0.1.1-beta.4
|
|
296
|
-
* (Mic-M) Fixed errors of 0.1.1-beta.3. **Note** You may still experience errors in comparison to 0.1.1-beta.2 due to the major and breaking changes of 0.1.1-beta.3. In case of any issues in productive environments: please go back to 0.1.1-beta.2 and report your issue.
|
|
297
|
-
|
|
298
|
-
### 0.1.1-beta.3
|
|
299
|
-
* (Mic-M) **Breaking:** I did some breaking code changes under the hood, to fix various issues. I have tested these changes well, but negative side effects are still likely. No changes to options or states, so no worries here. But please use new version with care and report any issues.
|
|
300
|
-
* (Mic-M) Fix: issue https://forum.iobroker.net/post/464466
|
|
301
|
-
* (Mic-M) Extensive code changes and several bug fixes within code
|
|
302
|
-
* (hombach) corrected typos and wordings in admin/index_m.html
|
|
303
|
-
* (hombach) corrected translations in docs/translations.md
|
|
304
|
-
* (hombach) extended Travis tests to include ARM CPUs
|
|
305
|
-
|
|
306
|
-
### 0.1.1-beta.2
|
|
307
|
-
* (Mic-M) Fix: Perform configuration validation and correction also for non-active table rows, since these can be switched on thru `smartcontrol.x.options.xxx.xxx.active` states.
|
|
308
|
-
|
|
309
|
-
### 0.1.1-beta.1
|
|
310
|
-
* (Mic-M) New feature: New option in motion sensor table: if activated, motion triggers will not set a timeout if a target device was turned on previously without a motion trigger ("manually"). [Forum Link](https://forum.iobroker.net/post/433871)
|
|
311
|
-
* (Mic-M) Fix: non-consistent logs for verifying config
|
|
312
|
-
* (Mic-M) Change: changed limitTriggerInterval from 2s to 1s - [Issue #3](https://github.com/iobroker-community-adapters/ioBroker.smartcontrol/issues/3)
|
|
313
|
-
* (Mic-M) Fix: 24:00 as time: now treated as 0:00 but adding 24h to timestamp.
|
|
314
|
-
* (Mic-M) Fix: If a trigger state path was used multiple times in different triggers and schedules, second schedule stopped. [Forum Link](https://forum.iobroker.net/post/464208)
|
|
315
|
-
* (Mic-M) Improvement: Better info log / extended info log per Option 'Extended Info Log'
|
|
316
|
-
|
|
317
|
-
### 0.1.0-alpha.11
|
|
318
|
-
* (Mic-M) Fix: check for 'is time between'
|
|
319
|
-
|
|
320
|
-
### 0.1.0-alpha.10
|
|
321
|
-
* (Mic-M) New feature: Provide "Toggle?" option in 'Other Triggers' table to allow toggles: if targets are off -> turn on, and vice versa.
|
|
322
|
-
* (Mic-M) New feature: Allow using same trigger state multiple times. Required significant code changes.
|
|
323
|
-
* (Mic-M) New feature: If you are using multiple motion sensors for a zone: whenever a motion device triggers, the turn off timer is being stopped and a new timer is set per the latest motion sensor.
|
|
324
|
-
* (Mic-M) New feature: In certain northern areas is night/nightEnd not available at least in Summer in Germay. New adapter option added to set midnight to 0:00 and midnightEnd to 2:00 in this case.
|
|
325
|
-
* (Mic-M) New feature 'Always of after x secs' in Zones table.
|
|
326
|
-
* (Mic-M) + a few more features I forgot do mention ;)
|
|
327
|
-
|
|
328
|
-
### 0.1.0-alpha.9
|
|
329
|
-
* (Mic-M) New feature: Triggers (Auslöser) - new option to switch target devices off and not on for 'Other Triggers' and 'Time specific Triggers'
|
|
330
|
-
|
|
331
|
-
### 0.1.0-alpha.8
|
|
332
|
-
* (Mic-M) Editorial only: rename '5. ZEITPLÄNE' (SCHEDULES) into '5. AUSFÜHRUNG' (EXECUTION) throughout the code - https://forum.iobroker.net/post/461282
|
|
333
|
-
|
|
334
|
-
### 0.1.0-alpha.7
|
|
335
|
-
* (Mic-M) Extend option 'triggerStatesAck' to include alias and namespaces not from adapters - https://forum.iobroker.net/post/461221
|
|
336
|
-
|
|
337
|
-
### 0.1.0-alpha.6
|
|
338
|
-
* (Mic-M) Remove requirement that trigger states must be unique - https://forum.iobroker.net/post/461115
|
|
339
|
-
|
|
340
|
-
### 0.1.0-alpha.5
|
|
341
|
-
* (Mic-M) New feature: allow comparison operators >=, <=, >, < for trigger states
|
|
342
|
-
|
|
343
|
-
### 0.1.0-alpha.4
|
|
344
|
-
* (Mic-M) translations
|
|
345
|
-
|
|
346
|
-
### 0.1.0-alpha.3
|
|
347
|
-
* (Mic-M) multiple changes, improvements and enhancements
|
|
348
|
-
|
|
349
|
-
### 0.1.0-alpha.2
|
|
350
|
-
* (Mic-M) multiple changes, improvements and enhancements
|
|
351
|
-
|
|
352
|
-
### 0.1.0-alpha.1
|
|
353
|
-
* (Mic-M) multiple changes, improvements and enhancements
|
|
354
|
-
|
|
355
|
-
### 0.0.3
|
|
356
|
-
* (Mic-M) release for very early testers
|
|
130
|
+
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
357
131
|
|
|
358
132
|
## License
|
|
359
133
|
MIT License
|
|
360
134
|
|
|
135
|
+
Copyright (c) 2026 iobroker-community-adapters <iobroker-community-adapters@gmx.de>
|
|
136
|
+
Copyright (c) 2023 Christian Oelschlegel <iobrokermatrix@sciphy.de>
|
|
137
|
+
Copyright (c) 2022 Oelison <iobrokersmartcontrol@sciphy.de>
|
|
361
138
|
Copyright (c) 2020 Mic-M <iob.micm@gmail.com>
|
|
362
139
|
|
|
363
|
-
Copyright (c) 2022 Oelison <iobrokersmartcontrol@sciphy.de>
|
|
364
|
-
|
|
365
140
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
366
141
|
of this software and associated documentation files (the "Software"), to deal
|
|
367
142
|
in the Software without restriction, including without limitation the rights
|