ethanpartida / MMM-MyStudyLife

Module to display info from the website MyStudyLife
MIT License
10 stars 1 forks source link

No Classes message #10

Open stinkycol opened 1 year ago

stinkycol commented 1 year ago

Hope you can help, I can see classes using the Android App and by logging in online but nothing is showing in the MagicMirror module? Could this have anything to do with "request" being retired? I installed request as the instructions in the MMM-MyStudyLife folder as well as the Modules folder as i wasn't sure where it needed to go. I have removed the "code" rather than share it here but this has been checked several times and is correct matching that shown in the developers console.

My Config: { module: "MMM-MyStudyLife", position: "top_left", config: { code: "Y#########################################################=", showSchedule: true, showExams: true, showTasks: true, classes: { "Art & Design": [1,3], "Business Studies": [2,4,5], "Computer Science": [4,5], "English Language": [1,2], "French": [1,2,5], "Games": [3], "Geography": [4,5], "History": [3,4], "Mathematics": [1,2,4], "Physics": [1,3,5] } } },

The lessons show on the web UI:

image

The issue is on the MagicMirror:

My Study Life

ethanpartida commented 1 year ago

Hi Stinkycol,

Thanks for checking out my module, apologies for the late response. Are you able to run magic mirror in the developer mode and see if any error codes appear in the log? You can access this by the command npm run start dev.

This error very well could be caused request being deprecated or even MyStudyLife changing how their api is formatted. Please let me know what you see on your end. If these are the case, I will probably pull this module as I no longer have a mirror or mystudylife to debug with.

danieldbush commented 1 year ago

Hi ethanpartida your app is fantastic, please don't pull it but I also have the same issue. The command npm run start dev did not work for me so I wasnt able to see the issue. Any ideas?