Commit Graph

21 Commits

Author SHA1 Message Date
Theo Arends 1c6b0d8a4d Rebase fixes 2021-01-18 11:33:13 +01:00
Simon Hailes 37beaca119 Implements xdrv_52 - BLE_ESP32
Modifies xsns_52 - iBeacon,  and xsns_62 - MI32 to use the new BLE driver
2021-01-17 17:08:54 +00:00
Theo Arends fdbd1dcc0a Changed command ``Sleep 0``
Changed command ``Sleep 0`` removes any sleep from wifi modem except when ESP32 BLE is active
2021-01-14 17:03:01 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Roman Bazalevsky b4b87a8d0a Delay ESP32 Bluetooth initialization after WiFi init/set sleep mode. 2020-11-14 13:28:26 +03:00
Roman Bazalevsky 5b730fb5d9 All detected beacons reporing moved from callbacks to loop() to prevent wrong MQTT payload due to race condition between regular jobs and callbacks. 2020-11-08 15:47:07 +03:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Roman Bazalevsky b833b40845 ESP32 BLE beacons scan improvements:
- Scan memory cleanup.
- Device name (if broadcasted) handling (including MQTT messages and Web interface).
- Implicit device state in MQTT messages.
- Removed UUID/MAJOR/MINOR fields (always zeroes) in MQTT messages for MAC-identified beacons.
2020-11-05 12:36:52 +03:00
Roman Bazalevskiy 180ffaa984 Prevent MQTT spamming - don't repeat messages before IB_TIMEOUT. 2020-11-04 09:10:52 +03:00
Roman Bazalevskiy 18fb79d954 Initial support for iBeacons (Sensor52) on ESP32 using internal BLE module.
Differs from MI32 (Sensor62):

- Dynamically detects beacons, no preset MACs needed
- Reports detected beacon immediately, not on tele period.
2020-11-04 08:50:11 +03:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Jason2866 230d88c124
Fix warning redefine in driver xsns_52 2020-06-22 20:33:53 +02:00
gemu2015 279715c85e ibeacon json path 2020-06-21 16:20:14 +02:00
gemu2015 5f7a32af4c update ibeacon to export UID 2020-06-15 08:20:43 +02:00
gemu2015 f1a2fb2b8d fix serial buffer issues 2020-06-01 15:17:32 +02:00
Theo Arends 86f801c349 Change pin handling part 4/4 2020-04-27 16:47:29 +02:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
gemu2015 858103e082 support for hm17 (v110) and hm10 (V609) 2019-12-29 16:49:36 +01:00
Theo Arends 48e15216be Refactor Sensor MQTT data adding rule support 2019-11-10 17:40:37 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00