@HeikoGr a new commit is on github with a fix in the handling of “days” - maybe this fixes your problem.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Webuntis
-
RE: MMM-Webuntis
@Eli maybe your school doesn‘t show more than 2 days to the future (like our school).
Because the only differences in the debug mode are more log output and not filtering past lessons (there is also an undocumented option „debugLastDays“ - so i was able to develop during the holidays…). How many future days do you see in the untis app or on webuntis.com?
-
RE: MMM-Webuntis
@OliWer i pushed a fix to github.
I was able to reproduce your error.
it should work now. -
RE: MMM-Webuntis
@kurkarte you can try to search your school at https://webuntis.com/ . On the next site the school name in the URL could work if you replace empty spa es with „+“ signs.
-
RE: MMM-Webuntis
Note to myself: enhance error handling
I did a clean reinstall on my machine and it worked with your config (and our qr code).
Maybe the school doesn’t publish personal timetables?
Can you try to set
useClassTimetable: true,
-
RE: MMM-Webuntis
@Eli the module surely isn‘t running properly.
I think the module MMM-Remote-Control tries to run git to get the npm module untis (which is required by my module) and has no success.
But this is only a guess… could be totally wrong
-
RE: MMM-Webuntis
@Eli looks interesting
- Why are the references to c:\ do you run magicmirror on windows?
- what’s your way to install a new module? Do you use an module for this?
-
RE: MMM-Webuntis
The default is to show only changes in the schedule.
But you are right: a few more examples and screenshots are on my todo list!You can try this (look for showRegularLessons).
{ disabled: false, module: "MMM-Webuntis", header: "schedule for next 3 days", position: "top_right", config: { students: [ { title: "children", qrcode: "untis://s[...]", }, ], days: 3, showRegularLessons: true } },
-
RE: MMM-Webuntis
@schmucke unfortunately I am not able to get the informations via the npm webuntis class from the untis API.
Don’t your children have own accounts you can use? Or do they have an MS365 login? In this case you can use the qr code login method.
-
RE: MMM-Webuntis
@schmucke at the moment this module asks explicitly for the „own“ timetable. So the error is absolutely because of the parents account. I will look, if i can get the students data out of an existing parents account.