@iii Thanks! I just dug into this and it seems handled by processButtonAction in HuamiSupport. I was hoping it'd be easy to use, or at least to pull out into Bangle.js, but it seems heavily tied to Huami devices.
Looking at the code, sending intents seems really easy, so I just added the ability to send intents direct from Bangle.js using {"t":"intent","action":"....","extra":{"a":"1"}} - it's not in the Play Store build yet but hopefully will be soon
@Poolitzer honestly if it's just polling, it feels like we might as well have the current system of just letting Bangle.js itself do an HTTP request? I'm not sure the extra effort of trying to configure notification sources is really going to help...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@iii Thanks! I just dug into this and it seems handled by
processButtonAction
inHuamiSupport
. I was hoping it'd be easy to use, or at least to pull out into Bangle.js, but it seems heavily tied to Huami devices.Looking at the code, sending intents seems really easy, so I just added the ability to send intents direct from Bangle.js using
{"t":"intent","action":"....","extra":{"a":"1"}}
- it's not in the Play Store build yet but hopefully will be soon@Poolitzer honestly if it's just polling, it feels like we might as well have the current system of just letting Bangle.js itself do an HTTP request? I'm not sure the extra effort of trying to configure notification sources is really going to help...