Devpost

Inspiration

We wanted to build something that would be of immediate use and could help students that want to develop applications interface with data from RIT. We are both active members in the RIT FOSS community and wanted to make something that other students can use and build on top of. Also, MLH was giving away Arduino Uno Qs the day of so we were wanting to do something with it so that people competing could use these the same way we did.

What does it do?

RIT SDK is a series of connectors, endpoints and playwright automations that is able to pull data from many different services that RIT has. We are able to pull data from the following sources and display them in homeassistant:

  • Tripshot Live bus locations and arrival times
  • myCourses assignment calendar
    • Due dates of every assignment, quiz, homework, exam and finals
  • Provides deployment infrastructure to host smarthome daskboards locally

This submission contains a ansible playbook to push and deploy to a arduino uno q or other docker linux host to setup homeassistant and the SDK itself.

How did we do this?

A good amount of this hackathon was spend brainstorming what websites and services would have data that would be valuable to students and if we could be able to pull in 24 hours. We went through each of them and evaluated their feasibility and difficulty required to interface with each one and if we would be able to write an automation and extract data from the website or if it had a API that was not directly advertised or in any other way was too difficult or not possible to complete.

We had also looked into the arduino uno q and found that it can easily run docker containers like homeassistant while still having the split functionality of an arduino.

Challenges we had

While evaluating the mycourses calendar feeds, we noticed it took a while to download the .ics file after clicking download on the website. When we went to add the remote calendar to homeassistant and it timed out after 5 seconds. This aparently was a known issue with the stable branch of homeassistant. We found out it took about 8 seconds for mycourses/brightspace ec2 instance to return the calendar with all the events We were able to switch to the dev branch and re-deploy docker which solved this.

Some of the APIs, we were unable to figure out the auth chain as RIT's authentication of shiboleth and/or SAML did not work as RIT does not provide these keys to students. It would theoretically be possible to request API keys for some but we would likely not get a response back to make it usable in 24 hours. This was mainly with the EMS Outlook plugin API used for room availability and reservations.

Getting tripshot required advanced javascript injection into the page because the playwright selectors were not allowing us to select the elements we needed.

Sheer scope of this project was very large.

Accomplishments that we're proud of

The fact that the main controller can run on a arduino uno q is very cool. Also that we did not need to use AI it any part of this project and that when we tried it as a theoretical of "oh ill see if the AI can figure it out before me" it didn't and was very far behind.

What we learned and now know

RIT has lots of proprietary software vendors that they use and a lot of them have their own documentation and separate auth that RIT provides a sign-off proxy for. This means that you would normally auth through rit or SAML and you would then get a tempory api key.

There are other good opensource projects that we can combine like tigerdine that are also able to pull data from RIT websites and display it more easily.

Future Improvements for RIT SDK

We considered adding mcp integration and/or voice assistant so that users can ask vocally what things they have to work on, order food, and other smart home tasks with homeassistant.

We would like to add more push/write features from the SDK enabling us to do thngs like send print jobs to a printer, submit tickets and repair/maitnence requests to help.rit.edu and others.

We optionally wanted to query mycourses content on behalf of a user so that they can have everything from their courses in one place and one folder.

Some of the sites that we had considered interacting with but decided not to during this hackathon are listed below:

  • RIT EMS Outlook API - Auth API too complex
    • There is actually 2 different APIs with different auth methods OUSIDE of the web app
  • ServiceNow/help.rit.edu - Significant amount of work or API keys from RIT required
  • Placing orders with OnDemand/Agylisis
    • NO dev enviroment, testing possible but limited because nothing is open late on a Saturday
    • This website sucks
  • Papercut printing - Cut due to time
  • Tigerdine dining and visiting chef information - Cut due to time ## AI Usage In this project, NO AI was used to generate software or design any of this submission. Local AI models were used experimentally as a debug tool to find the cause of errors while we did aswell. We were able to find and resolve errors like HA calendar timeout faster than the AI could and decided not to use them.

Built With

Share this project:

Updates

Submission history