Commit Graph

220 Commits

Author SHA1 Message Date
Abász 89432fef99 Expose app configs to the metric tile factory
Make all settings available to the metric creator factory in order for
subcomponents (e.g DashboardAction) to use it without depending directly
on the global appState.
2023-03-24 22:02:03 +01:00
Abász a4ef6d86b0 Show peak value in the force curve
Add the capability of showing the peak value for the handle force curve
2023-03-23 23:20:00 +01:00
Abász fe5a7e7ed1 Remove dependency on server formatted values
Remove dependency on metric formatting logic at the server. Implement
the formatting of the raw data on the client side. Make adding
new metric tiles more modular and extensible via simplified creation API
2023-03-23 19:03:27 +01:00
Abász 6834e3a558 Code refactoring and improve code consistency 2023-03-23 19:03:01 +01:00
Abász 457c96fe3c Fix webSocket address bug 2023-03-22 20:21:28 +01:00
Abász 28d223c109 Add the ability to hide icons
Implement GUI setting to hide icons in exchange for increased font size
(implements: #131)
2023-03-22 15:02:16 +01:00
Abász cac178f06d Add settable metric tiles and settings persistence
Make the metric tiles settable via the settings dialog and implement
persistence of these settings to the browser localStorage (partially
fix #131)
2023-03-22 13:44:34 +01:00
Abász 00d9c824d0 Create settings dialog and improve AppDialog
Update AppDialog to be able to handle invalid forms, and implement the
settings dialog that communicates via appState
2023-03-22 13:34:27 +01:00
Abász 6aa5c696c6 Add force curve component
Add a component that shows the force curve of the last drive in a chart.
2023-03-22 12:54:33 +01:00
Jaap van Ekris bd97723f8b
Cut/copy/paste error in log message 2023-03-09 10:55:45 +01:00
Jaap van Ekris 97c1da96d6
Dealt with an edge case
Dealt with an edge case where there are no strokes detected, but a number of impulses is recorded (Typically during first calibration).
2023-03-02 11:25:20 +01:00
Jaap van Ekris 65b273bbea
Fixed Lint errors 2023-03-01 09:01:34 +01:00
Jaap van Ekris 025c41f5d6
Update attribution.md 2023-02-28 20:50:04 +01:00
Jaap van Ekris f31372b27c
Better wording 2023-02-21 12:45:03 +01:00
Jaap van Ekris 765d975b04
Better description of stroke detection 2023-02-21 12:42:31 +01:00
Jaap van Ekris c029a42d37
Update to accommodate the new peripheral settings
Update to respect new peripheral settings introduced with the new peripheralmanager
2023-02-15 16:53:54 +01:00
Jaap van Ekris 1ae7128dc7
Added missing dependencies
Added missing dependencies: queue-fifo@0.2.6, dbly-linked-list@0.3.4, lodash.isequal@4.5.0, @types/w3c-web-usb@1.0.6.
2023-02-15 16:37:44 +01:00
Jaap van Ekris 7b4a716eb3
Added incyclist-ant-plus as dependency
Added incyclist-ant-plus as dependency
2023-02-15 16:19:24 +01:00
Jaap van Ekris 1cadf0008e
Added a description of the new ANT+ functionality
Added a description of the new ANT+ functionality
2023-02-15 16:11:04 +01:00
Jaap van Ekris 3e3cd7b838
Added ANT+ functionality and BLE improvements
Extend ANT+ peripherals and redesign inner structure of the peripheral management
2023-02-15 14:28:39 +01:00
Jaap van Ekris bef044110d
Added link to documentation 2023-02-14 14:23:44 +01:00
Jaap van Ekris 674df2f6fc
Added link to rower settings manual 2023-02-14 14:19:33 +01:00
Jaap van Ekris 3de19c08c7
Fixed a Lint error 2023-02-14 10:48:54 +01:00
Jaap van Ekris f28580fef3
Improvement of the stroke detection
Improved the explanation of the stroke detection algorithm based on https://github.com/laberning/openrowingmonitor/issues/124
2023-02-14 10:45:16 +01:00
Abász aa3b39f86a Change PM5 serial to comply with C2 standards
The PM5 serial number should start with "43" (in line with consistent HW
and SW revision)
2023-02-12 22:55:26 +01:00
Abász 3f129ceec2 Add peripheral shutdown for app termination
In order to avoid errors with peripheral processes on the next startup
(e.g. ANT Stick getting stuck) graceful explicit shutdown of these is
necessary on app termination.
2023-02-12 22:52:02 +01:00
Abász 35303547e2 Fix error on simultaneous ANT peripheral startup
Move the peripheral startup sequence to an async function to ensure
proper startup order and to avoid multiple simultaneous calls to the
ANT stick causing app crash.
2023-02-12 22:40:16 +01:00
Abász 405bcab55a Code cleanup
Change logging level for the broadcast data of the ANT+ FE peripheral.
Fix callback signature mismatch in bleno `stopAdvertising()` method
2023-02-12 22:40:16 +01:00
Abász a0686150a2 Update button layout styling for the GUI
Restyle the button layout to be responsive and fix potential overflows
2023-02-12 22:40:16 +01:00
Abász cd1ff3d001 Fix crash when peripheral mode changed too quickly
Add boolean guard flag to fix potential crash when user clicks the
peripheral change buttons without waiting for the first request to
complete in the GUI (i.e. clicks too quickly).
2023-02-12 22:40:16 +01:00
Abász 4f62b2322e Add ANT+ profile manager
- Implement an ANT+ profile manager similar to BLE
- Implement ANT+ Fitness Equipment profile to be able to broadcast data
- Add button to the UI to scroll through the ANT+ profiles
2023-02-12 22:40:16 +01:00
Abász e938f5d8a0 Fix app crash when bleMode is set to OFF initially
Add guard clauses to notifyMetric call if bleMode is off.
Set blePeripheral and hrmPeripheral to undefined to avoid repeated call
to destroy() (i.e. calling destroy() on an already destroyed peripheral)
2023-02-12 22:40:16 +01:00
Abász 3bb0229d3a Move to new ant-plus library
Move to a new, still maintained, ant-plus library that solves the
connection dropout issue experienced with the original when using HRM as
well as that provides a cleaner interface to manage the ANT device.
2023-02-12 22:40:16 +01:00
Abász 17d6a74332 Enable rotation of the heart rate monitor modes
Add button to the GUI so the user can switch between heart rate monitor
modes (BLE, ANT, OFF). Update peripheralManager to handle switching and
implement necessary changes to the structure of the peripheralManager.
2023-02-12 22:40:16 +01:00
Abász a3cd6e6f39 Add OFF mode to BLE peripheral and refactoring
Add OFF mode to be able to turn BLE advertisement off. Rename
switchPeripheralMode function to include BLE in order to be more
descriptive.
2023-02-12 22:40:16 +01:00
Abász 7ef338d856 Refactor heart rate peripherals
Refactor ANT manager to be a central class managing the ANT stick state.
This state could be used for future implementation of other ANT profiles
and the peripheralManager should be responsible for creating once needed
2023-02-12 22:40:16 +01:00
Abász 3edfe22434 Refactor and restructure peripheral related code
- Create a new main folder to include ANT and BLE
- Move peripheralManager with other files with shared information
- Refactor static notify characteristics
- Refactor code to be more uniform across the different peripherals
2023-02-12 22:40:16 +01:00
Jaap van Ekris 0c90c18382
Small wording changes 2023-01-27 16:11:05 +01:00
Jaap van Ekris 198181dfeb
Updated to help people further
Added new insights based on https://github.com/laberning/openrowingmonitor/discussions/115 and https://github.com/JaapvanEkris/openrowingmonitor/discussions/11
2023-01-27 16:06:43 +01:00
Jaap van Ekris 2e3d6a4ca7
Added an example of a bouncing sensor
Added an example of a bouncing sensor
2023-01-27 16:00:30 +01:00
Jaap van Ekris ca3dc3aa2a
Added depiction of maximumTimeBetweenImpulses
Added depiction of maximumTimeBetweenImpulses to illustrate pause behaviour
2023-01-27 15:29:33 +01:00
Jaap van Ekris f737fdb04d
Fixed a bad example config
The example configuration pointed to a renamed rower....
2023-01-22 14:38:44 +01:00
Jaap van Ekris 60350f3dc7
Added recommendation of OS Lite 64Bit 2023-01-18 14:11:19 +01:00
Jaap van Ekris 6e5089d4a3
Update Supported_Rowers.md 2023-01-18 09:30:10 +01:00
Jaap van Ekris 704c2faaae
Removed the Sportplus as an option 2023-01-18 09:29:28 +01:00
Jaap van Ekris c82a97796c
Fixed a table error 2023-01-17 23:53:41 +01:00
Jaap van Ekris 0ba86d891c
Fixed Lint errors
Fixed Lint errors
2023-01-17 23:49:00 +01:00
Jaap van Ekris 47316d5027
Creation to support users 2023-01-17 23:45:07 +01:00
Jaap van Ekris 89e534110e
Added a link to supported rowers 2023-01-17 23:37:56 +01:00
Jaap van Ekris 2e50a48e61
Added a list of known machines 2023-01-17 11:48:28 +01:00