Detect Button Press

Long story short, I am trying to detect when the circulation button is pressed on my hot water heater controller in our bathroom. Years ago I wired a dry contact relay on either side of the button to virtually "press" the button for say when a shower light was turned on so that hot water would start circulating and my kids or us parents have a warm shower immediately. My wife has now gotten in the habit of just pressing the button on the controller manually lately and that has thrown my HE code in a loop of detecting when the circulation pump is on. So now I am on a quest to figure out how to just detect when this button is pressed physically or virtually through my dry contact relay. This would greatly simplify my app code as an added benefit.

So not sure pictures of the circuit board of this would really help, but here is what I have hooked up now:

  • Hot water controller is mounted on wall in our master bathroom
  • I soldered 2 conductor wire to both sides of the circulation button which leads down into the crawl space to a dry contact relay
  • Using the Qubino Flush 1D dry contact relay to simulate the button press
  • The Qubino also happens to have a contact sensor feature that I would like to leverage though since it is powered with 120V it has to be 120V to detect change, which is why I was attempting to go down the 5V SPDT relay route since the power on the button measures 5.9VDC. Then when the relay coil detects change, NO changes to NC and the 120V can flow through the relay.

Thanks I am trying to use a 5V SPDT relay which works great for other purposes I have hooked up to HE and a contact sensor such as my power circuit outage detector. Basically when this relay detects 5VDC via its internal coil the internal relay switch will actuate.

For whatever reason this 5V SPDT relay is not working so hoping this awesome community has other ideas to figure this out.