Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

A Magic Mirror 2 module to display lunch menues from Sodexo

License

Notifications You must be signed in to change notification settings

Alvinger/MMM-Koket-by-Sodexo

Repository files navigation

MMM-Koket-by-Sodexo

A MagicMirror² module that shows school lunch menus in Sweden from Köket by Sodexo (sodexo.mashie.com/public/app).

THIS MODULE IS DEPRECATED

Köket by Sodexo uses the Mashie app. Mashie provides lunch menus for many suppliers. Therefore this module is deprecated and replaced by MMM-Mashie-Skolmat (https://github.com/Alvinger/MMM-Mashie-Skolmat). It is only a name change, the functionality and code is exactly the same but further developments will only be done on MMM-Mashie-Skolmat.

To migrate to MMM-Mashie-Skolmat, install the new module and change "MMM-Koket-by-Sodexo" to "MMM-Mashie-Skolmat" in the config.js file.

Installation

  1. Clone repo:
	cd MagicMirror/modules/
	git clone https://github.com/Alvinger/MMM-Koket-by-Sodexo
  1. Install dependencies:
	cd MMM-Koket-by-Sodexo/
	npm install
  1. Add the module to the ../MagicMirror/config/config.js, example:
		{
			module: 'MMM-Koket-by-Sodexo',
			header: 'Norra real',
			position: 'bottom_right',
			config: {
				days: 1,
				url: 'https://sodexo.mashie.com:443/public/icalendar/St%20Eriks%20gymnasium/6639b607.ics'
			}
		},

Configuration

By default the module will show lunch menu for today (or next day if no entry for today).

You can choose how the many days should be shown by setting the parameter "days" to the number of days to be shown. If "days" are set to 1 and no menu item exists for today, the module will try to show tomorrow's menu.

Getting the correct URL

Go to the Köket by Sodexo web app (https://sodexo.mashie.com/public/app) and search for your school. Click on the school to see the current menu Right-click on "Calendar" in the left hand menu and copy the hyperlink. Replace "webcal" with "https" and use the result as the URL in the configuration.

About

A Magic Mirror 2 module to display lunch menues from Sodexo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published