Relays are shared one-to-one in device groups so if you choose to send/receive the power state, turning relay 1 on will turn relay 1 on in the whole group. Turning relay 2 on will turn relay 2 on in the whole group. etc.
To control different relays, you need to create rules that fire
the DevGroupSend command to send power state changes to the group
(or you could use DevGroupSend to send actual commands).
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/DB7PR02MB4919F488C3A9917E5753F824F7A30%40DB7PR02MB4919.eurprd02.prod.outlook.com.
Relays are shared one-to-one in device groups so if you choose to send/receive the power state, turning relay 1 on will turn relay 1 on in the whole group. Turning relay 2 on will turn relay 2 on in the whole group. etc.
To control different relays, you need to create rules that fire the DevGroupSend command to send power state changes to the group (or you could use DevGroupSend to send actual commands).
On 5/9/2020 5:43 AM, Philip Knowles wrote:
Not sure I understand the question. Do you mean how do you get the Sonoff 2nd and 3rd buttons to send the message to H801? Essentially I think you would still need to create Rules in the Sonoff which create the multicast messages to send to the H801.
Regards
Phil K
Sent from Outlook Mobile
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Francisco Conceição <franc...@gmail.com>
Sent: Saturday, May 9, 2020 10:54:43 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Device Groups configuration
Hi everyone,--
I have a LED strip with a H801 module, that I would like to control with the 2nd and 3rd button of two SONOFF 3 buttons switch. I don´t have a MQTT broker.I took a look at device groups and that seems the answer. Use a multicast group instead of rules seems a lot better. My question is:
How do I control which button/relay listen to the Device Group message?
Many thanks.Francisco
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/67b52edf-9177-4d82-91a1-682ca44d8be7%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
Configure your device groups with: Backlog DevGroupName1 KitchenLED; DevGroupName2 EntranceLED
In your rules, use DevGroupSend1 128=^ to toggle the power of
KitchenLED and DevGroupSend2 128=^ to toggle the power of
EntranceLED
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/6b4daf8a-5673-44e5-9d36-c1f9ef44adcc%40googlegroups.com.
I don't know about the SONOFF Touch specifically, but I'd think
you could use the PWM Dimmer module in Remote Device mode (https://tasmota.github.io/docs/PWM-dimmer-switch).
Just configure and activate a template based on PWM Dimmer with
the 3 buttons mapped to GPIO's on the SONOFF Touch. Set up your
device groups (Backlog DevGroupName1 KitchenLED; DevGroupName2
EntranceLED) and enable remote device mode with SetOption88 1.
That will make button 1 toggle power to device group 1, button 2
toggle power to device group 2 and button 3 toggle power to device
group 3. No rules required.
do rule 1 on Button2#TOGGLE do DevGroupSend1 128=^ endon
do rule 2 on Button3#TOGGLE do DevGroupSend2 128=^ endon
do rule 1 on Button1#TOGGLE do DevGroupSend1 128=^ endon
do rule 2 on Button2#TOGGLE do DevGroupSend2 128=^ endon
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/6b4daf8a-5673-44e5-9d36-c1f9ef44adcc%40googlegroups.com.
The DevGroupSend1 128=^ command will cause relay 1 to be toggled
on all the devices in the group. I'm not sure what you're
expecting to happen to Button1 on SONOFF2. If I'm understanding
correctly, you're not actually using the relays on the SONOFF
Touches (you're just want the buttons to send power toggle
messages to the LED's), correct?
What I was suggesting you could try is to create your template
based on the PWM Dimmer module. On the same page as in the
pictures you sent, select PWM Dimmer (73) for Based On, Button1
(17) for GPIO0, Button2 for GPIO9 and Button3 for GPIO10. This
will make pressing button1 send a power toggle to device group 1,
pressing button2 send a power toggle to device group 2 and
pressing button3 send a power toggle to device group 3.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/b8d8946d-43ab-4abc-b092-69b91b5f2290%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/b8d8946d-43ab-4abc-b092-69b91b5f2290%40googlegroups.com.
You can make it treat the the LED's as independent channels using
SetOption68 1. See https://tasmota.github.io/docs/Lights/#independent-pwm-channels
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/0a9e9d64-d47f-42dc-9716-5ebb573e03df%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/0a9e9d64-d47f-42dc-9716-5ebb573e03df%40googlegroups.com.
Power0 turns all relays on/off simultaneously. https://tasmota.github.io/docs/Commands
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/bb08a3ce-0102-4912-9625-5c1a52a28657%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/bb08a3ce-0102-4912-9625-5c1a52a28657%40googlegroups.com.