Are these projects viable for Bangle.js? #6111
Replies: 1 comment
-
Posted at 2023-07-03 by @gfwilliams Hi, Looking at that reference, yes, I'd be pretty sure that's fine - just a matter of copy/pasting what that document you found shows into http://www.espruino.com/Gadgetbridge#intents For sending the data, I don't know for sure but it looks like you can run a script with arbitrary arguments from an Intent, so I guess sending the data would just be a matter of sending the intent with the HRM/step data. Posted at 2023-07-06 by user155888 Hi Gordon, Thank you for the confirmation. I've started a PR on gadget bridge. I'm hoping to pick your brain again: My first project idea seems pretty similar in scope to espruinoterm, which you authored a year ago. Could espruinoterm be extended to allow for a Termux command launcher? It seems we both had the idea of presaved commands being sent from the Bangle to another device. Additionally, some commands in Termux could send output back to the watch via GadgetBridge (once I complete the code for this).
Posted at 2023-07-06 by @gfwilliams Hi,
No, however there is an
No - I think the VT100 module used there (http://www.espruino.com/VT100) renders direct to the screen buffer so there's no scrollback history in it. But you could potentially create an offscreen Graphics buffer, use the VT100 module and then just scroll the buffer |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-07-03 by user155888
Hello,
Bangle.js looks like a very interesting platform. I have ideas for a couple projects which I want to make sure are viable before I spend $90 USD for the watch though. I'm willing to do the development work as long as someone tells me it's possible:
Termux command launcher: Termux is a terminal emulator for Android with a lot of capability. It has an array of *nix packages including Python. What I want to do is make a menu on the Bangle where each item is a script (Bash/Python/etc.) In Termux and tapping it will execute that script on the Android device. I read about how intents can be sent and was wondering if the modified Bangle.js GadgetBridge app can request Termux's RUN_COMMAND permission detailed here
Get heart rate and step data from the Bangle to Termux- I'm not sure how this would work exactly, but Termux has a version of
am
for sending intents which I've successfully used for integrating with Android automation apps.Beta Was this translation helpful? Give feedback.
All reactions