Skip to main content

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.

CharacteristicUUIDTypeLengthPropertiesFunction
Measured rangesd61da5aa-5515-46ae-a2b2-f9a5a9ad5f1ebyte1Read, Write bonded, write without response bondedBit mask of enabled ranges

Measure interval

Valid range is 5 seconds to 300 seconds. Default value is 30 seconds.

CharacteristicUUIDTypeLengthPropertiesFunction
Measure interval342d88e8-88e3-4aa6-8cf8-178ad229a049byte2Read, Write bonded, write without response bondedMeasurement period in seconds [5-300]

Measure on vibration

Measure on vibration is enabled by default.

CharacteristicUUIDTypeLengthPropertiesFunction
Measure on vibrationb65a6119-889b-4275-869e-946a93bd23c4byte1Read, Write bonded, write without response bonded1 - enable, 0 - disable

BTHome sensor data objects

idnamedata typescale factordescription
0x00packet iduint81revolving counter
0x01batteryuint81battery level in percent (0-100)
0x2Cvibrationuint81vibration detected
0x3Abuttonuint161button press event
0x40distance mmuint161measured distance

Button press events

idnameexample
0x00None0x3A00
0x01press0x3A01