4 ms·
> After a few minutes of idleness, the device goes to sleep. Pressing any button wakes it up and repairs the connection - but then another button press is requi
by digi_owl 11y ago
> After a few minutes of idleness, the device goes to sleep. Pressing any button wakes it up and repairs the connection - but then another button press is required to send a key press. The pairing process only takes a couple of seconds, so it's not quite instant.
That may be the biggest gripe people have with bluetooth input devices. That once asleep, it takes noticeable time before it wakes back up and during that time all inputs are /dev/null-ed.
- Qerub 11y agoThe Flic button (https://flic.io/ https://flic.io/) does not have that problem.
- edent 11y agoFlic uses BLE (Bluetooth 4). It also costs 10x as much as the regular BT buttons. Can't wait for BLE to drop to mass market prices.
- jc4p 11y agoWhen the ESP8266 successor, the ESP32 comes out you'll be set: https://www.sparkfun.com/news/2017 https://www.sparkfun.com/news/2017 For now, you can always buy your own bluetooth LE modules and attach them to a small microcontroller, for buttons, you could make your own wall buttons with nice enclosures or go the ridiculous route: https://www.adafruit.com/products/1185 https://www.adafruit.com/products/1185
- StavrosK 11y agoI made a WiFi button for pretty much the same purpose: https://www.stavros.io/posts/emergency-food-button/ https://www.stavros.io/posts/emergency-food-button/ A bit latent, but doesn't require a second press.
- edent 11y agoThat's brilliant! I'd never have thought of designing my own hardware. Kudos
- StavrosK 11y agoMe neither, but I gave it a shot and it turns out it's super super fun (it's now one of my favorite hobbies, I'm redesigning this right now: https://github.com/skorokithakis/esplights https://github.com/skorokithakis/esplights). I definitely recommend it, KiCad is great, the people at #kicad are great, and the people at https://gitter.im/esp8266/Arduino https://gitter.im/esp8266/Arduino have taught me most the little I know now. I can't urge you enough to try it.
- MrQuincle 11y agoThey will. For our smart socket the chips approach one dollar. Won't take long..
- jack12 11y agoBLE "tags"[1] cost ~$2 shipped and seem to send a notification every time their button is pressed. I'm not sure if they perform well in the case of powering down and then back up, though. It seems like they might need a button press to allow a host to reconnect to them, which would present the same problem as in the article. And they have awfully annoying beepers in them that beep with every button press, and beep multiple times before powering down. 1: https://github.com/sylvek/itracing2/issues/5 https://github.com/sylvek/itracing2/issues/5
- cptskippy 11y agoI have a Logitech K380 keyboard and it doesn't do that and I love it. It's the most magical thing in the world. It's unfortunate that the keys are round and kind of suck to type on.
- anoother 11y agoI have a Microsoft Sculpt Bluetooth keyboard. On Linux, it does this. On OSX, however, it still takes a few seconds to wake up, but the keystrokes typed while 'waking up' do make it through to the screen in the right place. I keep meaning to dig into the Linux Bluetooth stack to see if those initial keystrokes can be salvaged. I guess they're sent in a burst once the keyboard realises 'yeah, I'm being typed at', but Linux seems to ignore them for some reason.