Open Josuan opened 5 years ago
What do you need exactly? You need clone repository, copy app/config.dist.php to config.php and put the correct parameters for your environment.
I have one crontab to app/console file each minute to store the data.
Later you must have grafana installed with one dashboard for view the data.
When I have time I will try to put a better explanation in the readme.
If you have more doubts please ask, I can help you
thanks for your reply! i have the repo cloned, but didnt copy app/config.dist.php, will try now, i did edit the config.dist.php file with the correct rpi 2 port, also have grafana and influxdb installed and running, the file to run is App.php with sudo php App.php? thanks in advance!
you also need make composer install in root project folder. for run the app you have 2 modes: app/console.php -> this file is for crontab, extract the data from inverter and insert to influx db -> php app/console.php web/index.php -> this file maybe you can put under apache or nginx, but also found from console commnad, this return the current data from inverter in json -> php web/index.php
The dashboard used in grafana is 7811
i did this in RaspiInverter folder: curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer followed by: composer require influxdb/influxdb-php
you don't need composer require, only composer install
ok thanks for your reply! i will try and report back
when i run the program it just sit there dont give any output, i have copy app/config.dist.php to config.php and edited with correct parameters, also added the crontab file and imported the 7811 dashboard but cant get the data, how can i test from terminal if i am getting data from the inverter?, so i can troubleshoot if its is the rs485 to usb converter
you can run the same command that you put in crontab manually. This scripts are prepared for get data from USB, I don't know if can get the data from rs485
ok, the inverter im trying is a Axpert-VM-III can you suggest another adapter or way to read the data of it, thank in advance
how can i run it im new