Skip to content

A module for the MagicMirror to display the latest winning Wheel of Forture Spin IDs

License

Notifications You must be signed in to change notification settings

mlcampbe/MMM-SpinId

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module: MMM-SpinId

This MagicMirror modules, shows latest winning Wheel of Fortune spin ID numbers. If your spin ID happens to be a winner then it will be highlighted for you.

Magic-Mirror Module MMM-SpinId screenshot

Tested with:

  • Raspberry Pi

Dependencies

Installation

Navigate into your MagicMirror's modules folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/mlcampbe/MMM-SpinId

Navigate to the new MMM-SpinId folder and install the node dependencies.

cd MMM-SpinId/ && npm install

Configure the module in your config.js file.

Update the module

Navigate into the MMM-SpinId folder with cd ~/MagicMirror/modules/MMM-SpinId and get the latest code from Github with git pull.

If you haven't changed the modules, this should work without any problems. Type git status to see your changes, if there are any, you can reset them with git reset --hard. After that, git pull should be possible.

Using the module

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

modules: [
	{
		module: 'MMM-SpinId',
		position: 'top_center', // This can be any of the regions.
		config: {
                        header: "Wheel of Fortune Spin-IDs",
			updateInterval: 43200000, // every 12 hours
			mySpinId: " MCxxxxxx", // your WOF spin id
			winningColor: 'red', // color to use if you win
		},
	},
]

Configuration options

The following properties can be configured:

Option Description
updateInterval How often does the content needs to be fetched? (Milliseconds)
Possible values: 1000 - 86400000
Default value: 43200000 (12 hours)
mySpinId What Wheel of Fortune spin ID to check
Default value: XXXXXX (dummy value, must be set)
winningColor If your spin ID is a winner what color to use
Default value: red
displayStyle Display the output in a single line or as bullet points.
Possible values: line or list
Default value: line

About

A module for the MagicMirror to display the latest winning Wheel of Forture Spin IDs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published