Skip to content

A MagicMirror² module that shows school lunch menus in Sweden from skolmaten.se.

License

Notifications You must be signed in to change notification settings

retroflex/MMM-Skolmaten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Skolmaten

A MagicMirror² module that shows school lunch menus in Sweden from www.skolmaten.se.

screenshot

Installation

  1. Clone repo:
 cd ~/MagicMirror/modules
 git clone https://github.com/retroflex/MMM-Skolmaten
  1. Install dependencies:
 cd MMM-Skolmaten
 npm install
  1. Add the module to the ~/MagicMirror/config/config.js, example:
  {
   module: 'MMM-Skolmaten',
   header: 'Furuhällskolan',
   position: 'bottom_right',
   config: {
    url: 'https://skolmaten.se/furuhallskolan/rss/'
   }
  },

Configuration

Using the https://skolmaten.se/furuhallskolan/rss/ URL will show lunch for the next seven days (including today).

You can choose how many days should be shown by using another URL, although I haven't tested that. More info here: https://skolmaten.se/about/rss/furuhallskolan/

Update

Go to the module’s folder inside MagicMirror modules folder and pull the latest version from GitHub and install:

cd ~/MagicMirror/modules/MMM-Skolmaten
git pull
npm install

Details

This module simply shows an RSS feed, with some limitations (which are not a problem with skolmaten.se):

  1. Hard coded to update RSS feed once an hour.
  2. Always shows all entries in the RSS feed.
  3. Hard coded in Swedish.

I still wanted to keep this as a separate module instead of a generic RSS module, too keep things simple and allow for future specific features.

To Do

Handle invalid URL's.

About

A MagicMirror² module that shows school lunch menus in Sweden from skolmaten.se.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published