Open tbaumann opened 2 years ago
I will think how to add this into documentation to make things clear.
Main disadvantage of automatic discovery it's if you are living in environment with many BLE devices around it's can overload Passive BLE Monitor. Earlier versions of Passive BLE Monitor in my case takes 50-60% CPU (instead 5-7%) for packet processing when ESP sends all BLE advertisement packets.
Oh the load issues are surprising. Passive BLE Monitor, when using a local HCI interface also default to listening to everything AFAIK.
Hard to say what's the better default I guess.
I just came across the option
discovery: true
I think this is pretty much the default behavior anyone would expect of a BLE gateway. And it's a lot more easy to understand than the currently documented method with the text_sensor.
I think this option should be mentioned in the documentation and examples.
My minimal config is this.
Add this to any esphome device and receive BLE advertisements. Simple.