Magic Mirror Module - A module for Magic Mirror that displays the amount of hours a user on steam has spent the last days.
⚠️ This module requires to be run for at least 2 days before it displays anything relevant It will save data in the modules folder under a data/-directory
- Clone repository into
../modules/
inside your MagicMirror folder. - Run
npm install
inside theMMM-SteamPlaytime
folder. - Get an API-key from Steam here.
- Get the steamID64 for the user you want to track here.
- Add the module to the Magic Mirror config.
{
module: "MMM-SteamPlaytime",
position: "top_left",
header: "Time spent on games",
config: {
apiKey: <apikey for steam>,
steamId: <steamid64 for user>
}
},
- Done!
apiKey
: The API-key to use, required, see Installation instructionssteamId
: The SteamID64 for the user to track, required, see Installation instructionsdaysCount
: The amount of previous days to display, defaults to 5gamesCount
: The maximum amount of games to display per day, defaults to 5excludeGames
: An array of appids that should be excluded from being displayed (e.g [570] excludes Dota 2), default is []updateTime
: The time of day when the data should be fetched for the previous day, defaults to "00:00" (midnight) in the format of "HH:mm"language
: The language to use for time formatting, defaults to MagicMirror default