fboundy / pv_opt

Home Assistant PV Optimisation for Solis Inverters
MIT License
22 stars 5 forks source link

Support for DLS-W v2.2 Data Logger / Solarman #48

Closed huwpower closed 8 months ago

huwpower commented 9 months ago

I have realised that the reason I cannot successfully install PV Opt is because my data logger is incompatible with Solax Modbus. I have a DSL-W v2.2 firmware MW3_15_0501_1.24 which works with the Solarman integration. Is it possible to incorporate support for my datalogger into your project?

fboundy commented 9 months ago

Hi Huw

I’ve added a template to Issues which lists the info I need to be able to add additional inverters.

The first part should be straightforward: it’s just the various HA entities that are needed to do the calcs. If you can fill that in we should be able to get you running Read Only.

The second part is a bit more vague as every inverter/integration requires different control.

Since you’re running a Solis inverter I know what it can do and which registers need setting. I just need to understand what manual steps you would take to set a timed charge or discharge slot and then I should be able to get something up and running.

Cheers

Francis On 13 Dec 2023 at 15:51 +0000, huwpower @.***>, wrote:

I have realised that the reason I cannot successfully install PV Opt is because my data logger is incompatible with Solax Modbus. I have a DSL-W v2.2 firmware MW3_15_0501_1.24 which works with the Solarman integration. Is it possible to incorporate support for my datalogger into your project? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

fboundy commented 9 months ago

Is this the integration you are using: https://github.com/StephanJoubert/home_assistant_solarman/tree/main

huwpower commented 9 months ago

Yes it is

fboundy commented 9 months ago

OK - that looks pretty straightforward as it exposes a service to write to the Modbus registers. Should have something for you to try out soon.

fboundy commented 9 months ago

Can you confirm that you have the following sensors? If their names are slightly different can you please correct them for me? They may have solis in the entity_id?

sensor.battery_voltage sensor.battery_soc sensor.daily_energy_imported sensor.daily_energy_exported sensor.house_load_power sensor.backup_load_power sensor.daily_house_backup_load_consumption

fboundy commented 9 months ago

Can you also confirm if you have an entity called something like storage_control_mode and if, as I suspect, it simply reports a string such as Self Use or Time of Use

huwpower commented 9 months ago

sensor.solis_battery_voltage sensor.solis_battery_soc sensor.solis_daily_energy_imported sensor.solis_daily_energy_exported sensor.solis_house_load_power sensor.solis_backup_load_power sensor.solis_daily_house_backup_load_consumption

sensor.solis_storage_control_mode

Note the "solis" is actually "Solarman" by default but you can choose to change it.

huwpower commented 9 months ago

"Time of Use"

fboundy commented 9 months ago

OK - Have a look at v3.3.0

You'll need to enable beta releases in HACS to see it.

It should work in Read Only mode if I've got the entities right. It won't write to the inverter yet but it will go through the process and write to the log file what it would have written. I think that's safest until we are happy it's working correctly!

One thing I didn't ask is what tariff you are on. I'm seeing some errors in Eco7 which I haven't unravelled yet but Agile and Flux should be OK.

Let me know how you get on

huwpower commented 9 months ago

I'm on Agile. I'll give it a go tonight. Thanks