github custom-components/ble_monitor 0.7.1-beta
0.7.1-beta Real-time BLE ADV processing

latest releases: 12.10.4, 12.10.3, 12.10.2...
pre-release3 years ago

The logic of the component was almost completely revised in order to implement the processing of BLE ADV messages in real-time. This change makes it possible for the correct implementation of sensors of the "switching" type (switches, proximity sensors), the state of which will now be updated immediately upon receipt of the corresponding message (previously the state was updated only after the time specified in the 'period' option). The principle of processing data from "measuring" sensors has remained the same (averaging all received readings during the 'period' seconds).

Yes, this change has a price (a bit more CPU load), but I seem to have managed to reduce the difference to a paltry one.
In addition, many other improvements have been made. Here are the most significant of them:

  • Data processing from several bt-interfaces occurs in one thread (instead of a separate thread for each bt-interface, now the component creates only one additional thread), in the future I expect to make the component completely asynchronous;
  • Sensor entities in HA are now created immediately upon arrival of the first message, and not after the time specified in the 'period' option;
  • Simplified the process of implementing support for new sensors;
  • The report_unknown option takes precedence over the whitelist option;

Don't miss a new ble_monitor release

NewReleases is sending notifications on new releases.