Current for Bluetti AC200MAX AC-Charger decrease

Hello everyone. I want to set up a project where my Powerstation Bluetti is charged from the 220V grid, but not constantly at 500W (which is the consumption of the charger), but with a charge modulated by Home Assistant depending on the power of the solar panels.
Since I don’t have the option of connecting the Bluetti directly to the solar cells, I would like to regulate the charging power, if at all possible, with a device that can be coupled to HA.
The charger has a DC output of 58.8V - 8.5A
Does anyone know if something like this can be realized? Does anyone have any ideas?
Thank you