Repository navigation
Releases
Releases · aikrana/ha-ble-adv-rules
v0.1.0
Added
- Devices: add a Bluetooth device by scanning for nearby ones or by entering it manually, recognized by its address, by a fingerprint of its advertisements, or both.
- Event rules: turn a matching advertisement into an event on the device's event entity, one event type per rule.
- Sensor rules: read a number from the advertisement bytes (offset, length, byte order, signed, scale, add, precision) or compute the value with a template, with unit, device class, state class and an expiry time.
- Matching on the raw packet, on the manufacturer data of a company id, or on the service data of a UUID, with hex patterns, wildcard digits, masks, match modes, offsets and optional templates with bitwise filters.
- Duplicate suppression with a configurable repeat window, so repeated packets of one press, or the same press heard by several scanners, fire once.
- Rule setup can listen to the device first and shows a preview of what the rule reads from the captured advertisements.
ble_adv_rules.captureaction: capture the advertisements heard for a few seconds to find the bytes to build a rule from.- A diagnostic "Last advertisement" sensor (disabled by default) and downloadable diagnostics with the device address redacted.
- English and Spanish translations.