Skip to content

This project creates an iOS widget to monitor washing machines and dryers in CBS dorms using the Scriptable App. Moreover, the widget lets users check their current balance of their laundry tag.

License

Notifications You must be signed in to change notification settings

Niclaslach/CBSLaundryWidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBS Laundry Widget

This project creates an iOS widget to monitor washing machines and dryers in all CBS dorms using the Scriptable App.
Moreover, the widget lets users check their current balance of their laundry tag.

Features

  • See the status of laundry machines and dryers
  • Colour encoding quickly shows the status of the machines
    • Red: In use
    • Yellow: Soon to finish
    • Green: Machine ready / finished
  • Rings show progress of each machine
  • Display current balance of your laundr tag

All features are also explained in the graphic below:

Install the Widget

  1. Download Scriptable on the iOS App Store

  2. Create a new script inside Scriptable.

  3. Rename the script by clicking on its name in the top. (You might skip this step 😜)

  4. Copy the code for you dorm from HERE into the empty script.
    Options are:

    • Porcelaenshaven
    • Holger Danske Kollegiet
    • Nimbusparken
    • Kathrine kollegiet

    The file you are copying can be found under CBSLaundryWidget.js.

  5. Add the Scriptable widget to your homescreen (hold on an app until it shakes and click the "+" button on the upper left corner).
    The suggested size is small.

  6. Click on the newly created widget and select the newly created script.

  1. Optional: Under Parameter enter your username and password to see your current Saniva balance.
    The format should be <username>;<password>
    Example: 123;0000
  2. Optional: Change the setting When Interacting from Open App to Run Script to update the widget by clicking on it.

More Information

The variable dorm determines the dorm displayed. Insert your dorm name (in quotes, spelling important). Options are:

  • Porcelaenshaven
  • Holger Danske Kollegiet
  • Nimbusparken
  • Kathrine kollegiet

The script available on the website https://www.niclaslach.de/copyCBSLaundryWidgetCode changes this value automatically.

About

This project creates an iOS widget to monitor washing machines and dryers in CBS dorms using the Scriptable App. Moreover, the widget lets users check their current balance of their laundry tag.

Topics

Resources

License

Stars

Watchers

Forks