Skip to content

Configuration

Cédric edited this page Aug 20, 2020 · 3 revisions

Minimal Sample configuration

{
  module: 'MMM-Tools',
  position: 'top_right',
  config: {
    refresh: 1000 * 5,
    containerSize: null,
    itemSize: null
  }
},

Full Sample configuration

This is the default configuration defined if you don't define any value.
You can use it for a personalized configuration.
Of course, you can only add your personalized part !

{
  module: 'MMM-Tools',
  position: 'top_right',
  config: {
    refresh: 1000 * 5,
    containerSize: null,
    itemSize: null,
    OS: {
      displayOs: true,
      orderOs: 1
    },
    CPU: {
      displayUsage: true,
      orderUsage: 4,
      displayTemp: true,
      orderTemp: 7,
      displayType: true,
      orderType: 2
    },
    RAM: {
      displayRam: true,
      orderRam: 5
    },
    STORAGE: {
      displayStorage: true,
      orderStorage: 6,
      partitionExclude : []
    },
    NETWORK: {
      displayNetwork: true,
      orderNetwork: 3,
      nativeNetwork: false,
      displayDefaultNetwork: true
    },
    UPTIME: {
      displayUptime: true,
      useMagicMirror: true,
      orderUptime: 8,
      displayRecord: true,
      orderRecord: 9
    },
    WARNING: {
      enableWarning: false,
      interval: 1000 * 60 * 5,
      check : {
        CPU_TEMP : 65,
        CPU_USAGE : 75,
        STORAGE_USED : 80,
        MEMORY_USED : 80,
      }
    }
  }
},

For description of any features, please read Configuration Structure

Clone this wiki locally