Skip to content
This MagicMirror module shows the menu including the prices of canteens from universities in germany and switzerland (based on openmensa.org).
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

MMM-Canteen (Updated on 20 Dez 2019)

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"
You can’t perform that action at this time.