Replies: 2 comments
-
Editing the rowingeEngine setting to 'debug' in the default.config.js allows me to get the expected drive and recovery phase in the logs (and other errors, see below) and sort of confirms my suspicion that my config.js is not doing what it is supposed to :( But I really don't want to mess about with these default files... it seems like a recipe for disaster given I'm a newbie. Anyway these are from my latest 30 stroke row, there are errors in there that probably need attention, but first I need to get my config.js file to take effect. Apr 16 02:51:07 rowingmonitor systemd[1]: Started Open Rowing Monitor. |
Beta Was this translation helpful? Give feedback.
-
I finally figured out all my edits in the config.js were commented out by the /* I guess that is the perils of being a newbie |
Beta Was this translation helpful? Give feedback.
-
I'm new to this so please be patient;
Having got some metrics displaying in both the web interface and in log, I'm trying to tune the metrics by changing the config.js file in /opt/openrowingmonitor/config
I'm using nano to edit the config.js but it does not seem like any of my changes take effect.
sudo nano /opt/openrowingmonitor/config/config.js
I then save (ctrl-s) exit (ctrl-x) and restart (sudo systemctl restart openrowingmonitor)
I can see the changes have taken effect, but there is no change in the metrics (at this point I'm only trying to change the number of implulses per revolution form 1 to 3) I have navigated to the /opt/openrowingmonitor/config directly to confirm the file is present and as expected, which it is. But the change seems to have made no difference and my spd/distanceperstroke are the same as pre the edit.
The same thing happens when I change the logging level and enable 'trace' in the rowingEngine in that I don't see a change in the logging.
In desperation I edited the rowerProfiles.js (changed the number of impulse in the default rower profile) and after a restart the distance/stroke and speed dropped to about a third as I was expecting.
I know editing rowerProfile.js is not what you are supposed to do, but why are my changes to config.js not taking effect? This is what my config.js looks like now.
'use strict'
/*
Open Rowing Monitor, https://github.com/laberning/openrowingmonitor
You can modify this file to configure Open Rowing Monitor to your needs.
This file should be placed in the 'config' folder of Open Rowing Monitor.
All available configuration parameters are visible in config/config.default.js
To modify a parameter, copy it to this file and modify the value.
Changes to this file are persisted when you update to new versions.
*/
// eslint-disable-next-line no-unused-vars
import rowerProfiles from './rowerProfiles.js'
export default {
/*
// example: change the default log level:
loglevel: {
// the default log level
default: 'trace',
// The log level of the rowing engine (stroke detection and physics model)
RowingEngine: 'trace',
createRawDataFiles: true
},
*/
}
Tailing the log using tail -f /var/log/syslog | grep -e "npm" and just looking for consistency in the speed/distance/SPM my data does not look to bad to me once I settle into a consistent stroke, but I don't see any of the detail in the log I'm expecting to see about the drive or recovery phase.
Based on my rowing experience it is over reading (but fairly consistent) and I want to tweak the inertia and drag factor, but can't unless I can get my config.js changes to have any impact.
Any help would be appreciated.
Thanks
Ian
stroke: 11, dur: 3.27s, power: 184w, split: 02:04, ratio: 0.32, dist: 121.6m, cal: 6.7kcal, SPM: 20.1, speed: 14.51km/h, cal/hour: 301.9kcal, cal/minute: 5.8kcal
stroke: 12, dur: 3.01s, power: 189w, split: 02:02, ratio: 0.30, dist: 134.9m, cal: 7.5kcal, SPM: 19.1, speed: 14.66km/h, cal/hour: 324.6kcal, cal/minute: 6.2kcal
stroke: 13, dur: 3.35s, power: 205w, split: 01:59, ratio: 0.34, dist: 146.6m, cal: 8.4kcal, SPM: 19.9, speed: 15.05km/h, cal/hour: 348.7kcal, cal/minute: 8.5kcal
stroke: 14, dur: 3.43s, power: 191w, split: 02:02, ratio: 0.46, dist: 160.4m, cal: 9.3kcal, SPM: 18.0, speed: 14.71km/h, cal/hour: 373.6kcal, cal/minute: 9.0kcal
stroke: 15, dur: 3.01s, power: 192w, split: 02:02, ratio: 0.42, dist: 173.7m, cal: 10.1kcal, SPM: 18.7, speed: 14.73km/h, cal/hour: 392.5kcal, cal/minute: 9.4kcal
stroke: 16, dur: 2.96s, power: 201w, split: 02:00, ratio: 0.35, dist: 186.4m, cal: 10.9kcal, SPM: 19.6, speed: 14.97km/h, cal/hour: 409.9kcal, cal/minute: 9.7kcal
stroke: 17, dur: 3.18s, power: 218w, split: 01:57, ratio: 0.39, dist: 198.2m, cal: 11.8kcal, SPM: 20.7, speed: 15.36km/h, cal/hour: 428.5kcal, cal/minute: 11.0kcal
stroke: 18, dur: 1.94s, power: 218w, split: 01:57, ratio: 0.23, dist: 207.9m, cal: 12.4kcal, SPM: 25.8, speed: 15.38km/h, cal/hour: 440.3kcal, cal/minute: 11.3kcal
stroke: 19, dur: 2.19s, power: 187w, split: 02:03, ratio: 0.20, dist: 213.6m, cal: 13.0kcal, SPM: 31.7, speed: 14.52km/h, cal/hour: 453.2kcal, cal/minute: 11.5kcal
stroke: 20, dur: 2.05s, power: 196w, split: 02:01, ratio: 0.29, dist: 226.2m, cal: 13.5kcal, SPM: 24.3, speed: 14.81km/h, cal/hour: 462.8kcal, cal/minute: 11.7kcal
stroke: 21, dur: 3.17s, power: 201w, split: 02:00, ratio: 0.31, dist: 239.5m, cal: 14.4kcal, SPM: 19.9, speed: 14.96km/h, cal/hour: 477.7kcal, cal/minute: 11.9kcal
stroke: 22, dur: 3.18s, power: 201w, split: 02:00, ratio: 0.32, dist: 252.8m, cal: 15.3kcal, SPM: 18.9, speed: 14.96km/h, cal/hour: 492.3kcal, cal/minute: 13.4kcal
stroke: 23, dur: 3.08s, power: 202w, split: 02:00, ratio: 0.30, dist: 265.5m, cal: 16.1kcal, SPM: 19.4, speed: 14.99km/h, cal/hour: 505.6kcal, cal/minute: 15.0kcal
stroke: 24, dur: 3.17s, power: 206w, split: 01:59, ratio: 0.32, dist: 278.3m, cal: 17.0kcal, SPM: 19.5, speed: 15.08km/h, cal/hour: 518.7kcal, cal/minute: 15.1kcal
stroke: 25, dur: 3.06s, power: 213w, split: 01:57, ratio: 0.35, dist: 290.5m, cal: 17.9kcal, SPM: 20.3, speed: 15.26km/h, cal/hour: 531.0kcal, cal/minute: 15.2kcal
stroke: 26, dur: 3.25s, power: 208w, split: 01:58, ratio: 0.41, dist: 304.8m, cal: 18.8kcal, SPM: 18.4, speed: 15.14km/h, cal/hour: 544.1kcal, cal/minute: 15.8kcal
stroke: 27, dur: 3.01s, power: 231w, split: 01:55, ratio: 0.40, dist: 315.5m, cal: 19.6kcal, SPM: 21.7, speed: 15.65km/h, cal/hour: 555.2kcal, cal/minute: 15.9kcal
stroke: 28, dur: 1.75s, power: 215w, split: 01:57, ratio: 0.26, dist: 322.7m, cal: 20.2kcal, SPM: 30.3, speed: 15.28km/h, cal/hour: 562.5kcal, cal/minute: 16.2kcal
stroke: 29, dur: 1.74s, power: 220w, split: 01:56, ratio: 0.23, dist: 329.8m, cal: 20.7kcal, SPM: 34.3, speed: 15.42km/h, cal/hour: 568.8kcal, cal/minute: 16.4kcal
stroke: 30, dur: 2.50s, power: 221w, split: 01:56, ratio: 0.41, dist: 341.0m, cal: 21.4kcal, SPM: 25.6, speed: 15.42km/h, cal/hour: 577.9kcal, cal/minute: 16.4kcal
Beta Was this translation helpful? Give feedback.
All reactions