Hi. I have domoticz installed on a raspberry pi 3 and want to use it for simple home automation. I have an arduino uno connected to the raspberry via usb and am using the mysensors library. The problem concerns the control of window blinds. I want to control the tady wired roller blinds using relays controlled by the arduino and additionally retaining the ability to open and close the blinds using buttons. I allocate two relays for each roller shutter in the arduino - one roller shutter up, the other roller shutter down. Each of the relays is assigned its own on/off button in the domoticz. However, this solution is flawed because it is possible to switch on the relay responsible for raising and lowering the roller shutter at the same time. The question is how to make it so that switching on one relay automatically gives information to the arduino about the need to switch off the second relay.