Open Hellangel1987 opened 5 years ago
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!
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
Hi,
i would like to install this and enable a Grafana Dashboard for it.
Can you support me ?
Regards