Open chana1900 opened 10 months ago
I fixed it by changing
pinConfig.mode = 'ppv';
to
pinConfig.mode = 'pgrid';
in setPinPpvConfig in 'fronius.ts'
Yes this was a bit of a hack just for my usage. A better solution is to read the config in checkPinStateAtInverter (fronius-ouptut-pin-accessory.ts) and persistant so it can be restored - just like the on / off thresholds
I tested this on a Fronius Symo 10.0-3-M with a Fronius Smart Meter 63A and is working. It updates the Load Management profile to turn ON the relay when operated via Homebridge.
The issue I'm facing is that when it is restoring the original Load Management profile, it restore to the controlling option "by power production" rather than the "by power surplus"
Please see the profile I am using. It takes the "Feed in" into account when turning on the relay.
It is great if this can be implemented.