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

Ugeplan empty for 1 child - the other is populated. #49

Closed
1 of 2 tasks
Symbiot78 opened this issue Dec 4, 2022 · 38 comments
Closed
1 of 2 tasks

Ugeplan empty for 1 child - the other is populated. #49

Symbiot78 opened this issue Dec 4, 2022 · 38 comments
Assignees
Labels
bug Something isn't working stale

Comments

@Symbiot78
Copy link

Symbiot78 commented Dec 4, 2022

For my oldest daughter in 3rd grade the 'ugeplan' is populated.
For the youngest in 0 grade there is no data.

Looking in 'minuddannelse' I see data for both.

'ugeplaner' in this integration appears to be 'ugenoter' - at least.. for me what it pulls is the 'ugenoter'.

Please answer the following

  • I have more than one child
  • My children are attending different schools / institutions

Not sure what I can provide for this - but let me know I'll do and send whatever I can.

@Symbiot78 Symbiot78 added the bug Something isn't working label Dec 4, 2022
@scaarup
Copy link
Owner

scaarup commented Dec 4, 2022

Hi.

Which version are you on? Also we're gonna need the debug log.

Is the empty calendars because you are only looking at today - Sunday? Or also empty for tomorrow?

@Symbiot78
Copy link
Author

version is v0.1.24

I checked today.. same 'unavailable'

I set debug log but only thing I see is this :

2022-12-05 18:34:59.527 WARNING (SyncWorker_1) [custom_components.aula.client] API was expected at https://www.aula.dk/api/v14 but responded with HTTP 410.

@Symbiot78
Copy link
Author

reload component shows this:

022-12-05 18:37:29.552 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.aula
2022-12-05 18:37:31.650 WARNING (SyncWorker_2) [custom_components.aula.client] API was expected at https://www.aula.dk/api/v14 but responded with HTTP 410.
2022-12-05 18:37:33.067 INFO (MainThread) [uamqp.async_ops.client_async] Keeping 'ReceiveClientAsync' connection alive. b'SBReceiver-31c28e57-c473-4ed7-bbd1-cce3e9118758'
2022-12-05 18:37:34.950 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aula for calendar
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/calendar/init.py", line 84, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!

@scaarup
Copy link
Owner

scaarup commented Dec 5, 2022

Relod doesn't really work, you need to restart ha.

@Symbiot78
Copy link
Author

Last post was after reload
The one before after a restart

@scaarup
Copy link
Owner

scaarup commented Dec 6, 2022

Roger that, but then you haven't enabled debug logging properly.

I get the same warning as you, but with debug logging enabled, I can see more:
image

@Symbiot78
Copy link
Author

hi

I got debugging up and running.
here's a chunk of the log.. hopefully it will contain something useful.

'
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0023 MinUddannelse - SSO
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0018 EasyIQ Links
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0013 Nyttige links
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0072 MU Elev - fravær
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0030 MinUddannelse - Opgaver
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0029 MinUddannelse – Ugenoter
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected Min Uddannelse widget
2022-12-08 06:28:44.566 DEBUG (SyncWorker_5) [custom_components.aula.client] Detected widget 0028 MinUddannelse – Forløb
2022-12-08 06:28:44.749 DEBUG (MainThread) [custom_components.aula.sensor] Found presence data for childid 1479609 adding sensor entity.
2022-12-08 06:28:44.749 DEBUG (MainThread) [custom_components.aula.sensor] Found presence data for childid 3731699 adding sensor entity.
2022-12-08 06:28:44.752 INFO (MainThread) [homeassistant.components.calendar] Setting up calendar.aula
2022-12-08 06:28:44.753 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=calendar.skoleskema_matilde_rask_thomsen, old_state=None, new_state=<state calendar.skoleskema_matilde_rask_thomsen=off; friendly_name=Skoleskema Matilde Rask Thomsen @ 2022-12-08T06:28:44.753344+01:00>>
2022-12-08 06:28:44.753 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=calendar.skoleskema_laerke_rask_thomsen, old_state=None, new_state=<state calendar.skoleskema_laerke_rask_thomsen=off; friendly_name=Skoleskema Lærke Rask Thomsen @ 2022-12-08T06:28:44.753706+01:00>>
2022-12-08 06:28:44.753 DEBUG (MainThread) [custom_components.aula.sensor] Unique ID for child 1479609 aula1479609
2022-12-08 06:28:44.753 DEBUG (MainThread) [custom_components.aula.sensor] Unique ID for child 1479609 aula1479609
2022-12-08 06:28:44.753 DEBUG (MainThread) [custom_components.aula.sensor] Unique ID for child 1479609 aula1479609
2022-12-08 06:28:44.754 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.nibe_skole_matilde, old_state=None, new_state=<state sensor.nibe_skole_matilde=Ikke kommet; ugeplan=


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi, ugeplan_next=


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi, location=None, sleepIntervals=[], checkInTime=None, checkOutTime=None, activityType=0, entryTime=07:30, exitTime=17:00, exitWith=Tina Wrist Lind Thomsen (Mor), comment=None, spareTimeActivity=None, selfDeciderStartTime=None, selfDeciderEndTime=None, icon=mdi:account-school, friendly_name=Nibe Skole Matilde @ 2022-12-08T06:28:44.754250+01:00>>
2022-12-08 06:28:44.754 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830759311248] Sending [{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_matilde_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"c":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","lc":1670477324.753344}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753344+00:00","last_updated":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_laerke_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"c":"01GKR3A8EH95J4HFZ2757HSF0A","lc":1670477324.753706}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753706+00:00","last_updated":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_matilde":{"s":"Ikke kommet","a":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"c":"01GKR3A8EJAZ13PWV92XSPRE8C","lc":1670477324.75425}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_matilde","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_matilde","state":"Ikke kommet","attributes":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"last_changed":"2022-12-08T05:28:44.754250+00:00","last_updated":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.755 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830966079392] Sending [{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_matilde_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"c":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","lc":1670477324.753344}}}},{"id":18,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753344+00:00","last_updated":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_laerke_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"c":"01GKR3A8EH95J4HFZ2757HSF0A","lc":1670477324.753706}}}},{"id":18,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753706+00:00","last_updated":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_matilde":{"s":"Ikke kommet","a":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"c":"01GKR3A8EJAZ13PWV92XSPRE8C","lc":1670477324.75425}}}},{"id":18,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_matilde","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_matilde","state":"Ikke kommet","attributes":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"last_changed":"2022-12-08T05:28:44.754250+00:00","last_updated":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.755 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830763715456] Sending [{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_matilde_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"c":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","lc":1670477324.753344}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753344+00:00","last_updated":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_laerke_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"c":"01GKR3A8EH95J4HFZ2757HSF0A","lc":1670477324.753706}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753706+00:00","last_updated":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_matilde":{"s":"Ikke kommet","a":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"c":"01GKR3A8EJAZ13PWV92XSPRE8C","lc":1670477324.75425}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_matilde","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_matilde","state":"Ikke kommet","attributes":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"last_changed":"2022-12-08T05:28:44.754250+00:00","last_updated":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.755 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830764752272] Sending [{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_matilde_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"c":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","lc":1670477324.753344}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753344+00:00","last_updated":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_laerke_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"c":"01GKR3A8EH95J4HFZ2757HSF0A","lc":1670477324.753706}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753706+00:00","last_updated":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_matilde":{"s":"Ikke kommet","a":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"c":"01GKR3A8EJAZ13PWV92XSPRE8C","lc":1670477324.75425}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_matilde","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_matilde","state":"Ikke kommet","attributes":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"last_changed":"2022-12-08T05:28:44.754250+00:00","last_updated":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.756 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830764200496] Sending [{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_matilde_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"c":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","lc":1670477324.753344}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_matilde_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Matilde Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753344+00:00","last_updated":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753344+00:00","context":{"id":"01GKR3A8EHC5PG5Z9ZN3ZM39CN","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"calendar.skoleskema_laerke_rask_thomsen":{"s":"off","a":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"c":"01GKR3A8EH95J4HFZ2757HSF0A","lc":1670477324.753706}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","old_state":null,"new_state":{"entity_id":"calendar.skoleskema_laerke_rask_thomsen","state":"off","attributes":{"friendly_name":"Skoleskema Lærke Rask Thomsen"},"last_changed":"2022-12-08T05:28:44.753706+00:00","last_updated":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.753706+00:00","context":{"id":"01GKR3A8EH95J4HFZ2757HSF0A","parent_id":null,"user_id":null}}},{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_matilde":{"s":"Ikke kommet","a":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"c":"01GKR3A8EJAZ13PWV92XSPRE8C","lc":1670477324.75425}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_matilde","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_matilde","state":"Ikke kommet","attributes":{"ugeplan":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Julehjerte
Håndværk/design



Matematik
Matematik opgaver i mindre grupper

Dansk
"Slå en julehistorie"
Skr. fremstilling

Dansk
Skolebiblioteket
D.B.J8.45-9.30Billedkunst
Julehjerte
Håndværk/design
Matematik
Kontext S. 54+55
Dansk
D.B.J


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk
Detektiven Benny  og det store julemysterium. (D.B.J)

Idræt

Kristendom
Dansk
Drengemøde.
Pigerne laver aktiviteter med Thomas
10.45-11.30UUV
Dansk
Stavetræning/konsonantklynger.Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik
Julerier i matematik
Konext S. 52
Engelsk
Dansk
"Slå en julehistorie"
 Skr. fremstilling
Matematik
Kontext S. 54+55
Natur og teknologi
Microbits
12.50-13.35Dansk
Skriv en skør julehistorie med tillægsord + oplæsning
Matematik
Kontext S. 53
Juleopgaver
UUV




Natur og teknologi","ugeplan_next":"


<table style=' background-color: rgb(245, 243, 186); color: rgb(77, 77, 77); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; text-align: start; width: 1380.5px'>
MandagTirsdagOnsdagTorsdagFredag8.00-8.45Billedkunst
Håndværk/design



Matematik

Dansk

Dansk
Skolebiblioteket8.45-9.30Billedkunst
Håndværk/design
Matematik

Dansk


Historie
9.30-10.00PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
10.00-10.45MusikDansk


Idræt

Kristendom
Dansk
10.45-11.30UUV
Dansk
Idræt

Engelsk


Musik
11.30-12.05PAUSE
PAUSE
PAUSE
PAUSE
PAUSE
12.05-12.50

Matematik

Engelsk
Dansk
Matematik

Natur og teknologi

12.50-13.35Dansk
Matematik

UUV




Natur og teknologi","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Matilde"},"last_changed":"2022-12-08T05:28:44.754250+00:00","last_updated":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.754250+00:00","context":{"id":"01GKR3A8EJAZ13PWV92XSPRE8C","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.757 DEBUG (MainThread) [custom_components.aula.sensor] Unique ID for child 3731699 aula3731699
2022-12-08 06:28:44.757 DEBUG (MainThread) [custom_components.aula.sensor] Unique ID for child 3731699 aula3731699
2022-12-08 06:28:44.757 DEBUG (MainThread) [custom_components.aula.sensor] Unique ID for child 3731699 aula3731699
2022-12-08 06:28:44.757 DEBUG (MainThread) [custom_components.aula.sensor] Could not get ugeplan for next week for child Lærke. Perhaps not available yet.
2022-12-08 06:28:44.757 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.nibe_skole_laerke, old_state=None, new_state=<state sensor.nibe_skole_laerke=Ikke kommet; ugeplan=Not available, ugeplan_next=Not available, location=None, sleepIntervals=[], checkInTime=None, checkOutTime=None, activityType=0, entryTime=07:30, exitTime=17:00, exitWith=Tina Wrist Lind Thomsen (Mor), comment=None, spareTimeActivity=None, selfDeciderStartTime=None, selfDeciderEndTime=None, icon=mdi:account-school, friendly_name=Nibe Skole Lærke @ 2022-12-08T06:28:44.757689+01:00>>
2022-12-08 06:28:44.758 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830759311248] Sending [{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_laerke":{"s":"Ikke kommet","a":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"c":"01GKR3A8ENS6ADSAYTJP6MA38Q","lc":1670477324.757689}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_laerke","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_laerke","state":"Ikke kommet","attributes":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"last_changed":"2022-12-08T05:28:44.757689+00:00","last_updated":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.758 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830966079392] Sending [{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_laerke":{"s":"Ikke kommet","a":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"c":"01GKR3A8ENS6ADSAYTJP6MA38Q","lc":1670477324.757689}}}},{"id":18,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_laerke","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_laerke","state":"Ikke kommet","attributes":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"last_changed":"2022-12-08T05:28:44.757689+00:00","last_updated":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.758 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830763715456] Sending [{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_laerke":{"s":"Ikke kommet","a":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"c":"01GKR3A8ENS6ADSAYTJP6MA38Q","lc":1670477324.757689}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_laerke","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_laerke","state":"Ikke kommet","attributes":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"last_changed":"2022-12-08T05:28:44.757689+00:00","last_updated":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.758 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830764752272] Sending [{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_laerke":{"s":"Ikke kommet","a":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"c":"01GKR3A8ENS6ADSAYTJP6MA38Q","lc":1670477324.757689}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_laerke","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_laerke","state":"Ikke kommet","attributes":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"last_changed":"2022-12-08T05:28:44.757689+00:00","last_updated":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}},"origin":"LOCAL","time_fired":"2022-12-08T05:28:44.757689+00:00","context":{"id":"01GKR3A8ENS6ADSAYTJP6MA38Q","parent_id":null,"user_id":null}}}]
2022-12-08 06:28:44.758 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [139830764200496] Sending [{"id":2,"type":"event","event":{"a":{"sensor.nibe_skole_laerke":{"s":"Ikke kommet","a":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"c":"01GKR3A8ENS6ADSAYTJP6MA38Q","lc":1670477324.757689}}}},{"id":17,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"sensor.nibe_skole_laerke","old_state":null,"new_state":{"entity_id":"sensor.nibe_skole_laerke","state":"Ikke kommet","attributes":{"ugeplan":"Not available","ugeplan_next":"Not available","location":null,"sleepIntervals":[],"checkInTime":null,"checkOutTime":null,"activityType":0,"entryTime":"07:30","exitTime":"17:00","exitWith":"Tina Wrist Lind Thomsen (Mor)","comment":null,"spareTimeActivity":null,"selfDeciderStartTime":null,"selfDeciderEndTime":null,"icon":"mdi:account-school","friendly_name":"Nibe Skole Lærke"},"last_changed":"2022-12-08T05:28:44.757689+00:00","last_updated":"2022-12-08T05:28:44.757689+00:00","context": '

@scaarup
Copy link
Owner

scaarup commented Dec 8, 2022

I cannot really make sense of your log.
What is going on here? No timestamp but "ugenoter" in the log? I am not logging out ugenoter, so how is that even ending up in your log?
image

And here, some "ugenoter" and then a new logline without timestamp but containing some json presence/state information:
image

Can you make sure to restart HA and capture the log, without cutting/pasting/manipulating, in a raw file and attach it to here.

Also pop the developer tools, like here:
image
and paste the "State attributes (YAML, optional)" for each child.

Thank you.

@WonderMoose
Copy link

It looks like I have the same issue. I had the "Ugenoter" put into the "Ugeplan" within the the aula sensor for my oldest daughter (the only one in school) in this format:
https://gyazo.com/ee7bb91e4d532d5a9d5e338ad8929bbb
But now I don't have them anymore. I receive the message in the log: "You have enabled ugeplaner, but we cannot find them in Aula."

This is what I have in my log with debug activated:

2022-12-08 10:20:27.926 DEBUG (SyncWorker_8) [custom_components.aula.client] is_logged_in? False
2022-12-08 10:20:27.926 DEBUG (SyncWorker_8) [custom_components.aula.client] Logging in
2022-12-08 10:20:30.773 DEBUG (SyncWorker_8) [custom_components.aula.client] Trying API at https://www.aula.dk/api/v14
2022-12-08 10:20:30.820 WARNING (SyncWorker_8) [custom_components.aula.client] API was expected at https://www.aula.dk/api/v14 but responded with HTTP 410.
2022-12-08 10:20:30.822 DEBUG (SyncWorker_8) [custom_components.aula.client] Trying API at https://www.aula.dk/api/v15
2022-12-08 10:20:31.021 DEBUG (SyncWorker_8) [custom_components.aula.client] Found API on https://www.aula.dk/api/v15
2022-12-08 10:20:31.285 DEBUG (SyncWorker_8) [custom_components.aula.client] LOGIN: True
2022-12-08 10:20:31.285 DEBUG (SyncWorker_8) [custom_components.aula.client] Config - schoolschedule: True, config - ugeplaner: True
2022-12-08 10:20:31.285 DEBUG (SyncWorker_8) [custom_components.aula.client] Child ids and names: {896230: 'Sia Marie Christensen', 2525115: 'Ea Elisa Christensen'}
2022-12-08 10:20:31.285 DEBUG (SyncWorker_8) [custom_components.aula.client] Child ids and institution names: {896230: 'Stouby Skole', 2525115: 'Børnehuset Skovly, Stouby'}
2022-12-08 10:20:31.503 DEBUG (SyncWorker_8) [custom_components.aula.client] Child ids and presence data status: {'896230': 1, '2525115': 1}
2022-12-08 10:20:31.504 DEBUG (SyncWorker_8) [custom_components.aula.client] Fetching calendars...
2022-12-08 10:20:32.378 DEBUG (SyncWorker_8) [custom_components.aula.client] Detected widget 0028 MinUddannelse – Forløb
2022-12-08 10:20:32.378 DEBUG (SyncWorker_8) [custom_components.aula.client] Detected widget 0072 MU Elev - fravær
2022-12-08 10:20:32.378 ERROR (SyncWorker_8) [custom_components.aula.client] You have enabled ugeplaner, but we cannot find them in Aula.
2022-12-08 10:20:32.628 DEBUG (SyncWorker_9) [custom_components.aula.client] is_logged_in? True
2022-12-08 10:20:32.628 DEBUG (SyncWorker_9) [custom_components.aula.client] Child ids and names: {896230: 'Sia Marie Christensen', 2525115: 'Ea Elisa Christensen'}
2022-12-08 10:20:32.628 DEBUG (SyncWorker_9) [custom_components.aula.client] Child ids and institution names: {896230: 'Stouby Skole', 2525115: 'Børnehuset Skovly, Stouby'}
2022-12-08 10:20:32.863 DEBUG (SyncWorker_9) [custom_components.aula.client] Child ids and presence data status: {'896230': 1, '2525115': 1}
2022-12-08 10:20:32.863 DEBUG (SyncWorker_9) [custom_components.aula.client] Fetching calendars...
2022-12-08 10:20:33.681 DEBUG (SyncWorker_9) [custom_components.aula.client] Detected widget 0072 MU Elev - fravær
2022-12-08 10:20:33.681 ERROR (SyncWorker_9) [custom_components.aula.client] You have enabled ugeplaner, but we cannot find them in Aula.
2022-12-08 10:20:42.548 DEBUG (SyncWorker_8) [custom_components.aula.client] is_logged_in? True
2022-12-08 10:20:42.548 DEBUG (SyncWorker_8) [custom_components.aula.client] Child ids and names: {896230: 'Sia Marie Christensen', 2525115: 'Ea Elisa Christensen'}
2022-12-08 10:20:42.548 DEBUG (SyncWorker_8) [custom_components.aula.client] Child ids and institution names: {896230: 'Stouby Skole', 2525115: 'Børnehuset Skovly, Stouby'}
2022-12-08 10:20:42.758 DEBUG (SyncWorker_8) [custom_components.aula.client] Child ids and presence data status: {'896230': 1, '2525115': 1}
2022-12-08 10:20:42.759 DEBUG (SyncWorker_8) [custom_components.aula.client] Fetching calendars...
2022-12-08 10:20:43.498 DEBUG (SyncWorker_8) [custom_components.aula.client] Detected widget 0028 MinUddannelse – Forløb
2022-12-08 10:20:43.498 DEBUG (SyncWorker_8) [custom_components.aula.client] Detected widget 0072 MU Elev - fravær
2022-12-08 10:20:43.499 ERROR (SyncWorker_8) [custom_components.aula.client] You have enabled ugeplaner, but we cannot find them in Aula.

This is what I see in the dev-tools:

ugeplan: Not available
ugeplan_next: Not available
location: null
sleepIntervals: []
checkInTime: '10:07'
checkOutTime: '10:07'
activityType: 3
entryTime: '06:00'
exitTime: '17:00'
exitWith: null
comment: ''
spareTimeActivity: null
selfDeciderStartTime: '15:15'
selfDeciderEndTime: '17:00'
icon: mdi:account-school
friendly_name: Stouby Skole Sia

Hope it gives you something, otherwise let me know, if I need to try something out

@scaarup
Copy link
Owner

scaarup commented Dec 8, 2022

Oh "ugeplaner" and "ugenoter" - two words for the same thing. Sry about the confusion :).

So they are not found, because the integration cannot find the widget. You only seem to have these two:

2022-12-08 10:20:32.378 DEBUG (SyncWorker_8) [custom_components.aula.client] Detected widget 0028 MinUddannelse – Forløb
2022-12-08 10:20:32.378 DEBUG (SyncWorker_8) [custom_components.aula.client] Detected widget 0072 MU Elev - fravær

We need a logline like this: Detected widget 0029 MinUddannelse – Ugenoter

Can you try to log in to Aula in your webbrowser and see if they are actually available to you? And are you expecting them to be served from "Min uddannelse"?

@WonderMoose
Copy link

Yes the Ugenoter is there. The Gyazo link was the screenshot from MinUddannelse.
i dont recall ever seeing them directly on Aula website if that is what you meant. From there I only have a link to Min Uddannelse where I Can see the ugenoter

@scaarup
Copy link
Owner

scaarup commented Dec 8, 2022

When I log in to Aula in my browser, the "ugenoter" is on the far right:
image

Something could indicate, that your school is using a very different approach. If we are to get wiser on this, you need to "record" the steps for how you get to see your "ugenoter". In the browser using developer tools, so we can see how you are coming from Aula to Ugenoter.

@Symbiot78
Copy link
Author

Symbiot78 commented Dec 8, 2022

I’ll try as well in browser

at our school ;

ugeplan is the weekly schedule - standard stuff

ugenoter is more specific - like what they’re doing in Danish on wednesday

both are found in ‘minuddannelse’

@scaarup
Copy link
Owner

scaarup commented Dec 9, 2022

Okay roger that. Sounds to me like "ugeplan" is what you would interpret as "schoolschedule / skoleskema" ?

@Symbiot78
Copy link
Author

yes. Exactly.
and ugenoter is the teachers 'plan' for the week.. so to speak. including if there are changes to standard 'skoleskema' :-)

@scaarup
Copy link
Owner

scaarup commented Dec 9, 2022

Okay, so for this integration, there is already a concept defined as "schoolschedule/skoleskema" - when configured should pop up as calendar entities.
And you should consider ugeplan the same as ugenoter, in the context of this integration.

But, we still do not see the "ugeplan/ugenoter" widget in Aula. Why you still need to tell me how you get from Aula to those.

@Symbiot78
Copy link
Author

not sure how to record it in browser.. what it is you need.
I click a link to minuddannelse.net
it opens a new page with that site

I have both my kids there and can click links to open ugeplaner, elevplan etc.

I know this is not what you want - but tell me what to export from dev tools and I'll attach it here

image

@scaarup
Copy link
Owner

scaarup commented Dec 9, 2022

What does the link in Aula look like?
Does it open a new browser window/tab?

Also are you not seeing "skoleskema" within Aula's kalender, like this:
image

@scaarup
Copy link
Owner

scaarup commented Dec 9, 2022

Open Aula up, right click any where and select "inspect":
image
Go to the "network" tab, refresh/reload the page and check if there are any calls to ?method=aulaToken.getAulaToken&widgetId=XX:
image
If yes, right click the call, and copy as curl, and paste it here:
image

@Symbiot78
Copy link
Author

curl "https://www.aula.dk/api/v15/?method=aulaToken.getAulaToken&widgetId=0023" ^
-H "authority: www.aula.dk" ^
-H "accept: application/json, text/plain, /" ^
-H "accept-language: en-US,en;q=0.9" ^
-H "cookie: Csrfp-Token=daf4ebdf4befef5a74c31cb85a31a923; PHPSESSID=nmpcg1b16vhteg071om549eahmc121ql; initialLogin=true; profile_change=5" ^
-H "referer: https://www.aula.dk/portal/" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
--compressed

curl "https://www.aula.dk/api/v15/?method=aulaToken.getAulaToken&widgetId=0018" ^
-H "authority: www.aula.dk" ^
-H "accept: application/json, text/plain, /" ^
-H "accept-language: en-US,en;q=0.9" ^
-H "cookie: Csrfp-Token=daf4ebdf4befef5a74c31cb85a31a923; PHPSESSID=nmpcg1b16vhteg071om549eahmc121ql; initialLogin=true; profile_change=5" ^
-H "referer: https://www.aula.dk/portal/" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
--compressed

curl "https://www.aula.dk/api/v15/?method=aulaToken.getAulaToken&widgetId=0072" ^
-H "authority: www.aula.dk" ^
-H "accept: application/json, text/plain, /" ^
-H "accept-language: en-US,en;q=0.9" ^
-H "cookie: Csrfp-Token=daf4ebdf4befef5a74c31cb85a31a923; PHPSESSID=nmpcg1b16vhteg071om549eahmc121ql; initialLogin=true; profile_change=5" ^
-H "referer: https://www.aula.dk/portal/" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
--compressed

@Symbiot78
Copy link
Author

image

it opens a new tab.

in calendar I have ugeplan & ugenoter

image

@Symbiot78
Copy link
Author

if I do the inspecting on the calendar I get these 3:

curl "https://www.aula.dk/api/v15/?method=aulaToken.getAulaToken&widgetId=0030" ^
-H "authority: www.aula.dk" ^
-H "accept: application/json, text/plain, /" ^
-H "accept-language: en-US,en;q=0.9" ^
-H "cookie: Csrfp-Token=daf4ebdf4befef5a74c31cb85a31a923; PHPSESSID=nmpcg1b16vhteg071om549eahmc121ql; initialLogin=true; profile_change=6" ^
-H "referer: https://www.aula.dk/portal/" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
--compressed

curl "https://www.aula.dk/api/v15/?method=aulaToken.getAulaToken&widgetId=0029" ^
-H "authority: www.aula.dk" ^
-H "accept: application/json, text/plain, /" ^
-H "accept-language: en-US,en;q=0.9" ^
-H "cookie: Csrfp-Token=daf4ebdf4befef5a74c31cb85a31a923; PHPSESSID=nmpcg1b16vhteg071om549eahmc121ql; initialLogin=true; profile_change=6" ^
-H "referer: https://www.aula.dk/portal/" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
--compressed

curl "https://www.aula.dk/api/v15/?method=aulaToken.getAulaToken&widgetId=0028" ^
-H "authority: www.aula.dk" ^
-H "accept: application/json, text/plain, /" ^
-H "accept-language: en-US,en;q=0.9" ^
-H "cookie: Csrfp-Token=daf4ebdf4befef5a74c31cb85a31a923; PHPSESSID=nmpcg1b16vhteg071om549eahmc121ql; initialLogin=true; profile_change=6" ^
-H "referer: https://www.aula.dk/portal/" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
--compressed

@scaarup
Copy link
Owner

scaarup commented Dec 12, 2022

@Symbiot78 your school has is populating the calender in Aula with the schoolschedule, while at the same time, using "Min uddannelse - ugenoter", for what also seems like a table for a schoolschedule?
I am wondering why the Headline on your screenshot is "Ugenoter" - since we do not see that widget in Aula. I think it may originate from "Detected widget 0028 MinUddannelse – Forløb".

Now since you are an expert with your browsers "developer tools", could you try and find all requests to "api.minuddannelse.net", copy as curl and paste them here?

Example:
image

@Symbiot78
Copy link
Author

Symbiot78 commented Dec 12, 2022

Lol… lemme find my dev expert cap and see what I can dig up😅

@scaarup scaarup mentioned this issue Dec 20, 2022
2 tasks
@scaarup
Copy link
Owner

scaarup commented Jan 17, 2023

Thanks @Symbiot78.

"copy as curl" on the getUgeBreve request and let me see that.

@Symbiot78
Copy link
Author

@scaarup

curl "https://www.minuddannelse.net/Node/api/api/stamdata/ugeplan/getUgeBreve?tidspunkt=2023-W3&elevId=2493632&_=1673942846739" ^
-H "Accept: application/json; charset=utf-8" ^
-H "Accept-Language: en-US,en;q=0.9" ^
-H "Connection: keep-alive" ^
-H "Cookie: ASP.NET_SessionId=web03~ndzrjuv5ajbvn45x3hcquun4; ss-pid=tWCaY2BgdD5SwuheBqZm; ss-id=aTkIFWzI79UdZuV1QaHW; QueueITAccepted-SDFrts345E-V3_minuddannelseprod=EventId^%^3Dminuddannelseprod^%^26QueueId^%^3D00000000-0000-0000-0000-000000000000^%^26RedirectType^%^3Ddisabled^%^26IssueTime^%^3D1673942788^%^26Hash^%^3Db3df57ce00b8d6e15d11e78541af8887abad614e6630669fd0b632ef93e15847; CookieInformationConsent=^%^7B^%^22website_uuid^%^22^%^3A^%^22d4a90a6e-4de7-41e5-b8be-16554dc2f120^%^22^%^2C^%^22timestamp^%^22^%^3A^%^222023-01-17T08^%^3A06^%^3A32.088Z^%^22^%^2C^%^22consent_url^%^22^%^3A^%^22https^%^3A^%^2F^%^2Fwww.minuddannelse.net^%^2Fhome^%^2Fforside^%^3FreturnUrl^%^3D^%^252FNode^%^252F^%^23ATHS^%^22^%^2C^%^22consent_website^%^22^%^3A^%^22minuddannelse.net^%^22^%^2C^%^22consent_domain^%^22^%^3A^%^22www.minuddannelse.net^%^22^%^2C^%^22user_uid^%^22^%^3A^%^220c5092ed-cdc0-42da-a1a4-1168d2d591ab^%^22^%^2C^%^22consents_approved^%^22^%^3A^%^5B^%^22cookie_cat_necessary^%^22^%^2C^%^22cookie_cat_functional^%^22^%^2C^%^22cookie_cat_statistic^%^22^%^2C^%^22cookie_cat_marketing^%^22^%^2C^%^22cookie_cat_unclassified^%^22^%^5D^%^2C^%^22consents_denied^%^22^%^3A^%^5B^%^5D^%^2C^%^22user_agent^%^22^%^3A^%^22Mozilla^%^2F5.0^%^20^%^28Windows^%^20NT^%^2010.0^%^3B^%^20Win64^%^3B^%^20x64^%^29^%^20AppleWebKit^%^2F537.36^%^20^%^28KHTML^%^2C^%^20like^%^20Gecko^%^29^%^20Chrome^%^2F108.0.0.0^%^20Safari^%^2F537.36^%^22^%^7D; mu-node-sessionid=fe53c80d-a1de-4f6c-abc4-9c99fffe35de; .AspNet.SharedCookie=CfDJ8FCkYpcbpj5Crx6nxe_YBoAfuriVYsPIPuCEbmQKElYC7PAko1KuuvPMSy3Rj6dGzTtkXVm1hFzv_SKaOm6oYlpWYtPMirX4aEdwqXDDSUDDZbOF90qxORkV1YoQXZJQ8B-aPPGx5btAIMmm_ZhpR_a_O5MuXLe2lgcEu5LuUE9Bu_ZJgcgmtAaLuwmot2q7DZzkMnUyS3mcq7fdkF5T49t3PeDJSzQW0MSdppsAWQunnEmijGh_p9Tbhnj2_O6Me90guvqTvxG7uDpnYeT6o3qYON4mwBzguwtVsAnv3yUU-4OWBM6pMyz9WKHkMGBsWNp1ytFZAh173XJEFDMytZzos6SglgukOgYyT5dQqZn_Y67godLsZGAPvpCrdsFd-_u4ZLkN4-jPOWxu_DEIe0S8J-4REn3lnDsiehf92uOnru9readBRtj-O3EGyGQDyO4l0ejQH0-M4S1j8FgHBpBz1PvPt66MCCntLTGnF0dx3cs03FsWEsn_HWujKFCrJzhWUnoWrvgEBRJ9zH3kKCCkANsEii716Cow1yNQjzW0CV-AzKFB1ljM8KXdD4AMqjER6DVXdOjHJ0R4diNDdpVDKUgYUn92x8ilEKrd28w7XWW-6Bffhk88cHBZ6qBW5MUK8cI8Jsj93ZabpdXo2GCM45nt9Q_05qWoCjcwRC6SRnjJuxxkGqqxCUemln5so6jd3OllDnB_yCgYTDcttZz5S40iZ51HIA1_xlbhjgd5; connect.sid=s^%^3Azk--Mn_OPJ-d9-l_G_GzOyDY_ZKuecqg.ujcb^%^2FjR^%^2FYwAddMCmzoT6ZG8b1PHvUtkNYvVh2ZRhuUY" ^
-H "Referer: https://www.minuddannelse.net/Node/minuge/2493632" ^
-H "Sec-Fetch-Dest: empty" ^
-H "Sec-Fetch-Mode: cors" ^
-H "Sec-Fetch-Site: same-origin" ^
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
-H "X-Correlation-ID: 235baa36-974b-41d5-bd65-8439090a7d2a" ^
-H "X-Originating-From: //www.minuddannelse.net/Node/minuge/2493632" ^
-H "X-Requested-With: XMLHttpRequest" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
--compressed

@scaarup
Copy link
Owner

scaarup commented Jan 17, 2023

I am not seeing how you are authenticated with MU.
Aula's method=aulaToken.getAulaToken&widgetID returns a token - do you see that token in the request to MU?

@Symbiot78
Copy link
Author

could it be this?

curl "https://matomo.uvdata.dk/matomo.php?action_name=MinUddannelse&idsite=1&rec=1&r=435866&h=9&m=16&s=23&url=https^%^3A^%^2F^%^2Fwww.minuddannelse.net^%^2FNode^%^2F&urlref=https^%^3A^%^2F^%^2Fwww.aula.dk^%^2F&uid=2493642&_id=&_idn=1&send_image=0&_refts=1673943383&_ref=https^%^3A^%^2F^%^2Fwww.aula.dk^%^2F&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080&dimension1=831003&dimension2=true&dimension3=Far&pv_id=j7lApA&devicePixelRatio=1&pf_net=38&pf_srv=557&pf_tfr=1&pf_dm1=576&pf_dm2=1076&pf_onl=10" ^
-X "POST" ^
-H "Accept: /" ^
-H "Accept-Language: en-US,en;q=0.9" ^
-H "Connection: keep-alive" ^
-H "Content-Length: 0" ^
-H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" ^
-H "Origin: https://www.minuddannelse.net" ^
-H "Referer: https://www.minuddannelse.net/" ^
-H "Sec-Fetch-Dest: empty" ^
-H "Sec-Fetch-Mode: no-cors" ^
-H "Sec-Fetch-Site: cross-site" ^
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" ^
-H "sec-ch-ua: ^^"Not?A_Brand^^";v=^^"8^^", ^^"Chromium^^";v=^^"108^^", ^^"Google Chrome^^";v=^^"108^^"" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "sec-ch-ua-platform: ^^"Windows^^"" ^
--compressed

@scaarup
Copy link
Owner

scaarup commented Jan 17, 2023

Is the token in there?

@Symbiot78
Copy link
Author

I have no idea... I don't see anything that stands out in the minuddannelse when I check network
I'm going to try and make a video.

@Symbiot78
Copy link
Author

2023-01-17_09-21-31.mp4

@Symbiot78
Copy link
Author

I've tried to show the queries etc being made.. maybe something stands out?

@scaarup
Copy link
Owner

scaarup commented Jan 17, 2023

You need to catch the very first request to MU.

@Symbiot78
Copy link
Author

2023-01-17_09-37-52.mp4

@scaarup
Copy link
Owner

scaarup commented Jan 18, 2023

No you cannot just reload the page, your browser will use whatever cookies it already has. Try again in a private browser session and make sure Developer tools opens up automatically in the new tab, so you get the very first request.

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Feb 18, 2023
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants