Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 1.98 KB

iBeacon-driver.md

File metadata and controls

32 lines (16 loc) · 1.98 KB

The ibeacon driver uses the BLE4 module HM-17 (HM-16 should also work). The HM-10 works too and maybe other compatible modules (capable of bluetooth central role and driven by AT commands).

The driver needs firmware Version V120 or V110 for the HM-17 Module. For using the HM-10 in most cases a low level flash of the firmware is neccessary. Since nearly all available HM-10 are Clones! The HM-10 needs the firmware V609 or the newest V707 to work with the Tasmota driver. You can use the ESP8266 HM-10 Flasher to update the firmware. The flasher is based on this work

All apple compatible ibeacon devices should work as beacons. This one is fully apple compatible and the battery lasts about a year NRF51822 ibeacon module

Another special beacon is supported. It has a build in speaker and can be made beeping by mqtt cmd. The battery however lasts only about a month smart-tag

The HM-17 / HM-10 is connected to GND , 3.3 V, RX to TX of ESP and TX to RX of ESP. When delivered the module is in the peripheral mode. It has to bechanged to central mode.

This commands does the change the mode. Needed only once since the settings are stored in the module. sensor52 1 and sensor52 2

sensor52 us sets the (update) scanning interval in seconds s (5....n) sensor52 ts sets the timeout interval in seconds s (10....n)

The driver reports all beacons found during a scan with its ID and RSSI. If the beacon can no longer be found during scan and the timeout interval has passed the beacons RSSI is set to zero (0)

A beacon with beeper can made beeping by setting RSSI to 99 by MQTT cmd.