Skip to content

Communicate with Renogy Rover Elite over RS485 to Sparkfun 9822 connected to a Raspberry Pi using Python. Upload the data points to InfluxDB for display in Grafana.

Notifications You must be signed in to change notification settings

CyberRad/CoopSolar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoopSolar

Communicate with Renogy Rover Elite over RS485 to Sparkfun 9822 connected to a Raspberry Pi using Python. Upload the data points to InfluxDB for display in Grafana. The script may work for other Renogy charge controllers that use RS485.

getcharge.py is ran every 5 minutes using cron. This script handles the communication to the controller and sends the data to InfluxDB.

Thanks to nsaspook on allaboutcircuits.com for mapping out the controller and helping me understand RS485. https://forum.allaboutcircuits.com/threads/project-solar-wind-pic-controlled-battery-array.32879/

Dependencies - Python 3 with pymodbus and InfluxDBClient

Pinouts for Rover Elite and Sparkfun 9822

Rover Elite

  • 1 Not Used
  • 2 Not Used
  • 3 Not Used
  • 4 Not Used
  • 5 GND
  • 6 A
  • 7 B
  • 8 5v (not needed)

Sparkfun 9822 w/RJ45 Jack

  • 1 Not Used
  • 2 Not Used
  • 3 Not Used
  • 4 GND
  • 5 GND
  • 6 Not Used
  • 7 B
  • 8 A

I had to reverse pins 7 and 8 on the cable to the Sparkfun 9822 to get communication to happen. Unsure if Sparkfun or Rover Evolve is documented correctly.

Graph of data

About

Communicate with Renogy Rover Elite over RS485 to Sparkfun 9822 connected to a Raspberry Pi using Python. Upload the data points to InfluxDB for display in Grafana.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages