Shelly BLU Distance
Short device name: SBDI-003E
Functional description
The main function of the device is to measure distance using ultrasonic technology. The measurements are done periodically on 30 seconds interval (by default). Measurement is also activated on button press, and optionally on vibration.
The device transmits BLE advertising packets when a measurement is complete.
If a button is clicked 4 times, the device enters pairing mode and the LED flashes.
Device specific features
Measured ranges
Measurment algorithm works different on short, middle and long ranges. These 3 ranges can be enabled separately.
Ranges are set using a bitmask: CLOSE = 0x01, MIDDLE = 0x02, FAR = 0x04. By default - all ranges are enabled.
| Characteristic | UUID | Type | Length | Properties | Function |
|---|---|---|---|---|---|
| Measured ranges | d61da5aa-5515-46ae-a2b2-f9a5a9ad5f1e | byte | 1 | Read, Write bonded, write without response bonded | Bit mask of enabled ranges |
Measure interval
Valid range is 5 seconds to 300 seconds. Default value is 30 seconds.
| Characteristic | UUID | Type | Length | Properties | Function |
|---|---|---|---|---|---|
| Measure interval | 342d88e8-88e3-4aa6-8cf8-178ad229a049 | byte | 2 | Read, Write bonded, write without response bonded | Measurement period in seconds [5-300] |
Measure on vibration
Measure on vibration is enabled by default.
| Characteristic | UUID | Type | Length | Properties | Function |
|---|---|---|---|---|---|
| Measure on vibration | b65a6119-889b-4275-869e-946a93bd23c4 | byte | 1 | Read, Write bonded, write without response bonded | 1 - enable, 0 - disable |
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) |
| 0x2C | vibration | uint8 | 1 | vibration detected |
| 0x3A | button | uint16 | 1 | button press event |
| 0x40 | distance mm | uint16 | 1 | measured distance |
Button press events
| id | name | example |
|---|---|---|
| 0x00 | None | 0x3A00 |
| 0x01 | press | 0x3A01 |