Sonoff 4CH Pro strange behavior

sonoff
Tags: #<Tag:0x00007f47fa79ecc8>

#1

Hi all,
I’ve been facing a really weird behavior with the Sonoff 4CH Pro, both R2 and not.
I’ve been using one single device to control three lights: living_room, garden1, garden2.
Garden1 and garden2 share the same magnetothermic switch, while living_room is under the main one.
This is the scheme of my case:

As you can see, I’ve been also using relays to remotely control the device button using my pre-existing wall push buttons.

What happens is that the Sonoff living_room channel starts to randomly turn off and on the light, after some days of good work.
On the first occurrence with a Sonoff CH4 Pro R2, I tried moving from ch1 to the unused ch4 but I only managed to have some more days of it working.
Then I thought it was a device issue and tried with a simple Sonoff 4CH Pro, but again, after some days the living_room channel started to randomly toggle the light.
It’s always the living_room channel, that’s strange!

With a test light, I’ve found the presence of AC tension in buttons pin of the device, and this is not owing to my external relays (I can also detach them).
So I’m now thinking that the device insulation among buttons, relays and power supply could be not so well and that an electrical dispersion is in some way ruining the ESP pin.

Could someone confirm or bust this idea? I really have no more clues of what’s happening.

In a while, I’ll replace the 4CH with one Sonoff Basic to control the living_room alone, and a Sonoff Dual to control the garden lights, but I’d like to explore this issue to eventually find out a problem with the device if anyone could be interested in.


#2

How long are the lines from the relay to the device button?

They could be picking up noise (much more likely than insulation breakdown). You’ll need an RC low pass filter.


#3

The noise was my really first thought, I was also going to put an RC filter near the Sonoff buttons.
But:

  • The lines between Sonoff buttons and my external relays are only 1m long
  • It’s alwais the channel connected to the living_room light, no matter what I do or what device I use
  • Other channels have never had a single problem
  • Once the channel starts to “go crazy”, also without wires connected to the button it will continue to toggle randomly (it’s no more connected to anything but I know it by looking at the device leds)

For example, if I just turned on the old R2 device, with nothing connected, it would start toggling ch1 randomly (let’s say about less than once per hour).

Thus, I think that some current flow may have damaged the ESP…


#4

Yeah ok. That’s a bit weirder.

Check the ch1 circuit for dry solder joints around the button pullup resistor.


#5

It could be a connection problem with the mqtt server (or even with wifi) + retain values not set correctly.
Is it flashed with tasmota? If so try checking the console log on the webserver.


#6

Did you “unlrearned” the RF codes? I had this kind of behaviour and it was solved after doing the cleaning procedure. From the ITEAD page:

“Clear 433MHz Coding: S5 is 433MHz code clearing button, please press and hold it until the 4 LEDs lit up green and off.”