Problem wiring MOES relay

Hi,

I spend an entire day on this and I’m giving up, I need help.

I have halogen spotlights installed in the built-in wardrobe and they are controlled by a touch sensor switch (GTV AE-WBEZDC-10S), which I believe is basically a bipolar relay.

I bought a MOES 105M wifi relay, flashed it with esphome and wired simply as per instructions, keeping the touch controlled relay so that can still work for locally turning the light on/off.

The problem is that the moes unit does not sense state changes on the touch-controlled relay.

Here is the interesting part: when I measure the output voltage on the GTV relay (between blue and grey wires), it shows 240V AC when switched on, and 64V AC after switching off. Then if I disconnect the GTV output from the moes module (gray cable), the voltage then switches between 240V and 2V respectively for on/off states.

Here is my wiring:

Any suggestions?

wiring seems to be correct.
did you try the moes separately? (with real switch or jumper wire, instead of the GTV output)

Yes, I did. Works fine. It’s the phantom voltage of 64V instead of 0V that’s causing it, I believe. I just have no idea why it’s there. I forgot to add that the GTV switch, when operated, makes a clicking noise indicating it has a mechanical relay inside, rather than some kind of electronic switching circuit.

I was about to ask :slight_smile:

where did you connect the neutral for the moes? if the GTV really is bipolar, then the moes should not be connected to the neutral on the output of the GTV.
but according to your drawing, all neutrals are connected together, is this how it’s done in reality?

In fact I already tried it both ways, with and without the neutral connected to the N terminal on the load side. At the moment I have it connected.

so when the GTV is “off”, you still measure 240V on the moes between L and N?
if so, the only thing I can think of, there is signal contamination on the live wire coming from the GTV electronics not or pourly isolated from the live wire. this is often the case with compact smart relays.

No, when the GTV module is in OFF state, the voltage on its output measures 64V AC, and 240V when ON.
But that 64V drops to almost zero, the moment I disconnect the ‘gray’ wire going to the Moes module. Really strange

I am far from an expert, so take the below with a pinch of salt:

Looks like you have a floating input so your voltage isn’t really clamping down to 0v (or thereabouts).

ESPHome has support for input_pullup (or input_pulldown, which is probably what is required in your case). However the built-in resistors are tiny on the ESP board, so you will probably have to use an external resistor to drop that extra 64v.

Like I said earlier, I am far from an expert, but hopefully this will give you something to research until someone with more hands-on experience than me shows up.

1 Like

Thank you so much. I will give it a day or two to see if anyone else can shed more light on this issue, before I start soldering resistors, but I have a feeling you might be right.