Please have a look at the sketch:
C6C4E84D-AD5D-4EE3-80A6-76B7A005C9E5.jpeg
In the case your not familiar with diagrams, try to get help from a friend with skills in electronics or electrical work!
Hello thgoebel,
Thanks again for your help.
I just wanted to tell you that I have now installed and automated them in Homeassistant and it works perfectly!shellypro2.jpg