ICSUntis is a simple JavaScript server that generates an ICS file from your WebUntis substitution plan. It is designed to be run on a server and can be accessed via a simple HTTP GET request.
WebUntis offers an official solution to subscribe to your timetable via ICS, but not every school has enabled it.
To check if your school has enabled this feature, visit the following link:
https://help.untis.at/hc/de/articles/360014979580-Wie-funktioniert-das-iCal-Kalender-Abonnement-in-WebUntis
If your school has disabled this function, use my script 🙂
To use ICSUntis, you need to know the URL of your WebUntis server. You can find the server by logging into WebUntis and looking at the URL. It should look something like this:
https://<server>.webuntis.com/
To get your school's short name, you can press on the RSS-Feed button in the WebUntis substitution plan. The URL should look something like this:
https://<server>.webuntis.com/WebUntis/NewsFeed.do?school=<school>
To generate an ICS file, you need to make a GET request to the ICSUntis server with the following parameters:
server
: The full URL of your WebUntis server (including .webuntis.com if it isnt running on a custom domain)school
: The short name of your school in WebUntisusername
: Your WebUntis usernamepassword
: Your WebUntis password
Here is an example of a GET request:
http://<your-server-adress>:3979?server=<server>.webuntis.com&school=<school>&username=<username>&password=<password>