GrumpyMeow / esphome-components

A repository of custom esphome components
0 stars 4 forks source link

Bluetooth communication blocks the main thread. #2

Open GrumpyMeow opened 4 years ago

GrumpyMeow commented 4 years ago

The communication should be made non-blocking, thus using events and/or notifications.

A component took a long time in a loop() cycle (2.20 s). Components should block for at most 20-30ms in loop().

Sending multple commands will cause disconnect the connection with esp32.