RecentChanges TextFormattingRules AllWikiTopics OrphanedWikiTopics ToDoWikiTopics WikiLockList RSS Export2HTML WikiSearch SetUsername StartingPoints Home |
Heatmiser @May 27, 2013 11:45:36 AM
Install and basic configuration of the Heatmiser softwareAdapted for server style installation from: http://code.google.com/p/heatmiser-wifi/wiki/InstallationBasicGet the software required to get the Heatmiser software: $ sudo apt-get update Get the Heatmiser software: $ cd /usr/share Install required modules for the Heatmiser software to run: $ sudo apt-get install -y libxml-simple-perl libjson-perl Answer yes to any questions about whether the tool should configure itself and choose mirror sites automatically Test with command line parameters: cd heatmiser-wifi Configure, and test again: $ vi /etc/heatmiser.conf # These settings are used by the Perl software for connecting to the Heatmiser thermostat For all configuration options see: http://code.google.com/p/heatmiser-wifi/wiki/ConfigurationOptions $ bin/heatmiser.pl Run as DaemonGet the software requireed to run as a daemon:sudo apt-get update Create MySQL account $ mysql -u<ROOT_USER> -p<PASSWORD> mysql> CREATE DATABASE heatmiser; Test connection to MySQL: $ mysql -u heatmiser heatmiser mysql> SHOW DATABASES; Optionally add configuration options: $ vi /etc/heatmiser.conf # These settings are used by the Perl software for connecting to the MySQL database For all configuration options see: http://code.google.com/p/heatmiser-wifi/wiki/ConfigurationOptions Install daemon script and init.d script: $ sudo ln -s /usr/share/heatmiser-wifi/bin/heatmiser_daemon.pl /usr/local/bin/heatmiser_daemon Start service and test: $ sudo service heatmiser_daemon start May 27 11:29:46: >>>> heatmiser_daemon started >>>> $ mysql -u heatmiser heatmiser mysql> SHOW TABLES; Set daemon to start at boot time: $ sudo update-rc.d heatmiser_daemon defaults Adding system startup for /etc/init.d/heatmiser_daemon ... configure webserverEdit any DNS configuration required and reload DNS server |