Hello all,
I recently boght some S-MATE2 bluetooth modified protocol switches from SONOFF. Those devices work massively with bluetooth, they are not permanently connected to the HA computer.
I ve managed to connect em via eWeLink Remote Gateway add on and i use them as light switches.
Problem
They present only one issue, after some time (3 to 5 mins) the first press on any of them its not recognised by the Bluetooth device. Second, third, etc works just fine on any or the same device.
Conclusion
I came to the conclusion that the Bluetooth of the PC that runs bare metal gets into a sleep state, first ping as an input waking up the bluetooth.
Posible solution?
Is there a way to create an ‘alert’ mode by randomly searching for devices or a way to just disable bluetooth sleep?
Thank you all!!