NateDee / MMM-MFP

MyFitnessPal MagicMirror module
5 stars 2 forks source link

Module Array Incomplete?? #1

Open mrphilipjoel opened 6 years ago

mrphilipjoel commented 6 years ago

I am brand new to github, and magicmirror. And very novice with any type of coding.

On your landing page for this module, under 'using this module' it shows:

Using this module To use this module, add it to the modules array in your config.js file.

modules: [ { username: "yourMFPlogin", passwd: "yourMFPpassword", updateTime: 60 1000 5, // Run every 5 minutes by default usernickname: "Nate", }, ]

Based on other modules I've seen, I think you're missing some info. I think it should look like this:

Using this module To use this module, add it to the modules array in your config.js file.

modules: [ { module: "MMM-MyFitnessPal", position: "position_label" config: { username: "yourMFPlogin", passwd: "yourMFPpassword", updateTime: 60 1000 5, // Run every 5 minutes by default usernickname: "Nate", } }, ]

Everything I try though, breaks my config.js and magicmirror won't work.

Hopefully you can give me ideas for how to get this to work, because I think my wife would really love this.

bachoo786 commented 5 years ago

I have the same issue.

budddesilva commented 4 years ago

Same issue. Hope you see this, @NateDee. Would love to get this module working.

patadeloso commented 4 years ago

I had to switch over to Python3 so I could install the 'myfitnesspal' python module. { module: "MMM-MyFitnessPal", position: "top_center", header: "MyFitinessPal", config: { username: "XXXXXXXXXXXX", passwd: "XXXXXX", updateTime: 60 1000 5, // Run every 5 minutes by default usernickname: "XXXX", } },

0|mm | [2020-11-15 00:47:26.413] [LOG] Running MFP get data 0|mm | [2020-11-15 00:47:33.546] [LOG] [ 2140, 161, 95, 161, 80, 38 ] 0|mm | [2020-11-15 00:47:33.586] [LOG] Finished getting MFP data

Screen Shot 2020-11-15 at 12 53 59 AM

Tippon commented 3 years ago

I had to switch over to Python3 so I could install the 'myfitnesspal' python module.

Do you have a link to the module, or any more instructions please? I've tried this version and your fork, but I can't get anything to display

patadeloso commented 3 years ago

I had to switch over to Python3 so I could install the 'myfitnesspal' python module.

Do you have a link to the module, or any more instructions please? I've tried this version and your fork, but I can't get anything to display

https://pypi.org/project/myfitnesspal/

There isn't much info on the page. And I've ran into another issue, MM keeps spawning new MFP processes and not closing the old ones. Over time, they consume all system resources.

Tippon commented 3 years ago

https://pypi.org/project/myfitnesspal/

There isn't much info on the page. And I've ran into another issue, MM keeps spawning new MFP processes and not closing the old ones. Over time, they consume all system resources.

Thank you for replying 😄

I tried that, but still couldn't get the module to work. I won't bother if you're having trouble with it too. It stops being fun when you've got to keep working on it.

AdrianReichert commented 3 years ago

Does anyone have an working version of this? Any help much appreciated

Tippon commented 3 years ago

Does anyone have an working version of this? Any help much appreciated

Hi Adrian :)

This module seems to have been abandoned, it was last updated four years ago. I've been using MMM-Fitbit2 instead. You can get it here:

https://github.com/m-roberts/MMM-Fitbit2