HomeAutomation v1.2.2 Copyright (C) 2010 Tom Rosenback (tom.rosenback@gmail.com), Daniel Malmgren (daniel.malmgren@kolefors.se) This project's homepage is: http://karpero.mine.nu/ha This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ========================================================================================= Description These PHP scripts are created by Tom Rosenback for use with the Tellstick dongle from Telldus.se. The homeautomation system uses a Mysql database as data storage. Project started august 2008 and december 2009 Daniel Malmgren joined in to help me. Thank you! ========================================================================================= Requirements: - Tellstick dongle, raw command devices requires v2 dongle or newer - Admin rights to Windows - PHP need to have read/write access to homeautomation root folder - Webserver, developed on Apache but should work on any other Webserver aswell - PHP engine, developed on v.5.xx - Mysql server, developed on v.5.xx - JT.exe, Microsoft scheduler application, download from ftp://ftp.microsoft.com/reskit/win2000/jt.zip. ========================================================================================= Fresh Installation - Windows - unzip all files to your www folder (eg wwwroot/homeautomation) - rename config_sample.php to config.php, edit config.php to suit your system (found in root of homeautomation) - create a database which you intend to use with HomeAutomation, eg. homeautomation - You need to edit system registry to allow the scripts to access the Tellstick devices, from Telldus forum "Enabled to store devices global on windows if you set the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Telldus\Devices\SharedDevices to 1" - rename config_sample.php to config.php, edit config.php to suit your system (found in root of homeautomation) - surf to yourhost.com/homeautomation - a installation guide will now lead you through the rest of the installation of HomeAutomation. - Start using your homeautomation system with your Tellstick ========================================================================================= Fresh Installation - Linux Basically the same as for Windows above, except for the registry part. Both at and cron needs to be installed and running and the user running the web server service has to be able to put up jobs in them, meaning it needs to be in /etc/at.allow and /etc/cron.allow or not in /etc/at.deny or /etc/cron.deny. See "man at.allow" and "man crontab" for closer explanation of this. ========================================================================================= Upgrade Installation - due to possible changes in filenames and deletes of unused files it is recommended to unzip all files to a new folder (not same as previous install) - rename old installation to homeautomation_old - unzip all files to your www folder (eg wwwroot/homeautomation) - rename config_sample.php to config.php, edit config.php to suit your system (found in root of homeautomation) - copy system/mysql_settings.php from old install to new - copy resources/houseplan.png from old install to new (if exist) - surf to yourhost.com/homeautomation - a installation guide will now lead you through the rest of the update of HomeAutomation. ========================================================================================= Latest source The latest source files can be downloaded from a svn server anonymously. The server is: svn://karpero.mine.nu On the server there is 3 folders - branches (contains branched files) - tags (contains releases) - homeautomation (latest source files) If you want to contribute to this project please contact us through http://karpero.mine.nu/ha/index.php?page=contact ========================================================================================= Mantis - Bugtracker / Coming features Mantis can be anonymously accessed on http://karpero.mine.nu/mantis Here you can follow the project and it´s coming release dates (not necessary 100%) ========================================================================================= Change log - More detailed changelog can be found in Mantis v1.2.2 Released 2010-11-08 ========================================= - [Mobile] Mobile GUI - [General] Saving the first scenario gives the impression that it is selected - [General] Remove root_url from config since this isn´t needed. - [Tdtool] Add more debug messages when toggling devices - [General] Move all.css to subfolder - [Scheduler] Change sort order of schedules for better readability - [General] Add config_default.php including default values for fallback - [Mobile] Theme doesn´t seem to have affect on page - [Languages] Wrong variable name in install_en.php - [Help] Remove link Mobile to Full (and vice versa) from Help v1.2.1 Released 2010-10-27 - [General] Move debug information to bottom of page - [Tdtool] Engineheater schedules are activated immidiately even if they shouldn´t - [Scheduler] Schema with both on and off and off on next day doesn´t work - [New functionality] Add link from full to mobile version and vice versa v1.2 Released 2010-10-19 - [Help] Show help in installer - [General] Getting some warnings and notices from tdtool - [General] Getting error when user session timed out or overtaken by another application - [Readme] Add info about that user has to create the database first - [Readme] Add permission info for tdtool - [General] Add error messages in the top of the page if vital paths are not working - [Tellstick] Log actions on stick to file. - [Configuration] Add configuration page for temperature sensors - [Devices] Allow users to have custom icons for all devices - [General] Auto reload of page - [Scheduler] Updatetasks.php doesn´t execute on certain operating systems - [Houseplan] Show graph for temperatures when clicking on them in houseplan view - [General] Infobox calculates sun dependant schedules wrong - [Tdtool] Dongle lock doesn´t work after making tdtool to run in background - [General] \\ becomes \ and \ is completely removed - [Log] Log IP instead of text "local" / "Hemma" v1.1.1 Released 2010-04-15 - [Installer] Configured devicetype is not selected. - [Scheduler] JT.exe causes unhandled exception. - [Scheduler] Combination of different devicetypes in schedules doesn´t work as expected. - [Houseplan] Removed devices aren't removed from houseplan. - [Configuration] Unable to edit or delete created scenarios. - [Configuration] Need to take summer/winter time into account when calculating sunrise/sunset. v1.1 - Released 2010-04-02 - [Database] Eventlogging with dimlevel true/false is not handled as numeric 1/0 by some database engine versions. - [Installer] Fix the install script to handle updates as well. - [General] Verify Mac compatibility. - [Tdtool] Commandline reports "You are not allowed here" for some OS. - [Languages] Translate to finnish. - [General] Add licensing to pages. - [Tellstick] Verify absolute dimmer function. - [General] Mobile version. - [Configuration] Need possibility to clear houseplan configuration. - [Installer] Install doesn´t seem to understand åäö on some computers. - [General] Add setting to hide/show the infobox. - [Scheduler] Add ability to force next event to run now. - [Log] Add sort, limit, clean. - [Database] Make queries injection proof. - [Languages] Add translation support. - [Database] Make queries support single backslash. - [Tellstick] Make PHP execute exec in background. - [Tellstick] Make schedules use last dimlevel. - [General] Add index.php to links and forms. - [General] Add configuration for default page. - [Scheduler] Implement new scenario model. - [Configuration] Manage scenarios. - [Languages] Fix languages for settings in database. - [Languages] Add fallback to english. - [General] Theming. - [Languages] Translate to english. - [General] Add help pages. - [General] Add info box showing sun rise, sunset, next event. - [Configuration] Possibility to configure what IP addresses are considered "local". - [General] Show Scenario setting on houseplan page, eg. Home, Away... v1.0 - Completely reworked scheduling, now with sun/temperature dependant control - Linux support (thanks Daniel Malmgren) - Houseplans - Settings and user management from within homeautomation - Log filtering - Support for absolute dimmers v0.9 - Corrected