This MagicMirror modules allows you to show your processor temperature on you mirror. Currently it only works with a Raspberry Pi.
In your terminal, go to your MagicMirror's Module folder:
cd ~/MagicMirror/modules
Clone this repository:
git clone https://github.com/MichMich/mmm-systemtemperature.git
Configure the module in your config.js
file.
To use this module, add it to the modules array in the config/config.js
file:
modules: [
{
module: 'mmm-systemtemperature',
position: 'top_center', // This can be any of the regions.
classes: 'small dimmed', // Add your own styling. Optional.
config: {
// See 'Configuration options' for more information.
}
}
]
The following properties can be configured:
Option | Description |
---|---|
prependString |
The text that will be shown before the temperature.
Default value: 'System temperature: '
|
updateInterval |
How often does the content needs to be fetched? (Milliseconds)
Possible values: 1000 - 86400000
Default value: 5000 (5 seconds)
|
animationSpeed |
Speed of the update animation. (Milliseconds)
Possible values: 0 - 5000
Default value: 0 (animation off)
|
unit |
Temperature unit of measurement
Possible values: c (Celsius), f (fahrenheit), k (Kelvin)
Default value: c (Celsius)
|