Hi, Olof
I have a question about the clixon-controller.
We have a scenario where the configuration needs to be sent only to certain devices, not all.
For example, these are devices in an HA-pair, where one device is active and the other passive.
We want to send the configuration only to the active device and can read the device status via the RPC.
But the problem is that the clixon-controller can't selectively send the configuration to the required devices—it sends it to all devices if the configuration has changed.
I suggest adding a function to push_device_one() between xml_diff and the configuration send. This function can be moved to the clixon-controller plugin, allowing us to implement our own configuration send logic.
What do you think about this?
Or are there other implementation methods?
I've provided a quick example in the screenshot.

Hi, Olof
I have a question about the clixon-controller.
We have a scenario where the configuration needs to be sent only to certain devices, not all.
For example, these are devices in an HA-pair, where one device is active and the other passive.
We want to send the configuration only to the active device and can read the device status via the RPC.
But the problem is that the clixon-controller can't selectively send the configuration to the required devices—it sends it to all devices if the configuration has changed.
I suggest adding a function to push_device_one() between xml_diff and the configuration send. This function can be moved to the clixon-controller plugin, allowing us to implement our own configuration send logic.
What do you think about this?
Or are there other implementation methods?
I've provided a quick example in the screenshot.