Read the statement by Michael Teeuw here.
MMM-Strava
-
@MisterT can you post the modified versions of these lines which enabled MMM-pages to rotate, but caused the undefined error for MMM-Strava?
I’m also curious about the error you posted in the other thread as it seems to refer to a style sheet included by another module…
-
@ianperrin i don’t know what i write and the meaning but if i modified these 2 lines (i don’t have the third line), i have MM rotation but undefined on MMM-Strava
this.config.mode = this.config.mode.toLowerCase().mode; this.config.period = this.config.period.toLowerCase().period;
The other error in wallberry module is a css error but i don’t think that it’s the problem of rotation because MMM-pages works with this error
-
@MisterT I’ve just pushed an update to the module which may have fixed it. Can you update the module and let me know how it works out?
-
@ianperrin, i update your module and…tada it works :thumbs_up: great job
MMM-Pages rotate and MMM Strava is visible
Everything is good nowI also try your other update about radial chart vizualisation and it’s great. I tested with year to date for bike and run and its’awesome. Just 2 remark:
- In my opinion the radial gaphic it’s just a little too big and the graphic overlaps the other module.
- I think we need informations about custom css in order to display colors about kilometers like for exemple:
less 10 km for running in a month : red color
from 10 to 30 km for running in a month: orange color
over 30 km for running in a month : green color
see you next time
-
@MisterT - Great to hear it’s working now 👍
-
@MisterT said in MMM-Strava:
the radial gaphic it’s just a little too big and the graphic overlaps the other module.
I’m working on making the chart size customisable - watch out for further updatesI think we need informations about custom css in order to display colors about kilometers like for exemple:
less 10 km for running in a month : red color
from 10 to 30 km for running in a month: orange color
over 30 km for running in a month : green colorI like the idea of colouring the bars based on a target. Will think about this one.
In the meantime, to customise the colours of each bar in the radial chart, add the following to the
custom.css
file in~/MagicMirror/css
..MMM-Strava svg path.bar.interval-1 { fill: #67b7dc; } .MMM-Strava svg path.bar.interval-2 { fill: #6794dc; } .MMM-Strava svg path.bar.interval-3 { fill: #6771dc; } .MMM-Strava svg path.bar.interval-4 { fill: #8067dc; } .MMM-Strava svg path.bar.interval-5 { fill: #a367dc; } .MMM-Strava svg path.bar.interval-6 { fill: #c767dc; } .MMM-Strava svg path.bar.interval-7 { fill: #dc67ce; } .MMM-Strava svg path.bar.interval-8 { fill: #dc67ab; } .MMM-Strava svg path.bar.interval-9 { fill: #dc6788; } .MMM-Strava svg path.bar.interval-10 { fill: #dc6967; } .MMM-Strava svg path.bar.interval-11 { fill: #dc8c67; } .MMM-Strava svg path.bar.interval-12 { fill: #dcaf67; }
Note: As the radial chart is in beta, the css classes may be subject to change.
-
This post is deleted! -
Hi there. Icons. Recently updated my config to include ‘hike’ activity, and it does, but without the nice little icon beside (like the little shoe beside run activities, and bike beside cycle activities). In ‘chart’ mode. Any ideas?
-
why am I getting this error?
pi@raspberrypi:~/MagicMirror/modules/MMM-Strava $ npm install --production
audited 1631 packages in 19.838s73 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
– how do I fix this funding issue? I don’t have any luck with “nom fund”.
I’m also having difficulties connecting to http://localhost:8080/MMM-Strava/auth/ and I’m thinking it’s because of this funding. Any help would be appreciated.
Thank you!
-
@ianperrin hello i have tried to run this i am a complete beginner learning as i am going, however trying to get this radial version which i think looks really cool it gets stuck, i launch my magic mirror and then it gets stuck on the “loading…” process