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

How can i install this on Debian ? Any Support for Grafana Dashboard? #1

Open
Hellangel1987 opened this issue Jan 3, 2019 · 2 comments
Labels
documentation improvement question Further information is requested

Comments

@Hellangel1987
Copy link

Hi,

i would like to install this and enable a Grafana Dashboard for it.

Can you support me ?

Regards

@corbinbs
Copy link
Owner

corbinbs commented Jan 4, 2019

Hi @Hellangel1987 - you should by able to run this library / service pretty much anywhere you can run Python 3 and also access a Renogy Rover over an available USB port.

I'd recommend creating an environment just for the solarshed related libraries:

python3 -m venv solarshed-env
source solarshed-env/bin/activate
pip install solarshed

then you'll need to run python3 -m solarshed.server as a service on your system so that prometheus can be configured to scrape metrics from it to populate your grafana dashboard.

Right now, the server process is hard coded to use /dev/ttyUSB0 as the USB port where the Renogy Rover is attached:
https://github.com/corbinbs/solarshed/blob/master/solarshed/server.py#L31

On dedicated raspberry pi boards I've used, this always ends up as the device in use but that may not be the case elsewhere (especially if other USB devices are in use).

I hope to make more of this configurable over time as we work to support more solar charge controllers.

prometheus and grafana should install 👌 using the preferred install methods for debian.

Thanks for the interest in the solarshed library!

@corbinbs corbinbs added question Further information is requested documentation improvement labels Jan 4, 2019
@Hellangel1987
Copy link
Author

Hi Corbinbs,

thank you - awesome response, didnt expected that :)

My Charger is ordered and will replace a china PWN one. Looking forward to setup this in my cabin wood.

I Will keep you in touch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation improvement question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants