diy solar

diy solar

Has anyone tried to use SRNE (Modbus ?) communication protocol with MakeskyBlue, PowMR or EASUN SCCs ?

So how does the register list from the link apply to this register map that is incomplete, but definitely correct? https://github.com/odya/esphome-powmr-hybrid-inverter/blob/main/docs/registers-map.md

I know there is more than one way to specify MODBUS register addresses. Sometimes a full address is given (what is sent on the wire). Sometimes one just gets "a function independent" register address one then has to add some offset to and +1 usually. I reviewed this list in hope maybe it can be matched, but it is not just numbers that differ. Order of the registers is different too.

So I suspect that SRNE may be making the boards, the cases etc, but these other "manufacturers" are putting it together and burning in their own firmware. I'm talking to a guy on another forum that has successfully reverse engineered such firmware (despite it being read protected with a 128 bit JTAG password). I was planning to use my 4.2KW inverter as a "bench testing unit" and have my go at reversing the firmware myself. But I was just told by all Aliexpress sellers the replacement I was expecting to be here in next few days will not even be in Europe before a month and half passes.... so I have no inverter I can dissemble and play with on the bench :-( I have to use it to power (parts of) the house (anyone doing off grid knows the perils of needing 25KW peak load capacity despite 200W base load, because once per year someone in the house may switch all the appliances on at the same time).
Unfortunately I have no idea.
Would it be possible to figure it out by installing the PC software and working backwards?
 
Sadly I don't know Home Assistant (yet - its on my list of things to do) so I can't comment at that at all. Regarding the hex codes for PZEM, if you have register numbers and what to write you can use python's minimalmodbus in debug mode to show you exact hex of what it sends on the wire. I'm not sure I understood the problem with the hex code you're resolving.
Nothing to do with the pzem module that's a different part of the project and completely separate hardware to the inverter.
What I mean is I haven't looked at the hex codes and registers for the password, from what I understand I need to enter a password and disable password for each login/reboot of the esp I'm using for reading the modbus from the inverter. It's not just a matter of entering the modbus registers and info to my code, I need to write an automation that does it on initialization.
 
So how does the register list from the link apply to this register map that is incomplete, but definitely correct? https://github.com/odya/esphome-powmr-hybrid-inverter/blob/main/docs/registers-map.md

Ah hah- I think we’re looking at two different manufacturers’ register maps. PowMr sources from SRNE but also other OEMs eg Sumry or Voltronic.

https://solar-assistant.io/help/easun/configuration has a chart mapping some PowMr models to original manufacturers, maybe with the OEM identified better docs can be found.
 
Unfortunately I have no idea.
Would it be possible to figure it out by installing the PC software and working backwards?
It would. If the PC software worked 😢

Sadly I've never been able to connect. I suspect it may be so because it needs a crossover cable. I should find out on the weekend.

Also the "smart plug" shows no settings in dessminitor. My EASUN SMH-II shows all kinds of settings. But not Y&H/POWMR.


Ah hah- I think we’re looking at two different manufacturers’ register maps. PowMr sources from SRNE but also other OEMs eg Sumry or Voltronic.
Voltronic has another text protocol that doesn't look like modbus. It contains strings starting with Q. One of their inverters, a MKS II uses that protocol. Despite the device looking almost identical internally the protocols are nothing like it.

Also voltronic sells a "modbus rtu card" and that has no docs about registers either...
https://solar-assistant.io/help/easun/configuration has a chart mapping some PowMr models to original manufacturers, maybe with the OEM identified better docs can be found.
Thanks. I know for sure easun uses a different protocol/registers. The link to powmr 4500/6500 seems interesting.

Edit: Major development, writing works 😊

I've sent the hex specified in the document I pasted few posts ago (during a day) and it actually set grid tie current to 2A from 8A. However it seems no matter what is set the reading value is the same. The actual value on the device does change! Great

Also, this may be important. It takes almost exactly a second for the device to set it. Maybe my timeout was too short before too?
 
Last edited:

diy solar

diy solar
Back
Top