GithubHelp home page GithubHelp logo

logreposit / renogy-rover-reader-service Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 632 KB

Communicate with Renogy Rover Solar Charge Controllers (ML2420, ML2430, ML2440) via RS232 and get current measurement values.

License: GNU General Public License v3.0

Dockerfile 0.52% Shell 0.19% Kotlin 99.30%
logreposit toyo srne renogy renogy-rover ml2420 ml2430 ml2440 rs232 modbus

renogy-rover-reader-service's Introduction

renogy-rover-reader-service

branch CI build test coverage
master CircleCI codecov.io
develop CircleCI codecov.io

Service Description

The renogy-rover-reader-service reads measurement and fault data from Renogy Rover compatible solar charge controllers using the Modbus RTU protocol over the RS232 interface and pushes it to the Logreposit API.

The implementation has been done with a TOYO SR-2440 MPPT Solar Charge Controller. The name of the service renogy-rover-reader-service has been chosen because the Modbus documentation is labeled with the Renogy brand (and I really could not find out which of those brands/companies is the actual manufacturer 😅).

Possible model descriptions are (list not finished):

  • Renogy Rover 20/30/40/60/.. MPPT Solar Charge Controller
  • TOYO SR-ML2420
  • TOYO SR-ML2430
  • TOYO SR-ML2440
  • SRNE ML2420
  • SRNE ML2430
  • SRNE ML2440

The renogy-rover-reader-service is a Spring Boot project and the library com.ghgande.j2mod is in use for the serial modbus communication.

Configuration

This service ships as a docker image and has to be configured via environment variables.

Environment Variable Name default value
RENOGY_COMPORT /dev/ttyUSB0
LOGREPOSIT_APIBASEURL https://api.logreposit.com
LOGREPOSIT_DEVICETOKEN INVALID needs to be changed!
LOGREPOSIT_SCRAPEINTERVALINMILLIS 15000

Docker

The latest images can be found on Dockerhub.

Place the following docker-compose.yml file in a new folder, then run docker-compose up -d.

version: '2.4'

services:
  renogy-rover-reader-service:
    container_name: logreposit-renogy-rover-reader-service
    image: logreposit/renogy-rover-reader-service:v0.4.0
    restart: always
    devices:
      - "/dev/ttyUSB0:/dev/ttyUSB0"
    environment:
      LOGREPOSIT_DEVICETOKEN: your-logreposit-device-token

renogy-rover-reader-service's People

Contributors

dominic-miglar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kjellkt

renogy-rover-reader-service's Issues

Fallo después de actualización

Hola, intenté actualizar mi dispositivo que se supone que es SRNE ML2420 y se bloqueo,
Tengo el modulo BT-01 con el que me comunico con el dispositivo.
¿Cómo podría introducir el software original?
Mi dispositivo actualmente no arranca, pero el modulo bt-01 si se enciende.
Gracias por su tiempo.

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.