===================
Hosola-data-logger is a small PHP script to fetch, parse and upload data from your Hosola PV inverter. Currently it supports upload to PVOutput and/or a MySQL database
- Install php (sudo apt-get install php5-cli for example or just php5 if you want the full web stack)
- Install composer (see https://getcomposer.org/download/)
- Git clone the source with
git clone https://github.com/Mattie112/hosola-data-logger.git
- Execute a
composer install
to fetch dependencies - Copy the example.ini to config.ini and edit this file
- Checkout the "example.php" and "export_data.php" file to get you started!
- If you want to use MySQL don't forget to import the SQL file
Simply create a cronjob (or use the Windows Task Scheduler) like:
* * * * * php /home/username/hosola-data-logger/export_data.php
Special thanks to these repositories I consulted when developing this script:
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.