Giter Club home page Giter Club logo

Comments (2)

corbinbs avatar corbinbs commented on July 27, 2024 1

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!

from solarshed.

Hellangel1987 avatar Hellangel1987 commented on July 27, 2024

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

from solarshed.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.