r/Clojure • • Jun 30 '25
Trying to program an alarm for a smartwatch that alerts me if my blood O2 level is low.
Is this possible with Clojure and what libraries would you use?
Any tutorials you would recommend?
I'm going with the redmi 5 smartwatch, which does not have an alarm for that, unlike some apple watches.
How would you implement this (outline)?
8
Upvotes
3
u/p-himik Jun 30 '25
Clojure is a general purpose language, so it's possible in theory. It also has official and unofficial dialects that target a wide range of host languages/platforms, so it should be possible in practice if the watch allows for custom applications in the first place.
However, a brief online search suggests that, unfortunately, it's not the case. While there are apps on the watch, they're built in. The only way to customize the set of the apps is apparently via a separate smartphone app, but there doesn't seem to be any way to install new apps.