=====OWST -- 1-Wire Switch Timer===== ====Description==== OWST is an Open Source project performing as a programmable timer for [[http://www.maximintegrated.com/products/1-wire-and-ibutton.mvp|1-Wire]](r) switches such as [[http://www.maximintegrated.com/datasheet/index.mvp/id/3818/t/al|DS2408]] (8-Channel Addressable Switch) or [[http://www.maximintegrated.com/datasheet/index.mvp/id/4588/t/al|DS2413]] (Dual Channel Addressable Switch). For features, technical details, installation instructions see [[https://github.com/clemens-it/owst|OWST on GitHub]] ====Screenshots==== {{:owst:screenshot_switch_list.png?direct&100|Switch list}} {{:owst:screenshot_timer_program_list.png?direct&100|Timer program list}} {{:owst:screenshot_add_new.png?direct&100|Add new timer program}} {{:owst:screenshot_switch_set_mode.png?direct&100|Set mode for switch}} {{:owst:screenshot_switch_immediate_action.png?direct&100|Immediate action on switch}} ====Configuration==== Prerequisites: * 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. * PHP can either be run as module (e.g. mod_php in Apache), as CGI or FASTCGI (php running as a separate daemon). * 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 (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. * To configure the single switches you need to edit the SQLite database table 'switch' manually. You can do this on the command line, you can use the SQLite web interface [[http://phpliteadmin.googlecode.com|phpLiteAdmin]] or any other user interface to edit SQLite databases. ====Further notes==== * 1-Wire is a registered trademark of Maxim Integrated Products, Inc.