[Custom Component] SAJ H2 Inverter

New Pre-Release

Thanks, this update is working much better for my charging control.

Quick question, the update seems to have restricted grid charging and discharging to 500 / 50% of inverter power. Is there a way to set it to 100% besides doing it manually in Elekeeper? We often have a short 3hr window where prices are cheapest, so I try and set charging based on a electricity price to fill within a short time.

1 Like

Same here. My automation failed to start selling and i was buying at a high price because it wouldnt let me set the % to 100 :grimacing:

Hi everyone,

I am a user of the AS1 inverter and I would like to adapt the current H2 Modbus integration to work with this model.

I have obtained the official Modbus protocol manual for the **AS1 AS1Main control board and display board communication protocol, which I am attaching to this post. After reviewing it, I’ve noticed that the register addresses and data scaling (magnification) differ significantly from the H2 model.

I would appreciate any guidance on the best way to implement these changes into the existing integration, or if someone is interested in collaborating to add native support for the AS1.

Thank you for your amazing work and for your help!

Thanks for the log. I compared it briefly. Registers are different.

In Home Assistant, registers can also be read very easily via Modbus. Modbus - Home Assistant

Please also look here in the forum for YAML examples.

The adjustment would be possible, but it is very time-consuming. Without an AS1, it is not feasible.

Yes, and unfortunately, I receive zero support from SAJ. SAJ could program integrations for HA themselves.

Thanks for your honest feedback. I totally understand that without having an AS1 unit, it’s almost impossible to debug and map everything correctly. It’s a shame that SAJ doesn’t provide better official support for the HA community.

As you suggested, I’ve decided to focus on reading the sensors for now and only implementing the mode switching (Auto-consumption to Time of Use/Charge).

Regarding the AIO3 module and the scan_interval, I’m currently testing a 120s interval to avoid saturating the bus, but I might lower it for specific sensors. With the help of AI (ChatGPT), I actually plan to fork your code and adapt it specifically for the AS1 series so other users can benefit from it.

Thanks again for pointing me in the right direction with the YAML examples

I’m running this great integration with a H2 inverter and B2 batteries. Works very well!
I’ve tried to find a parameter showing whether the inverter is on or off grid. Is there such a parameter in the integration?