Shelly BLU Wall Switch 4
Short device name: SBBT-004CEU
Functional description
The device transmits BLE advertising packets when a button is pressed (1 or more times) or held depressed. Combinations of buttons are also possible.
If a button is held pressed for longer than 10 seconds, the device enters pairing mode. So for functions like controlling blinds or dimming a light, one should avoid holding a button longer and entering pairing mode, or a battery life will be shortened.
Device specific features
Beacon mode
If active, the device will periodically send single advertising packets. This can be used for presence detection, and for connecting to the device. Connection is only possible from a paired devices, or if pairing mode is active.
Characteristic | UUID | Type | Length | Properties | Function |
---|---|---|---|---|---|
Beacon mode enabled | cb9e957e-952d-4761-a7e1-4416494a5bfa | byte | 1 | Read, Write bonded, write without response bonded | Enables periodic broadcast (Required for button buzzer) |
Buzzer enable/disable
Characteristic | UUID | Type | Length | Properties | Function |
---|---|---|---|---|---|
Buzzer enabled | dd78bf35-7680-484e-ad86-1bc1e7738e14 | byte | 1 | Read, Write bonded, write without response bonded | Write 0 to disable buzzer |
Multiclick speed (0-5)
The accepted delay between clicks (in order to be recognized as multiclicks) can be adjusted by writting to the characteristic below.
Characteristic | UUID | Type | Length | Properties | Function |
---|---|---|---|---|---|
Multiclick speed | 35c8a5e2-1cac-4b03-8386-eb6846a1776e | byte | 1 | Read, Write bonded, write without response bonded | (0-5) [800, 550, 300, 150, 90, 55] miliseconds delay |
BTHome sensor data objects
id | name | data type | scale factor | description |
---|---|---|---|---|
0x00 | packet id | uint8 | 1 | revolving counter |
0x01 | battery | uint8 | 1 | battery level in percent (0-100) |
0x3A | button | uint16 | 1 | button press event |
Button press events
id | name | example |
---|---|---|
0x00 | None | 0x3A00 |
0x01 | press | 0x3A01 |
0x02 | double_press | 0x3A02 |
0x03 | triple_press | 0x3A03 |
0x04 | long_press | 0x3A04 |
0x80 | button hold | 0x3AFE |
0xFE* | button hold | 0x3AFE |
- for firmware prior to 1.0.20
The state of the 4 buttons of the device are transmitted with every packet and are at fixed position.
Example for the button state data:
0x3A 0x01 0x3A 0x00 0x3A 0x01 0x3A 0x00
- buttons 1 and 3 are short pressed, buttons 2 and 4 are not.