3 relays same channel

frmauricio
Posts: 12
Joined: Mon May 22, 2023 4:01 am

Post

Hello everybody.
I have a doubt, can I put 3 relays in the same channel in supla and control them independently?
Thanks in advance

Fredy
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Specify exactly what you want to do.
SUPLA.... Nareszcie w domu.
frmauricio
Posts: 12
Joined: Mon May 22, 2023 4:01 am

Post

I want to control 3 relays on the same supla channel, just that.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

What tasks are these relays supposed to perform?
SUPLA.... Nareszcie w domu.
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 135 times
Been thanked: 137 times

Post

You have few options:
1. Use one relay per channel and group them in Supla, so you can control group instead of single channel
2. You can write your own implementatiotion of Supla::Control::Relay class and make it control as many GPIOs as you want, then compile your program for your device and flash it.
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

You can also electrically connect 3 relays to one GPIO.

The author must specify what he wants to achieve.
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
frmauricio
Posts: 12
Joined: Mon May 22, 2023 4:01 am

Post

Hello Klee,
How can I do the first option that you suggested?
One relay per channel and group in Supla
Thanks in advance
klew wrote: Tue Jun 27, 2023 8:26 am You have few options:
1. Use one relay per channel and group them in Supla, so you can control group instead of single channel
2. You can write your own implementatiotion of Supla::Control::Relay class and make it control as many GPIOs as you want, then compile your program for your device and flash it.
frmauricio
Posts: 12
Joined: Mon May 22, 2023 4:01 am

Post

Thanks Robert
Robert Błaszczak wrote: Tue Jun 27, 2023 11:56 am You can also electrically connect 3 relays to one GPIO.

The author must specify what he wants to achieve.
frmauricio
Posts: 12
Joined: Mon May 22, 2023 4:01 am

Post

Hello Pygmunt
The tasks for the relays is simple enable and disable something.
Thanks
pzygmunt wrote: Tue Jun 27, 2023 7:06 am What tasks are these relays supposed to perform?
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 135 times
Been thanked: 137 times

Post

frmauricio wrote: Fri Jun 30, 2023 2:39 am Hello Klee,
How can I do the first option that you suggested?
One relay per channel and group in Supla
Thanks in advance
Channel grouping is available at Cloud. So basically you will have 3 separate Relay channels and in Cloud you can group them. Then in app you'll see it in "groups" tab and you can control them together (turn on/off all at once)
Najlepsze suple dla Twojego domu :mrgreen:

Return to “Help”