Lighting up my DasKeyboard with Blood Sugar changes using my body’s REST API

Lighting up my DasKeyboard with Blood Sugar changes using my body’s REST API

I’m working on using their Das Keyboard Q software’s Applet API to light up just the top row of keys in response to my blood sugar changing. However, since the keyboard has a localhost REST API and so does my blood sugar, I busted out this silly little shell script. You can also hit the volume button on the keyboard an any “signaled” (lit up) key and get a popup with the actual blood sugar value (that’s ‘message’ in the second curl command above).

Source: www.hanselman.com