Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help #1

Open
Josuan opened this issue Mar 23, 2019 · 10 comments
Open

help #1

Josuan opened this issue Mar 23, 2019 · 10 comments
Labels
help wanted Extra attention is needed

Comments

@Josuan
Copy link

Josuan commented Mar 23, 2019

how can i run it im new

@cabellop5
Copy link
Owner

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

@Josuan
Copy link
Author

Josuan commented Mar 23, 2019

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!

@cabellop5 cabellop5 added the help wanted Extra attention is needed label Mar 23, 2019
@cabellop5
Copy link
Owner

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

@cabellop5
Copy link
Owner

The dashboard used in grafana is 7811

@Josuan
Copy link
Author

Josuan commented Mar 23, 2019

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

@cabellop5
Copy link
Owner

you don't need composer require, only composer install

@Josuan
Copy link
Author

Josuan commented Mar 23, 2019

ok thanks for your reply! i will try and report back

@Josuan
Copy link
Author

Josuan commented Mar 23, 2019

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

@cabellop5
Copy link
Owner

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

@Josuan
Copy link
Author

Josuan commented Mar 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants