Time based switching of devices
npm install iobroker.time-switch!Logo


![Installs]()





This adapter allows the user to switch devices on and off using time schedules.
The schedules can be fully configured by a vis widget.
One schedule switches one or more ioBroker states and consists of one or more triggers that define when and how the state should be switched.
It is possible to configure at which time and on which weekdays the trigger should be triggered. Astro triggers can also be created.
There can be custom on/off values also.
In the widget the schedule can be disabled temporarily and the switched state can be controlled manually.
For setup instructions visit the wiki (German instructions available also).
- Countdown trigger
- Switching of arbitrary values
Before upgrading, remove all schedules in the instance settings and remove widgets in vis.
* (walli545)
* Value type can now be configured, this enables switching of real booleans and numbers (#19)
* Added a new state for each schedule to disable/enable automatic switching (#24)
* Added option to hide current value switch in widget (#23)
* Switching of multiple states with one schedule. This allows the creation of groups for devices of the same type
* Added translations to widget (#35)
* Fixed widget not working on Safari and fully browser
Copyright (c) 2019-2021 walli545
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.