Skip to content

This MagicMirror module shows the menu including the prices of canteens from universities in germany and switzerland (based on openmensa.org API).

License

Notifications You must be signed in to change notification settings

k-0/MMM-Canteen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Canteen (Updated on 03 March 2020)

MMM-Canteen is a module for the MagicMirror project.

It shows the the menu including the prices of canteens from universities in germany and switzerland (based on openmensa.org).

Screenshot

Installation

Clone the module into your MagicMirror module folder.

git clone https://github.com/k-0/MMM-Canteen.git

Configuration

To display the module insert it in the config.js file. Here is an example:

{
    module: 'MMM-Canteen',
    position: 'bottom_center',
    config: {
        canteenName: 'Mensa am Park',
        updateInterval: 600000,     
        canteen: 63,                        
        status: "employees",               
        truncate: 100,                                      
        switchTime: "16:00"                
    }
}

Option Description Type Default
updateInterval Interval to update data Integer 600000 (= 10 minutes)
canteen ID from the openmensa.org url Integer 63 (= Mensa am Park, Uni Leipzig)
status Your status ["employees", "students", "pupils", "others"] String "employees"
truncate Truncate more than x letters Integer 100
debug Debugging Boolean false
canteenName Name of the canteen String "Mensa am Park"
switchTime Shows the menu from next day, if switchTime < now Timestamp (HH:mm) "16:00"

About

This MagicMirror module shows the menu including the prices of canteens from universities in germany and switzerland (based on openmensa.org API).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published