diy solar

diy solar

DIY Renogy WiFi Module with Home Assistant

MetricMoose

New Member
Joined
Aug 24, 2023
Messages
6
Location
Ontario, Canada
About a month ago, I did a weekend project to build a quick and dirty WiFi interface to monitor my Renogy Wanderer PWM controller that came with the 100W solar panel kit, and later their Rover MPPT 30A. This lets me check on its current stats and toggle the load from a local webpage, as well as use the Home Assistant REST sensor to poll and graph the stats. Hardware wise, I needed an RJ12 6 pin connector, an RS232 to TTL serial converter, a DC-DC converter board and an ESP8266 WiFi microcontroller. All of the parts I used together could be picked up for around $10 USD from Aliexpress.

For the Software, I forked an existing project where someone had done the hard work of figuring out Renogy's MODBUS protocol and translating it into Arduino code, then made some slight modifications to the code to work with the cheaper microcontroller that I already had. I then glued on bits of an example project for using the ESP8266 as a WiFi client device and a webserver.

For Home Assistant, my YAML file is in the "RenogyWeb" folder of my Github repo for the project. It's a bit less convenient since it uses a REST sensor, so you have to make sure the IP of the ESP8266 doesn't change. I accomplished that with a static DHCP lease from my router's DHCP server. You could also give it a static IP in the code if you want. Once the custom sensor was installed, I put some of the values in a pane on my dashboard. I'm sure adding MQTT isn't difficult, but I already had web access working so it was really quick to throw together a page that was formatted like JSON.

https://github.com/MetricMoose/ESPArduinoRenogy

68747470733a2f2f692e696d6775722e636f6d2f33336333754c432e6a7067.jpg

68747470733a2f2f692e696d6775722e636f6d2f3456444b3761692e706e67.png

And the Home Assistant integration:
MSZk2JF - Imgur.png


68747470733a2f2f692e696d6775722e636f6d2f516a54574953542e706e67.png
 
Found this similar fully assembled product in case anyone is interested:

I have purchased and been using 2 of these modules on my Renogy Rover 40 and Renogy Rover 100 and they work well to send data to PVOutput on the internet. PVOutput is a free service for sharing and comparing PV output data.

The data consisting of watts, voltage and temperature from the Rovers is displayed and recorded every 5 minutes for free. Logging into PVOutput the data can be viewed live and charted for every 5 minutes, daily and monthly. Data can be compared to other systems word wide.

The gentleman that makes and sells the module on tindie.com is very helpful. I had an issue and he worked with me to correct it.

On the Rover 40 just had to plug it in and configure for PVOutput. On the Rover 100 did the same, but had to power the module with external 5v Power Supply as the Rover 100 only supplies data and not 5V. Simply plugged in a 5v power supply with micro usb connector used on the Pico W Raspberry Pi used in the module.

I also purchased the 3d printed enclosure boxes.

Very happy with the modules and well worth the purchase in my opinion.

Although I don't use Home assistant the module is listed working with it.
 
Last edited:
Back
Top