This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| owst:start [2013/04/12 17:11] admin | owst:start [2020/04/08 08:42] (current) admin [Configuration] | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| OWST is an Open Source project performing as a programmable timer for [[http:// | OWST is an Open Source project performing as a programmable timer for [[http:// | ||
| - | + | For features, technical details, installation instructions see [[https://github.com/clemens-it/owst|OWST on GitHub]] | |
| - | ====Features==== | + | |
| - | * completely free and open source. | + | |
| - | * manages addressable switches in a 1-Wire network, every switch can be controlled by timer programs. | + | |
| - | * Everey switch may be in one of the three modes: constant ON, constant OFF, TIMER. Mode may be changed without affecting the programming of the timer. | + | |
| - | + | ||
| - | Timer | + | |
| - | * Nearly unlimited time programs. Number of time programs are limited only by the resources of the server and/or the used database management system SQlite3. | + | |
| - | * programming is based on weekly repetition. | + | |
| - | * 7-day programming: | + | |
| - | * Time programs can be limited by a starting and final date. | + | |
| - | * Option to automatically delete time program after it's expiry date. | + | |
| - | * Option for time program to override other active time programs when switching OFF. | + | |
| - | + | ||
| - | + | ||
| - | Web interface | + | |
| - | * Management of time programs (insert, update, delete) | + | |
| - | * Designed for usage on smart phone | + | |
| - | * Cloning of time programs | + | |
| - | * Interruption of time programs for a given time period (ideal for holidays etc.) | + | |
| - | * Immediate actions such as switch-ON for given time or switch-OFF in given time. | + | |
| - | * Access to log | + | |
| - | * Display of at queue | + | |
| - | + | ||
| - | The script which actually switches on or off the One Wire switches may be called periodically using cron or at the corresponding date and time using ' | + | |
| - | + | ||
| - | OWS Timer Control works on a time resolution of minutes. Therefore time programs might switch off/on up too 59 seconds to late/early. | + | |
| - | + | ||
| - | Relies on | + | |
| - | * [[http://owfs.org/|OWFS]] | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * cron/at | + | |
| ====Screenshots==== | ====Screenshots==== | ||
| Line 44: | Line 11: | ||
| ====Configuration==== | ====Configuration==== | ||
| Prerequisites: | Prerequisites: | ||
| - | * OWST uses the at-command to schedule the next call of the timer program handler. | + | * OWST uses the at-command to schedule the next call of the Timer Program Handler. | 
| * The webserver must be able to handle PHP files in order for the web interface to work. | * The webserver must be able to handle PHP files in order for the web interface to work. | ||
| * PHP can either be run as module (e.g. mod_php in Apache), as CGI or FASTCGI (php running as a separate daemon). | * PHP can either be run as module (e.g. mod_php in Apache), as CGI or FASTCGI (php running as a separate daemon). | ||
| - | * The UID under which the code of the web interface is run must have access to the same at-queue as the UID who runs the timer program handler. | + | * The user/UID under which the code of the web interface is run must have access to the same at-queue as the user/UID who runs the timer program handler. | 
| - | * This can be accomplished by either using the same UID for both tasks, or to grant the web-UID access to the at-queue of the UID which handles the timer programs by using sudo. | + | * This can be accomplished by either using the same UID for both tasks (web interface and Timer Program Handler), or to grant the web-UID access to the at-queue of the UID which handles the timer programs by using sudo. | 
| - | Using sudo: you need to add the following | + | * To configure the single switches | 
| - | www-data ALL = (tph) NOPASSWD: / | + | |
| - | |||
| - | ===Nginx=== | ||
| - | Protect files from direct web access | ||
| - | < | ||
| - | location ~ / | ||
| - | deny all; | ||
| - | } | ||
| - | </ | ||
| ====Further notes==== | ====Further notes==== | ||
| * 1-Wire is a registered trademark of Maxim Integrated Products, Inc. | * 1-Wire is a registered trademark of Maxim Integrated Products, Inc. | ||
| - | * Linux is a registered trademark of Linus Torvalds. | ||
| - | |||