BangleApps/apps/recorder
Gordon Williams ef854552b2 Can now specify `setRecording(true, {force:...` to not show a menu 2023-05-19 16:43:22 +01:00
..
ChangeLog Can now specify `setRecording(true, {force:...` to not show a menu 2023-05-19 16:43:22 +01:00
README.md Can now specify `setRecording(true, {force:...` to not show a menu 2023-05-19 16:43:22 +01:00
app-icon.js Add first draft of more flexible 'recorder' app for GPS/etc recording 2021-10-28 14:23:29 +01:00
app-settings.json Fix for when recorder widget is used before app 2022-03-14 11:07:26 -05:00
app.js Misc recorder/openstmap tweaks 2023-04-25 10:09:07 +01:00
app.png Add first draft of more flexible 'recorder' app for GPS/etc recording 2021-10-28 14:23:29 +01:00
interface.html show up GPX export, even for indoor tracks 2022-07-15 08:21:00 +01:00
metadata.json Can now specify `setRecording(true, {force:...` to not show a menu 2023-05-19 16:43:22 +01:00
settings.js oops 2022-02-07 09:51:47 +00:00
widget.js Can now specify `setRecording(true, {force:...` to not show a menu 2023-05-19 16:43:22 +01:00

README.md

**# Recorder

icon

This app allows you to record data every few seconds - it can run in background.

Usually you'd record GPS (but this is not required). The data can later be exported as CSV, KML or GPX files via the Download button in the Bangle.js App Store entry for Recorder.

Usage

First run the Recorder app, here you can configure what you want to record, how often, and you can start and stop recordings.

You can record

  • Time The current time
  • GPS GPS Latitude, Longitude and Altitude
  • HR Heart rate and confidence
  • BAT Battery percentage and voltage
  • Steps Steps counted by the step counter
  • Baro (Bangle.js 2) Using the built-in barometer to record Temperature, Pressure and Altitude
  • Core CoreTemp body temperature if you have a CoreTemp device and the https://banglejs.com/apps/?id=coretemp app installed

You can then start/stop recording from the Recorder app itself (and as long as widgets are enabled in the app you're using, you can move to another app and continue recording). Some apps like the Run app are able to automatically start/stop the Recorder too.

Note: It is possible for other apps to record information using this app as well. They need to define a foobar.recorder.js file - see the getRecorders function in widget.js for more information.

Graphing

You can download the information to the PC using the App Loader. Connect to your Bangle, then in My Apps click the disk icon next to the Recorder app to download data.

You can also view some information on the watch.

  • Tap View Tracks
  • Tap on the Track number you're interested in, and you'll see a page with information about that track...
    • Plot Map plots a map using GPS coordinates
    • Plot OpenStMap plots a map using GPS coordinates on top of an OpenStreetMap map (if the app is installed)
    • Plot Alt plots altitude over time
    • Plot Speed plots speed over time
    • Plot HRM plots heart rate over time

Usage in code

As long as widgets are loaded, you can:

  • Call WIDGETS["recorder"].setRecording(true) to start recording (it returns a promise, and may show a menu)
  • Call WIDGETS["recorder"].setRecording(true, {force:"new"/"append"/"overwrite") to start recording (it returns a promise, and will not show a menu)
  • Call WIDGETS["recorder"].setRecording(false) to stop recording

Tips

When recording GPS, it usually takes several minutes for the watch to get a GPS fix. There is a red satellite symbol, which you will see turn green when you get an actual GPS Fix. You can upload assistant files to speed up the time spent on getting a GPS fix.