I installed an Ecolink door sensor on my wrought iron gate. The magnet is on the gate and the sensor is on the 1.5" square post. It worked for about two weeks and then stopped working. I went out to troubleshoot it and found that when I remove it from the gate, and move the magnet over it several times, it begins to work again. I can “open/close” the sensor without any issues at all. The moment I put it back up against the gate, it stops working and it remains in whatever state it was at when I placed it against the metal. I have tried so many variations to this process that I am convinced it is the gate metal that causing the problem. The weird thing is that it worked perfectly for the first couple of weeks.
I have tried taking a 1/4" piece of wood and using it as a backing for the sensor to keep it away from the metal and that is not working either.
Can anyone think of a way to solve this or is there a contact sensor that doesn’t rely on magnets to determine its state?