Supla 16 X relay -- esp8266 + mcp23017

User avatar
bulek68
Posts: 150
Joined: Thu Feb 08, 2018 6:51 pm
Location: Podkarpackie

Mon Feb 10, 2020 4:54 pm

Do I understand correctly that any relay can be set as GATE or TIMER?
If so, is it possible to add a gate opening sensor channel?
7x inCan
4x SRW-01
1x SLW-01
1x ROW-02
1x WEMOS Supla Button 8 direct links by Elmaya
1x Yunshan 8xDS+DHT22+TIMER.CWU+OLED by Zybi
1x Sonoff Dual R2 2xGATE+DHT22 by Zybi
1x Sonoff BASIC
2x MELINK
elmaya
Posts: 716
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Mon Feb 10, 2020 4:56 pm

bulek68 wrote:
Mon Feb 10, 2020 4:54 pm
Do I understand correctly that any relay can be set as GATE or TIMER?
If so, is it possible to add a gate opening sensor channel?
yes and yes :D

added 3 NO sensors

Gpio14(D5) -- Sensor NO
Gpio12(D6) -- Sensor NO
Gpio13(D7) -- Sensor NO

mcp23017D 16 X 16_esquemático.png
mcp23017D 16 X 16_esquemático.png (222.68 KiB) Viewed 212 times
Supla_16x16_3NO_DOUT_16Mbit.rar
(492.98 KiB) Downloaded 8 times
User avatar
bulek68
Posts: 150
Joined: Thu Feb 08, 2018 6:51 pm
Location: Podkarpackie

Mon Feb 10, 2020 5:48 pm

sensational!!
Attachments
tenor.gif
tenor.gif (837.89 KiB) Viewed 212 times
7x inCan
4x SRW-01
1x SLW-01
1x ROW-02
1x WEMOS Supla Button 8 direct links by Elmaya
1x Yunshan 8xDS+DHT22+TIMER.CWU+OLED by Zybi
1x Sonoff Dual R2 2xGATE+DHT22 by Zybi
1x Sonoff BASIC
2x MELINK
User avatar
bulek68
Posts: 150
Joined: Thu Feb 08, 2018 6:51 pm
Location: Podkarpackie

Mon Feb 10, 2020 5:57 pm

The system will work if I temporarily connect the 8x relay module?
7x inCan
4x SRW-01
1x SLW-01
1x ROW-02
1x WEMOS Supla Button 8 direct links by Elmaya
1x Yunshan 8xDS+DHT22+TIMER.CWU+OLED by Zybi
1x Sonoff Dual R2 2xGATE+DHT22 by Zybi
1x Sonoff BASIC
2x MELINK
elmaya
Posts: 716
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Mon Feb 10, 2020 6:01 pm

bulek68 wrote:
Mon Feb 10, 2020 5:57 pm
The system will work if I temporarily connect the 8x relay module?
Could you be more specific in your question?
you mean connect
ESP8266 + 2 x Mcp23017 + 8 x active high relay?
User avatar
bulek68
Posts: 150
Joined: Thu Feb 08, 2018 6:51 pm
Location: Podkarpackie

Mon Feb 10, 2020 6:26 pm

I mean when I don't need a 16x relay but for example 8x or 12x.
7x inCan
4x SRW-01
1x SLW-01
1x ROW-02
1x WEMOS Supla Button 8 direct links by Elmaya
1x Yunshan 8xDS+DHT22+TIMER.CWU+OLED by Zybi
1x Sonoff Dual R2 2xGATE+DHT22 by Zybi
1x Sonoff BASIC
2x MELINK
elmaya
Posts: 716
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Mon Feb 10, 2020 6:35 pm

bulek68 wrote:
Mon Feb 10, 2020 6:26 pm
I mean when I don't need a 16x relay but for example 8x or 12x.
Ok, I think I saw some of yours project in the forum.
while you have connected Esp8266 and the two Mcp23017
It doesn't matter how many channels you use (2-6-8-12), the others you leave disabled in the cloud,

You can also ask me for a specific number of channels. :lol:
User avatar
bulek68
Posts: 150
Joined: Thu Feb 08, 2018 6:51 pm
Location: Podkarpackie

Mon Feb 10, 2020 7:10 pm

elmaya wrote:
Mon Feb 10, 2020 6:35 pm
bulek68 wrote:
Mon Feb 10, 2020 6:26 pm
I mean when I don't need a 16x relay but for example 8x or 12x.
Ok, I think I saw some of yours project in the forum.
while you have connected Esp8266 and the two Mcp23017
It doesn't matter how many channels you use (2-6-8-12), the others you leave disabled in the cloud,

You can also ask me for a specific number of channels. :lol:
Okay, you are right. My questions were theoretical.
Is there one or another possibility.
I'm sorry, I won't take your time anymore.
7x inCan
4x SRW-01
1x SLW-01
1x ROW-02
1x WEMOS Supla Button 8 direct links by Elmaya
1x Yunshan 8xDS+DHT22+TIMER.CWU+OLED by Zybi
1x Sonoff Dual R2 2xGATE+DHT22 by Zybi
1x Sonoff BASIC
2x MELINK
elmaya
Posts: 716
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Mon Feb 10, 2020 7:30 pm

Is there one or another possibility.
possibility of what?

and I have a lot of time to assist you.
User avatar
bulek68
Posts: 150
Joined: Thu Feb 08, 2018 6:51 pm
Location: Podkarpackie

Mon Feb 10, 2020 7:53 pm

In your project you used 4 modules with 4 relays.
I know that in cloud I can run 2,4,8,16 channels.
I asked if I would physically connect 2 modules with 4 relays then this construction would still work.
7x inCan
4x SRW-01
1x SLW-01
1x ROW-02
1x WEMOS Supla Button 8 direct links by Elmaya
1x Yunshan 8xDS+DHT22+TIMER.CWU+OLED by Zybi
1x Sonoff Dual R2 2xGATE+DHT22 by Zybi
1x Sonoff BASIC
2x MELINK
Post Reply