[FR] (Multiple user-support HR->PWR)
Is your feature request related to a problem? Please describe. I have not yet built SS2K, but since I had an esp32 lying around, I would give it shot for testing. I've noticed that there isn't support for multiple users (When using HR for power calculation)
Describe the solution you'd like Add the ability to save and select hr->pwr settings for different users
Describe alternatives you've considered Re-enter hr->pwr settings each time before use
I like the idea! I'll put it on the list but it could be quite a while before I get around to it. In the meantime if you'd like to check into it, I'd recommend just creating an interface to select user profiles in:
https://github.com/doudar/SmartSpin2k/blob/1f8d20299e34dc9c27d6b98c2bcb9d22a16e3918/data/hrtowatts.html
Adding a vector parameter to the physicalWorkingCapacity Class to hold the list of user names or numbers and the index of the selected one. Adding a Class to the physicalWorkingCapacity Class that would then hold all of the session1 and session 2 parameters for all users.
https://github.com/doudar/SmartSpin2k/blob/1f8d20299e34dc9c27d6b98c2bcb9d22a16e3918/include/SmartSpin_parameters.h#L163-L169
Then refactoring the physicalWorkingCapacity::loadFromSPIFFS() function in SmartSpin_parameters.cpp to save this info.
https://github.com/doudar/SmartSpin2k/blob/1f8d20299e34dc9c27d6b98c2bcb9d22a16e3918/src/SmartSpin_parameters.cpp#L277-L309
Then refactoring the calculateInstPwrFromHR() function to use the new data formats above.
https://github.com/doudar/SmartSpin2k/blob/1f8d20299e34dc9c27d6b98c2bcb9d22a16e3918/src/BLE_Server.cpp#L557-L588