Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Personal Timetable #139

Open
JonasDoebertin opened this issue Aug 30, 2024 · 6 comments
Open

Issue with Personal Timetable #139

JonasDoebertin opened this issue Aug 30, 2024 · 6 comments

Comments

@JonasDoebertin
Copy link

The problem

When I try to add a new configuration, I can get past the step of setting up the server, school and credentials. As soon as I try to select a timetable source though, I get presented with an error.

Bildschirmfoto 2024-08-30 um 09 49 30

Bildschirmfoto 2024-08-30 um 09 49 38

Logging in and seeing the personal timetable works fine in WebUntis in the browser.

Already enabled the debug logging, you can find the corresponding log entries below.

Version of Home Assistant?

2024.8.3

What type of installation are you running?

Home Assistant OS

Version of WebUntis

v1.2.0

Last working WebUntis version

No response

Traceback/Error logs

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: webuntis
Quelle: custom_components/webuntis/config_flow.py:89
Integration: Web Untis (Dokumentation, Probleme)
Erstmals aufgetreten: 09:39:04 (3 Vorkommnisse)
Zuletzt protokolliert: 09:40:10

{'jsonrpc': '2.0', 'id': '2024-08-30 09:39:04.393111', 'error': {'message': 'invalid elementType: 12', 'code': -7001}}
{'jsonrpc': '2.0', 'id': '2024-08-30 09:39:10.615276', 'error': {'message': 'invalid elementType: 12', 'code': -7001}}
{'jsonrpc': '2.0', 'id': '2024-08-30 09:40:10.861174', 'error': {'message': 'invalid elementType: 12', 'code': -7001}}
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.webuntis.config_flow
Quelle: custom_components/webuntis/config_flow.py:109
Integration: Web Untis (Dokumentation, Probleme)
Erstmals aufgetreten: 09:39:04 (3 Vorkommnisse)
Zuletzt protokolliert: 09:40:10

Error testing timetable: invalid elementType: 12

Additional information

No response

@JonasJoKuJonas
Copy link
Owner

JonasJoKuJonas commented Sep 6, 2024

Does the login work via student?

De:
Funktioniert der Login per Schüler?

@dprinz
Copy link

dprinz commented Sep 9, 2024

I have the same error. I can login with students name but then have all entities disabled.

@JonasDoebertin
Copy link
Author

JonasDoebertin commented Sep 9, 2024

Does the login work via student?

@JonasJoKuJonas Choosing Student as the source with providing the name seems to work. Thanks for the hint!

@JonasJoKuJonas
Copy link
Owner

Choosing Student as the source with providing the name seems to work. Thanks for the hint!

Do the sensors contain the correct data?

@JonasDoebertin
Copy link
Author

@JonasJoKuJonas It does seem so, yes

@JonasJoKuJonas JonasJoKuJonas changed the title Issue with setting up a new configuration Issue with Personal Timetable Sep 20, 2024
@andreaslink-de
Copy link

andreaslink-de commented Nov 13, 2024

I can also confirm this error, I have the exact same error situation as seen in the beginning. I am a parent and I login to an account where I can see my two children. Is this an issue, when more children are setup in this account probably? In my case they are also in the same class having the same time schedule.

Running v1.3.3 on HA Core 2024.11.1, Supervisor 2024.11.2, Operating System 13.2

Logger: webuntis
Quelle: custom_components/webuntis/config_flow.py:96
Integration: Web Untis (Dokumentation, Probleme)
Erstmals aufgetreten: 15:57:09 (2 Vorkommnisse)
Zuletzt protokolliert: 15:57:28

{'jsonrpc': '2.0', 'id': '2024-11-13 15:57:09.436628', 'error': {'message': 'invalid elementType: 12', 'code': -7001}}
{'jsonrpc': '2.0', 'id': '2024-11-13 15:57:28.416223', 'error': {'message': 'invalid elementType: 12', 'code': -7001}}

I got it working when choosing "Student" and enter the name of one of my children.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants