At the moment a new smartmeter measurement is passed directly to the inverter. If the smartmeter publishes a new measurement within 3 seconds everything is fine. If the update interval of the smartmeter is less than 3 seconds the setup cannot work properly at because the inverter shuts down "every 3 seconds".
Idea: Decouple both values slightly. Transmit the demand every 3 seconds to the inverter. Allow less frequent demand updates by the smartmeter. Make some timeout configurable to stop the inverter if there a no smartmeter measurements for f.e. 10 seconds.
At the moment a new smartmeter measurement is passed directly to the inverter. If the smartmeter publishes a new measurement within 3 seconds everything is fine. If the update interval of the smartmeter is less than 3 seconds the setup cannot work properly at because the inverter shuts down "every 3 seconds".
Idea: Decouple both values slightly. Transmit the demand every 3 seconds to the inverter. Allow less frequent demand updates by the smartmeter. Make some timeout configurable to stop the inverter if there a no smartmeter measurements for f.e. 10 seconds.