For this project, I trained the @neurosity headset, the Notion 2, to detect when I think of moving my left index finger. Once detected, I instruct the coffee machine to brew and serve an Espresso, using Bluetooth Low Energy.
Imagine all the possibilities!
The simplified setup is the following: BCI -> Wifi -> Node.js -> NotionJS -> CafyJS -> BLE -> Coffee Machine.
The code can be simplified to this snippet:
The complete demo project can be found on my GitHub: https://github.com/manekinekko/cafy-notion
Follow the original announcement on Twitter: https://twitter.com/manekinekko/status/1331722344361029639