APsystems Modbus integration

I’ve just finished creating a Modbus integration for my APsystems solar setup and need a little help testing it. (The reason for that is my solar panels are under 6 inches of snow right now!) It is working insofar as it correctly returns information such as inverter serial number, but none of the power stuff is testable until I clear the snow.

Anyway, as the topic title suggests this is a Modbus integration, (all local, no cloud or API), and uses the SunSpec standard as used by the following ECUs:

ECU-R 2160XXXXXXXX Version 1.3.7 or above (Modbus TCP)
ECU-R 2162XXXXXXXX Version 2.0.2 or above (Modbus TCP)
ECU-C 215XXXXXXXXX Version C1.1.3 or above (Modbus RTU - not yet implemented but I’m willing to give it a go)

ECU-B is not supported.

(Strictly speaking I think it’s the inverters that use the SunSpec standards and the ECU just acts as a Modbus gateway. Just guessing from what I’ve seen as I build out the integration.)

My system uses DS3 inverters and an ECU-R, but theoretically since it’s built on the SunSpec models any inverter supported by the APsystems ECUs mentioned should work. My DS3s have two channels, but up to 8 are supported.

Although it’s all written and I have it running in my HA environment, I still have to get it up on GitHub and write an appropriate README.md file.

As you’ll see this is my first post on the forum, and it’s the first project of any kind that I’ve made public on GitHub, so I understand if people are cautious. But if you want to try it out and help me with testing or have any questions then let me know.

Have you seen GitHub - christianvaes/homeassistant-apsystems_modbus: Home Assistant HACS integration for APsystems ECU over Modbus TCP · GitHub?

Curious if your solution is similar

Thanks for the heads up! I hadn’t seen this and it looks to be exactly what I’m doing. I admit not to doing a thorough search - my first hits were non-modbus integrations. I’ll check this out and probably ditch mine. It was a very worthwhile exercise though because I have more integrations I want to tackle.

I’ve still got to clear the snow off the panels though. :frowning: