@Mattie thank you for this work! I got an HF4850S80-H type of inverter that I have been controlling with my own bash/python integration by reverse engineering the commands I received from the supplied manufacturer software iPower.exe.
Can you share any documentation about the registers you use? How did you find/acquire this documentation?
I created the below script to configure values, but I would like to expand this to all the battery settings, have you done this with modbus and any mapping between the configuration settings in the manual and the modbus commands?
Is there a way to configure the modbus and intervals, so it does not lock up the tcp connection the port all the time as it prevents my script to run and then my automation fails with writing my settings.
Has anyone found documentation about temperature monitoring and maximum temperatures?
Has anyone found firmware updates for your devices? HF4850S80-H (with parallel communication).
Hi! I’m glad to hear that I will post some docs on the modbus indexes here instead of uploading it when I get to the computer. You can set the scan intervals in the modbus configuration if that’s an alternative for you. I don’t know if you can poll it manually. An easy work around would be to control the modbus gateway with a zwave switch or something like that. Depending on what you wish for it could work. And if you only wish to send commands (write registers) through the gateway it can be done with scripts so that you don’t need to poll at all.
Would it be possible to write the registers with the same modbus connection used to read the sensors, then I can replace my custom script with writing to sensors etc. Have you done this with HA modbus and any mapping/documentation between the configuration settings in the manual and the modbus commands?
I guess that should be doable if you just copy the modbus config without the “sensors:” part if you dont want any. Then try to make a script like I made in this post: Integrating SRNE MPPT Inverter with HA - #10 by Mattie worked nicely for me
I am new to the Home Assistant. Recently I just try to setup the modbus with USB(rs485 to USB with CH340T) for my SRNE 48V 5000W all in one inverter. Currently I can read all the data with modbus sensor as Entities, but they are not listed and HA complain no unique_ID. I try to manually add some unique_ID as your configuration.yaml, I still can’t use them in the energy dashboard even with right kWh unit. Your dashboard looks so good, I want to setup it up as yours. Would you tell me how you integrate these modbus sensors into Home Assistant and Dashboard?
By any chance do you know anyone in Japan who owns one?
Also is there any benefit to you all if I added SRNE into my custom_integration if it makes it easier to install / keep upto date etc? Assuming there are adequate Modbus docs available.
Hello my friend, I dont know about the device you are using, easiest way for you is to buy the part I used in the guide and just follow the steps above. Also for the graphs I export data to influxDB, its a timeseries database that can show data over time better. For visualisation it uses grafana, then integrate that into your dashboard. It needs some reading to understand but is very powerful…
For everyones use I uploaded the modbus-index-pdf to another filesharing site, I hope it stays there for longer than 30 days. I anyone else has some space feel free to share it here
Just started to add in support for these SRNE Inverters into my custom_component.
It’s limited at the moment and I’ll carry on adding to it over the next few days. Unless someone wants to look how the registers are defined in the plugin_srne and submit a PR.
I’ve purchased this waveshare RS485 to ETH adapter and have pluged in the respective cables (Ground pin 2, B- pin 7, and A+ pin 8) and setup my baud rate and port to be the same as yours and used the modbus template you provided as an example but always get the error:
“Received 0 bytes, unpack error unpack requires a buffer of 2 bytes”
I can see in the Wareshare portal that the RX and TX values are going up:
But still nothing, I have the ASF48100S200-H inverter so very similar to yours.
Any tips or help would be appreciated, here is my HA yaml, I have modbus working with my victron gear no issues there. Just need to get this inverter communicating.
You should get a state on Modbus_Inverter_BatteryLevel with my config. If you copied every setting it should be fine and it sounds like your ha ip is the one showing up in the waveshare gateway? So it’s collection something?