IPv4/IPv6 Network Address Module for MagicMirror2
- An installation of MagicMirror2
- OPTIONAL: Voice Control and MMM-Modal
- Clone this repo into
~/MagicMirror/modules
directory. - Configure your
~/MagicMirror/config/config.js
:
{
module: 'MMM-ip',
position: 'bottom_right', // Remove the position if you want to run the module in voice only mode
config: {
// all your config options, which are different than their default values
}
}
Option | Default | Description |
---|---|---|
fontSize |
9 |
Font size in pixels. |
dimmed |
true |
Boolean for discrete visibility |
families |
['IPv4', 'IPv6'] |
Array of network address families to display. Possible values in the array are: 'IPv4' and 'IPv6' . |
types |
['eth0', 'wlan0'] |
Array of network interface types to display. Check the types of your network cards in the logs. They get logged on MagicMirror start. |
updateInterval |
300000 (5 mins) |
How often should the network interface list be updated in milliseconds? |
This module supports voice control by MMM-voice and MMM-Modal. In order to use this feature, it's required to install the voice and modal modules. There are no extra config options for voice control and modals needed.
The voice control mode for this module is NETWORK
- OPEN HELP -> Shows the information from the readme here with mode and all commands.
- CLOSE HELP -> Hides the help information.
- SHOW INTERFACES -> Shows network interfaces based on config options with mac addresses.
- HIDE INTERFACES -> Hide network interfaces.
npm run lint
- Lints JS and CSS files.npm run docs
- Generates documentation.