Skip to content

About

Uses the affluences API to show the occupancy rate of a place

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

MMM-affluences

Uses the affluences API to show the occupancy rate of a place

Example of MMM-Template

Installation

Install

In your terminal, go to your MagicMirrorÂē Module folder and clone MMM-affluences:

cd ~/MagicMirror/modules
git clone https://github.com/kahllenny/MMM-affluences

Update

cd ~/MagicMirror/modules/MMM-affluences
git pull

Using the module

To use this module, add it to the modules array in the config/config.js file:

		{
			module: "MMM-affluences",
			position: "top_left", 
			config: {
				token: "" //insert your token here
			}
		},

To find your token, inspect the webpage where an Affluences integration is hosted and look for the data-token attribute

A full config looks like this

		{
			module: "MMM-affluences",
			position: "top_left", 
			config: {
				token: "ipPTbBm3K8JGTx",
				forecastCount: 3,
				grayscale: false,
				lang: "de",
				dataTitleOverride: true,
				dataTitleOverrideString: "SLUB"
			}
		},

Configuration options

Option Possible values Default Description
token string Identifier of the affluences location
forecastCount number 0 Shows the forecasts of the next time slots (only up to 5 possible)
grayscale boolean false Enables grayscale
lang string en Changes the language to de, en, es, fr, it
dataTitleOverride boolean false Enables title override
dataTitleOverrideString string Changes the title

About

Uses the affluences API to show the occupancy rate of a place

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages