p.kaczmarek2 wrote:I haven't used devgrouptie, but now I'd worry that OpenBeken sends a packet with numRelays = 4 and binary (4 bits) mask for relays to all lamps and devgrouptie acts like each group is a separate group of relays with numRelays = 1 and binary (1 bit) mask.
Just making sure we're on the same page here
I wanted to add 1 button and exclude the other 3 buttons to the device group on the openbk switch, not sure if this is supported yet
My current setup:
3gang bedroom switch (relay 1-ceiling lights, relay 2-fan , relay 3- night lamp)
The relay (pin 14) for the night lamp is set to output high so the tasmota bulbs stays online all the time. pin 15 is set as fake relay 3, otherwise pressing button 3 would toggle relay 1.
![[BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant](https://obrazki.elektroda.pl/6300801300_1662786391_thumb.jpg)
I enabled setoption88 and devgrouptie'd the 3rd button to devgroup1name1: nightlamp, otherwise it would trigger all relays
Quote:(SetOption88 1). When option 88 is enabled, the DevGroupTie sets which relay each device group is tied to. Each device group can only be tied to a single relay
05:54:58.380 CMD: devgroupname
05:54:58.387 MQT: stat/master_bedroom_3g/RESULT = {"DevGroupName1":"nightlamp","DevGroupName2":"","DevGroupName3":"","DevGroupName4":""}
05:55:02.547 CMD: devgrouptie
05:55:02.554 MQT: stat/master_bedroom_3g/RESULT = {"DevGroupTie1":3,"DevGroupTie2":2,"DevGroupTie3":3,"DevGroupTie4":4}
Here's the template for gu10 bulbs (same with other 3 bulbs)
![[BK7231T] My HTTP server, configurator, MQTT support from Home Assistant [BK7231T] My HTTP server, configurator, MQTT support from Home Assistant](https://obrazki.elektroda.pl/3280468400_1662786768_thumb.jpg)
p.kaczmarek2 wrote:And to phrase question differently: do you always have "1" on each bulb selected, or does bulb 1 has 1, bulb 2 has 2, bulb 3 has 3?
I'm not sure how to check on this