This is a module for the MagicMirror² that allows you to view your Picnic status, including
- Current basket
- Available delivery slots
- Current delivery (incl ETA)
- Recent deliveries
cd ~/MagicMirror/modules
git clone https://github.com/lavolp3/MMM-Picnic.git
cd MMM-Picnic
npm install
Add this configuration into config.js
file's
{
module: "MMM-Picnic",
position: "top_left",
config: {
email: "USER@EXAMPLE.COM",
password: "SECRET",
}
}
Go to the module’s folder inside MagicMirror modules folder and pull the latest version from GitHub and install:
git pull
npm install
Following (additional) configurations are possible.
Option | Description |
---|---|
email |
Required Email-address. |
password |
Required password. |
updateInterval |
How often the module should reload. Type: number in minutesDefault value: 5 |
maxSlots |
Number of delivery slots to show Type: integer Default value: 8 |
maxDeliveries |
Number of maximum recent deliveries to show. Type: integer Default value: 5 |
size |
Sizes to be used for the module. Use MagicMirror sizing notations here. Type: string Default value: small |
preferredTime |
Window of preferred time in which a delivery slot will be highlighted. Put in an array with numbers between 0 and 23, e.g. [18,20] if you prefer deliveries between 6 pm and 8 pm. Type: array Default value: [0,0] |