4channel wifi relays controllable?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
BartSr
Normal user
Posts: 115
Joined: 27 Sep 2019, 17:45

4channel wifi relays controllable?

#1 Post by BartSr » 01 Feb 2023, 22:03

Hi,

Will it be possible to control the 4channel chinese wifi relays using ESP Easy?

https://nl.aliexpress.com/item/10050015 ... pt=glo2nld

TIA
-Bart

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 4channel wifi relays controllable?

#2 Post by Ath » 01 Feb 2023, 22:16

If you have a protocol description available for that board it could be doable, but I suggest to select a more regular 4-relay board that just has 4 inputs to control the relays, that's much easier. And it will enable/require (for the required GPIO pins) you to use a 4MB ESP, so you can update it via OTA, these 1MB ESPs are quite annoying to update (though with the right USB-Serial adapter this ESP-01s is relatively easy to update).

We have the P124 - Output - I2C Multi-relay plugin available, but that only supports those Seeed Studio relay boards, and I don't expect your Ali-find to be compatible with that.
/Ton (PayPal.me)

BartSr
Normal user
Posts: 115
Joined: 27 Sep 2019, 17:45

Re: 4channel wifi relays controllable?

#3 Post by BartSr » 01 Feb 2023, 22:42

Thanks Ath.
So in fact the normal nodemcu gpio's control the relays. Of course using a transistor or optocoupler in between.
Bart

User avatar
chromo23
Normal user
Posts: 821
Joined: 10 Sep 2020, 16:02
Location: germany

Re: 4channel wifi relays controllable?

#4 Post by chromo23 » 02 Feb 2023, 15:21

BartSr wrote: 01 Feb 2023, 22:03 Will it be possible to control the 4channel chinese wifi relays using ESP Easy?
The thing with that relay module is that is uses an extra microcontroller for button and relay switching since the esp-module used on that module has not enough output-pins to control the relays directly.
This chip is probably not supported by espeasy.

An alternative could be another module, where the gpios of the esp are directly controlling the relays:
https://nl.aliexpress.com/item/10050029 ... 7f64K1cyj6

Edit: Another advantage is, that you could drive this board directly with ac....

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 4channel wifi relays controllable?

#5 Post by Ath » 02 Feb 2023, 16:10

chromo23 wrote: 02 Feb 2023, 15:21 Edit: Another advantage is, that you could drive this board directly with ac....
Not really sure if that's an advantage... :?
/Ton (PayPal.me)

User avatar
chromo23
Normal user
Posts: 821
Joined: 10 Sep 2020, 16:02
Location: germany

Re: 4channel wifi relays controllable?

#6 Post by chromo23 » 02 Feb 2023, 16:16

That might be true… but for that price you can’t do anything wrong. If the ac to dc circuit is not working reliably one can still switch to the direct dc input.

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 4channel wifi relays controllable?

#7 Post by Ath » 02 Feb 2023, 16:27

I'm thinking more in the line of electrical safety here, Chinese manufacturers don't have a very good reputation on this end...
/Ton (PayPal.me)

bidrohini
Normal user
Posts: 101
Joined: 03 Nov 2022, 16:24

Re: 4channel wifi relays controllable?

#8 Post by bidrohini » 03 Feb 2023, 08:17

There should not be any issue.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 28 guests