Command blocking (Protect your inverter) - johanmeijer/grott GitHub Wiki
From 2.2.1 it is possible to block / filter the configure commands(both for inverter and shine device) send from outside (e.g. Growatt Server)
- In this way your inverter is being protected from unwanted changes (hacking). The data is still send to the Growatt server so reporting is still available.
To enable command blocking specify:
- blockcmd=True (startup with -b, --blockcmd or define environmental: gblockcmd=True)
To allow set growatt server IP command you can specify:
- noipf=True (startup with -n, --noipf or define environmental: gnoipf=True)
This can be handy if you are testing and want to change the IP to server where grott is running. Advice is to use this setting only is special/testing situations
Remark
The set time command from the Growatt server is always allowed (not blocked). This is used to set the time of the inverter and will be used in the data record. Grott wil use this Date/Time in mqtt json message or pvoutput message.