I’m working on a watchface in Alloy. I’d like to display an icon if the watch is in quiet time/DND mode.
I found the C API for this: quiet_time_is_active()
I couldn’t find anything similar for Alloy. Is there a way to get this value? If not, would you consider adding it?
Thanks!
2 Likes
It has been stated in an announcement/blog that it shall be possible to call C functions from JavaScript/Alloy but the details haven’t been clarified yet. It might not be possible currently.
There is similar discussion in this post:
https://forum.repebble.com/t/alloyjs-watchface-and-health-data/424
2 Likes
Thanks! I was hoping I was just missing it somewhere. It’ll be nice to get access to the health data via Alloy too, either with a native method or once we get access to the C functions.
I wasn’t surprised that health data wasn’t “ready” yet since it’s more complicated, but I was hoping the DND/quiet time one existed somewhere and just hadn’t made it into the docs yet.
I’ve been waiting almost 10 years now for my Pebble Time 2, so I can wait a little while longer for the Alloy API to get a few missing features 
1 Like