Pretty basic question I'm convinced but I can't solve it by myself nor find anyone else stuck with the same issue. I've installed this Domoticz-Solax-Plugin and I want to change it so that during its heartbeat function it:
- Checks the state of a switch selector device (external to the plugin, with IDX=126)
- IF the state of this device is "Con" = Connected then I want to update one of the parameters of the plugin `<param field="Mode1" label="Update interval (seconds)" width="20px" default="10" />` so that it is equal to 10 seconds.
- on the other hand IF the parameter is at 10 seconds and the state of the device is "Dis"=Disconnected then revert back to the original update interval of 30 seconds.
What am I trying to achieve? I want the plugin to change the sampling rate of the inverter depending on whether I have my EV connected or not to domoticz. Charging is controlled with a different plugin, which has a selector switch to indicate if the EV is connected or not. Thanks for any help/pointers.