This proxy enables a reliable connection between TSUN third generation inverters (eg. TSOL MS600, MS800, MS2000) and an MQTT broker to integrate the inverter into typical home automations.
I will move the Config class into a sub-directory and separate the config reading in a separate class. Then we can with Decency Injection support a Config Reader for the proxy and a different one for the AddOn
Remove the config.toml creator, which runs before the. proxy is started, and read the HA proxy directly from the proxy.
Advantage: We have no config.toml inside the container and we don't store the MQTT password
Idea:
src/config