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

[Enhancement] Display Study Room Utilization Percentages using IRIS #288

Open
AntonMC-Github opened this issue Oct 15, 2024 · 1 comment · May be fixed by #289
Open

[Enhancement] Display Study Room Utilization Percentages using IRIS #288

AntonMC-Github opened this issue Oct 15, 2024 · 1 comment · May be fixed by #289
Assignees
Labels
enhancement Enhancement of existing feature

Comments

@AntonMC-Github
Copy link

Is your feature request related to a problem? Please describe.
Currently the Lernräume are already shown. The problem is, that rooms, where occupancy is determined via WIFI and thus provided as percentages, the APP can't handle that. Thus the room status is currently shown in App as unknown.

Describe the solution you'd like
The used IRIS API also sends out the utilization percentages as "percent". Using this datapoint, we can simply show this Percentage and color the percentage based on whether the percentage is above x percent (e.g. 0-50%: green, 51-75%: yellow, 76-100%: red)

Describe alternatives you've considered

  • Leaving it like it currently is -> Not very helpful
  • Using the percentage but showing it as "belegt" or "frei" based on whether the percentage is above x percent -> We have the data, we can also show it openly.
@jakobkoerber jakobkoerber self-assigned this Oct 15, 2024
@jakobkoerber jakobkoerber changed the title [Feature]Show utilization percentages for WAAS IRIS rooms [Enhancement] Display Study Room Utilization Percentages using IRIS Oct 15, 2024
@jakobkoerber jakobkoerber added enhancement Enhancement of existing feature invalid This doesn't seem right and removed invalid This doesn't seem right labels Oct 15, 2024
@jakobkoerber
Copy link
Member

jakobkoerber commented Oct 15, 2024

Hey @AntonMC-Github, thanks for your suggestion! 😄 We can happily integrate that. One question: which API/Endpoint are you refering to? I'm not able to read out percentages using https://www.devapp.it.tum.de/iris/ris_api.php?format=json 🤔

@jakobkoerber jakobkoerber linked a pull request Oct 15, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants