This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
I am able to log into my sons Magister account using his credentials (or mine).
By the way: you should always use the students' credentials, and not the parents'.
I use the latest firmware 0.9.3 and latest App from the App store (0.0.9).
Installed the 0.0.10 version from Git, but get the same error.
It might be an authentication issue, I will look into that first.
No, I get the same error with the v1.0.10 version (that is the latest on Git, I believe).
The function of the boolean is to make sure Homey will only tell the roster once a day if there are one or more changes.
This morning Homey did send the push notification but did say the roster of yesterday instead of the expected roster of today (as configured). Any idea?
Stack trace:
TypeError: Cannot read property 'fullName' of undefined
at /drivers/student/driver.js:665:49
at /node_modules/magister.js/lib/node/magister-node.js:2470:22
at /node_modules/magister.js/lib/node/magister-node.js:5253:18
at /node_modules/magister.js/lib/node/magister-node.js:2484:24
at Request._callback (/node_modules/magister.js/lib/node/magister-node.js:5381:16)
at Request.self.callback (/node_modules/magister.js/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/node_modules/magister.js/node_modules/request/request.js:1073:14)
at emitOne (events.js:82:20)
@MarcelTimmermans these types of errors are really difficult for me to tackle. They are probably caused because every school fills in the data differently and I have to catch all kinds of exceptions. I posted an experimental version on GitHub that is trying to cope with this. Could you try it out?
Ok will try this. Will be tomorrow.
I did change my flow to Say Roster of tomorrow (if there is a change). Result: Homey says: Roster of Tomorrow is: followed by the roster of yesterday.
Besides that I do see a flaw in your flow. #flawedflows . The trigger card "roster change" now only supports a change in today's roster. So if tomorrows roster changes, the flow would not be triggered.