reinhard-brandstaedter / solarflow-control

A tool to automatically control Zendure's Solarflow hub with more flexibility to match home power demand
55 stars 9 forks source link

REFACTORING: provide control parameters via mqtt #80

Open reinhard-brandstaedter opened 8 months ago

reinhard-brandstaedter commented 8 months ago

Set control parameters on the fly via mqtt

reinhard-brandstaedter commented 8 months ago

These control parameters can be set already:

Topic Value Meaning
solarflow-hub/{deviceId}/control/chargeThrough ON/OFF turns Charge-through mode on or off
solarflow-hub/{deviceId}/control/dryRun ON/OFF turns actual control commands (limiting of SF/inverter) on or off
tuxianerDE commented 2 months ago

Bringing up an old enhancement again.

I would vouch to have other parameters possible to be changed on the fly as well.

Specifically thinking of offset (sunrise and sunset) as this might change over the course of the year and one could use an HA automation to set this value every week.

But also the minimum charge level, for example for people are absent for a longer time i.e. vacation one could simply change this value on the fly.

Whenever the application is restarted the config values are taken as fundamental basis.