Ideas needed - relay into HA

Hi,

I have a wireless relay and I need to detect when it is closed using HA. I dont care if the solution is wired directly to the pi or not. Its dry contact, so any voltage solution can be used. Im looking for the cheapest possible way to do this. Some pointers:

  • The wireless relay itself is 868 frequency, wiring a z-wave sensor to the unit suffers too much interferance
  • GPIO just does work well on HASS.IO, this was the soltuion I isued under my (none-HA) home automation system. Perhaps someone knows why this doesnt work and can offer a solution?

I have deconz, z-wave and arduino available to me. Ive looked at the ardunio solution but it seems only analogue sensors are on offer. My ideal solution would be a zigbee sensor but Im not sure one exists. Any ideas are appreciated.

Hey mate,

I am assuming that this relay is switching a device so you could use a power monitor such as the Sonoff POW to measure if the device is on or off.

Another option would be to connect an opto coupler to the coil contacts on the relay then feed this into an nodemcu to send then send an Mqtt message to HA.

Riley.

Its not powering anything actually…

Its a relay to switch an underfloor heating circuit… but its not wired to anything. It was a bit wimpy in terms of wattage, so historically I had it wired to GPIO, then had my HA system trigger a much more beefy power plug to run an oil filled electric radiator. I cant get GPIO to work at all in HASS … so looking for other options. NodeEMU might work…