Skip to content

Commit

Permalink
Update Commands.md
Browse files Browse the repository at this point in the history
Linking device groups to SetOption85 and separate docs page
  • Loading branch information
sfromis committed Jul 7, 2023
1 parent 4ecb5ef commit b476539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@ DevGroupName<x\><a class="cmnd" id="devgroupname"></a>|`0` = clear device group
DevGroupSend<x\><a class="cmnd" id="devgroupsend"></a>|`<item>`=`<value>[ ...]` = send an update to device group <x\>. The device group name must have been previously set with DevGroupName<x\>. Multiple item/value pairs can be specified separated by a space. Spaces in `<value>` must be escaped with a backslash (\\). The message sent is also processed on the local device as if it had been received from the network.<br><br>For items with numeric values, `<value>` can be specified as @<operator\>[<operand\>] to send a value after performing an operation on the current value. <operator\> can be + (add), - (subtract) or ^ (invert). If <operand\> is not specified, it defaults to 0xffffffff for the invert operator and 1 for other operators.<br><br>Examples:<br>`DevGroupSend 4=90 128=1` - send an update to set the light brightness to 90 and turn relay 1 on.<br>`DevGroupSend 193=Buzzer\\ 2,3` - send the Buzzer 2,3 command.<br>`DevGroupSend 6=@+ 4=@-10` - set the next fixed color and decrease the brightness by 10.<br>`DevGroupSend 128=^` - toggle all the relays.<br><br>`2` = Light fade (0 = Off, 1 = On)<br>`3` = Light speed (1..40)<br>`4` = Light brightness (0..255)<br>`5` = Light [`Scheme`](#scheme)<br>`6` = Light fixed color (0 = white (using CT channels), other values according to [`Color`](#color)</a>)<br>`7` = PWM dimmer low preset (0..255)<br>`8` = PWM dimmer high preset (0..255)<br>`9` = PWM dimmer power-on brightness (0..255)<br>`128` = Relay Power - bitmask with bits set for relays to be powered on. The number of relays can be specified in bits 24 - 31. If the number of relays is not specified, only relay 1 is set<br>`192` = Event - event name and arguments<br>`193` = Command - command and arguments<br>`224` = Light channels - comma separated list of brightness levels (0..255) for channels 1 - 5 (e.g. 255,128,0,0,0 will turn the red channel on at 100% and the green channel on at 50% on an RGB light)
DevGroupShare<a class="cmnd" id="devgroupshare"></a>|`<in>,<out>` = set incoming and outgoing shared items _(default = `0xffffffff,0xffffffff`)_<BR> <in\> and <out\> are bit masks where each mask is the sum of the values for the categories (listed below) to be shared. For example, to receive only power (1), light brightness (2) and light color (16) and send only power (1), enter the command DevGroupShare 19,1.<br><br>`1` = Power<br>`2` = Light brightness<br>`4` = Light fade/speed<br>`8` = Light scheme<br>`16` = Light color<br>`32` = Dimmer settings (presets)<br>`64` = Event
DevGroupStatus<x\><a class="cmnd" id="devgroupstatus"></a>|Show the status of device group <x\> including a list of the currently known members.
See also|[`SetOption85`](#setoption85) - to enable [Device Groups](https://tasmota.github.io/docs/Device-Groups/)


### SetOptions

Expand Down

0 comments on commit b476539

Please sign in to comment.