diy solar

diy solar

Megarevo RxLNA Discussion

I have asked the person at MR to update the firmware of the SolarMan data logger.
I had version 1.21 on mine.
@NCSolarGarage pointed out one of his units was running 1.21 and one was running 1.24

So I asked MR to update my data logger.
And suddenly I see lots more details:

Yesterdays overview in solarman:
Screenshot from 2023-01-04 21-14-24.png
vs today with the updated software:

Screenshot from 2023-01-04 21-14-08.png
 
I have asked the person at MR to update the firmware of the SolarMan data logger.
I had version 1.21 on mine.
@NCSolarGarage pointed out one of his units was running 1.21 and one was running 1.24

So I asked MR to update my data logger.
And suddenly I see lots more details:

Yesterdays overview in solarman:
View attachment 128020
vs today with the updated software:

View attachment 128021
Mine came with the 1.24 version
 
I came across something interesting while continuing my mission to get USB/ RS485 Modbus connection to work on this inverter. I seen that Solar Assistant has Megarevo support now. The interesting thing is their connection diagram. https://solar-assistant.io/help/megarevo/configuration.

com-port-b6e40dcf274662aeafed1f38aa78931a.png


It doesn't seem to match up with what I see on the data logger stick and what flygeek posted early in this thread.
img_3467-jpg.91839


I guess I will try to check for the 5v+ and ground on the pins to hopefully get this figured out and working, hopefully sooner than later.
 
I was under the impression those were two mating connector views. When you turn the lower image to plug it into the upper image they line up. Or am I misunderstanding what is incorrect?
 
I was under the impression those were two mating connector views. When you turn the lower image to plug it into the upper image they line up. Or am I misunderstanding what is incorrect?
If you look at the PIN numbers on those 2 images, pin 2 would line up with pin 4, etc.
 
This is from the SOLARMAN pdf for the one that looks most similar to the ones we have 1672929642382.png
 
The one from the SOLARMAN pdf matches the solar assistant but the actual stick logger pinout numbers don’t match which I hope is what has been throwing me off.
 
I just 3D printed a plug to replace the SOLARMAN end for wire connection so I do not have to butcher the SOLARMAN adapter. Once I get the data communication to work with the usb, I may use a double pole relay to switch which device is the master on the modbus. Such as, let the SOLARMAN record data but when I use the usb connection, the pi would trigger the relay ahead of time to allow the usb to be the master.
 
Switching the wires to the ones shown from solar assistant now at least does not get a communication error but still doesn’t get a response as expected. I will have to try reading more up on minimalmodbus to see what I’m missing.
 
Okay, I got this thing communicating with a usb rs485 adapter. The issue was the pinouts I listed in a previous post. All were showing wrong. The bottom side of my inverter connector pin numbers matche the picture shown by flygeek holding the wifi adapter. The pinout listed on both the solarman and solar-assistant page are incorrect for mine. I figured this out by checking the voltages and here is the working pinout on mine.
5v = 1
2 = B
3 = A
4 = GND
Now, it could be that mine is a 1 off and the other end of the connector on the main board is incorrect or something neat like that but this talking fine with a cheap usb to rs485 adapter.

I was also able to use minimalmodbus python program to poll the registers listed in the modbus spreadsheet I listed before. This is a sample of pulling the register with a python script to pull battery SoC % through the inverter:


#! /usr/bin/python3
import minimalmodbus
import serial
import time

instrument = minimalmodbus.Instrument('/dev/ttyUSB0', 1)
instrument.serial.baudrate = 9600
instrument.serial.bytesize = 8
instrument.serial.parity = serial.PARITY_NONE
instrument.serial.stopbits = 1
instrument.serial.timeout = 5

data = instrument.read_registers(12613, 1) # Registernumber, number of decimals
print(data)
 
I was also able to use minimalmodbus python program to poll the registers listed in the modbus spreadsheet I listed before. This is a sample of pulling the register with a python script to pull battery SoC % through the inverter:
Are you going to poll all data yourself or going to use some existing setup?
 
Able to pull it myself, reading and writing registers without the SOLARMAN dongle. Using usb instead of wifi on a raspberry pi
 
If somebody gets a minute and is able to use a digital multimeter, can you check the pinout I just posted was how mine is setup? The 5v pin to the inverter chassis ground screw should measure around 4.5v dc, ground screw to gnd pin should be 0 volts and the remaining 2 to ground screw are around 2.5v.

It would be nice to know if mine is like this or if all are the same.
 
Well my pinout matches yours however I got 2.5 volts on pin 1 and 1.25 on the others. This was going to the ground screw right behind the com port
 
Well my pinout matches yours however I got 2.5 volts on pin 1 and 1.25 on the others. This was going to the ground screw right behind the com port
2.5 is a weird reading. I wouldn’t think the SOLARMAN dongle would work with less than 3.3v. Maybe measure between the ground pin and 5v pin?
 
I upgraded my firmware to the latest version.
Screenshot from 2023-01-08 15-58-49.png
I had like 3 errors after the first file upgrade (and automatic reboot)
After the 2nd file (ultra fast reboot) i had like 6 errors and no power.
Shut down PV, Grid & battery : waited 10 seconds after everything went dark and turned on batteries.
turned on PV & grid and everything came back to live.
No more errors.
I saw an "RECORD" in the menu and I assume it is some kind of logging:
Screenshot from 2023-01-08 16-02-32.png
Will keep an eye on this release to see how it works.

**UPDATE**

Screenshot with version info from the solarman screen:

Screenshot from 2023-01-08 16-43-33.png
 
Last edited:
Can someone help me interpret the values I see from solarman ?
I am grid tied and in "self consume" mode
Data from day before yesterday:
Screenshot from 2023-01-08 07-50-47.png
Blue: PV production: 17.75 kWh [clear: DC energy from my 2 strings of panels connedted]
Red: Grid feed-in: 0 kWh [clear: AC rated, my batteries never got to 100% charged so no export]
Purple: Consumption: 32 kWh [clear: what my AC loads used behind the inverter]
Green: Electricity purchased [clear: AC power that was fed from grid through inverter to my loads]
12.77 + 17.75 = 30.53 kWh, comes close to the "Consumption" of 32kWh.
This is where I don't get it:
Yellow: Charging capacity: 14.5 kWh So the PV took over load first. If it had more energy than the load required, it would charge my batteries.
It put 14.5 kWh in the batteries? That is 14.5/17.75 = 82% of what PV generated?
That doesn't sound right, I am pretty sure I used a lot more to power the loads during the day (electric heating since it is winter)
blue/green: discharging capacity 9.14 kWh
If that is the amount of energy that was withdrawn of the battery after charging it with 14.5 kWh, that would mean we only have 63% efficiency storing energy in the battery.
Again: that doesn't seem right.

Any ideas/feedback ?
 
Does anyone have an issue after firmware upgrade.
It seams like every time I do an upgrade to these, pv production stops almost completely, middle of day, full sun.
wondering if anyone else has these problems, or possible solutions?
Thanks
 

diy solar

diy solar
Back
Top