you didn’t menstion relayd before. What does it do?
Maybe you need to post exactly what you have done. Otherwise it is difficult to find the problems.