SRNE inverter integration help

Thank you, I am upgrading my inverter soon to the HYP4850S100-H so I’ll do this with the new one.

Could you send me the link to the software? I can’t seem to find it or know what it looks like. I asked for the Modbus manual to cross-check, and your yaml settings were accurate so I have gone back to multiplying by 0.1 as specified. I think I just need to accurately set the inverter’s date and time.

Edited: comparing readings from the Home Assistant default energy board which uses the accumulated power generated entity and the daily PV entity from the inverter, I’ve found out the latter is indeed a double of what’s there. So the fix for it is to actually multiply by 0.05.

https://shorturl.at/fxJOT

1 Like

Thank you so much.

Good day bro.

I have tried EVERYTHING you did in this thread to get mine to work. I’m so close yet so far.

Even @LifeofDan-EL has helped me. I get “Unknown” error. My wiring is correct. Don’t know what else to do really.

Logs look good too i think.

What could be the problem?

Is it because I have the HESP Inverter?

@Dimumal and idea?

Logs

I’m not an expert on this. I got it done through someone & just posted here to show that it is possible

Just wanted to share some feedback on my latest SRNE / PowMr (POW-LVM3K-24V) setup.
I tried many ways and so far, those are the results:

- Probes and Connection type:
It appears the USB and the RS485 are tied to the same controller internally, and pulling both at once will create conflicts, as in if once port polls data, the other port is unavailable for that timeslot.

- USB:
iPow connection is stable on the computer, however data in the third tab is fractional, not direct reading (as in voltages readings can be *2 or /2 from real life)

Trying to read USB port through a VM connected to /dev/ttyUSB0 worked, but was highly unreliable, with half the readings not happening because “Command unrecognized or invalid”

Trying to read USB port from a RPi (to try sending over MQTT) under Raspbian failed 100% of the time. Port is detected, but for some reason, I had the “Command unrecognized or invalid” every single poll.

RS-485:
RS-485 through RS485-USB adapter : Works, but I didn’t like it
RS-485 through ESPHome : Couldn’t make it work
RS-485 through Waveshare : Worked 100% of the time

Final and best solution (for my use case and liking):
Finally, this is what I used, Waveshare 485 to PoE Eth “Breaker style” device and YAML config to poll each address I needed.

Note : I found that readings were… of average accuracy. Especially in the grey zone where your solar production is close to the inverter output. Most of the time, my panel would say “0W”, my battery discharge would also be “0W” but my inverter would output “100W”.

1 Like

@Dimumal I needed quick esphome/modbus monitoring of my PowMr branded SNRE inverter, and I had followed that other github’s yaml, but it was constantly disconnecting and resetting with all the data showing unavailable.
I found your post here, copied your sensors and dropped them in and immediately the connection issues resolved, and now I have data. I’m running 24V so some of the numbers will need to be adjusted but for now I’ve got enough useful data for this week’s offgrid excursion so I can use HA to alert when I need to start my generator (it’s a manual pull-cord so I can’t use the built-in relay).

Long and short: Thank you for posting!
This was very helpful! I may work on tweaking that other youtuber’s yaml using yours as the baseline as his has more data, if I do I’ll post back here to update.

2 Likes

Thanks.

And a quick note. My inverter send the voltage as it is 12V system. So I have to multiply it by 4 for my 48V system as below example

 - platform: modbus_controller
   modbus_controller_id: srne1
   name: "Over Discharge Voltage" #name for HA
   id: srne_over_discharge_voltage #id for HA
   register_type: holding
   address: 0xE00D #register address (see modbus manual)
   unit_of_measurement: "V"
   accuracy_decimals: 2
   device_class: Voltage
   state_class: measurement
   filters:
      - multiply: 0.4   

Maybe you have to multiply it by 2 for your 24V system.

   filters:
      - multiply: 0.2  

i have srne 10kw inverter i dont know how to setup yaml file i just copied yours and get this errors : INFO ESPHome 2024.7.3
INFO Reading configuration /config/esphome/powmr-inverter.yaml…
Failed config

ota.unknown: [source /config/esphome/powmr-inverter.yaml:22]

‘ota’ requires a ‘platform’ key but it was not specified.
password: 27a70d64573b33d2dc248577739abfa5

can you help me to do settings i have powmr 10.2kw inverter it is basically same like srne . they are just rebranded . how do i configure yaml file i dont know how to add it to esphome

I’m not an expert on this. I got it done through someone & just posted here to show that it is possible

Can you ask for the modbus manual and upload? Have you done the wirings?

For configuring yaml. You just have to flash the esp32 with the default config, during first setup.

Then you modify the code to include from the captive portal in the yaml above.

can i ask for modbus manual from who ? from powmr that sold me inverter ?

SRNE modbus manual you can get from PythonProtocolGateway/docs/SRNE_MODBUS_v3.9.pdf at 940a2ecf736549b9a802f122e4c4aea0e3a75edd · HotNoob/PythonProtocolGateway · GitHub

1 Like

Thank you @Dimumal !!! I was finally able to get this to work with PowMR POW-SunSmart SP5K.

To those that are having issues… MAKE SURE you follow the wiring diagram! Initially I didn’t bother wiring the ground wire between inverter to the TTL-RS 485 board and it didn’t work. Took everything apart and redid it all over and finally worked. Also takes about 5-10 mins before I see any data fed into HA so be patient.

2 Likes

@Dimumal, your diagram says RJ45 pin 2 should be connected to TTL GND, but the color of the wire in your diagram is orange/white, which is RJ45 pin 1, not 2.

Was this a mistake?

(I am trying to make the connection, exactly like you did, and it’s not working)

It should be pin 2

1 Like

Great. It worked. Thanks a ton! My GND pin wasn’t properly connected.

2 Likes