EXT-Internet
This module allow check your internet connexion, display ping.
It can inform if connexion is lost.
This module is an Extented plugins for
MMM-GoogleAssistant
In addition, you can use EXT-Alert plugin, for display some information or error on your screen (Optional)
Clone the module into your MagicMirror module folder and execute npm intall
in the module's directory.
cd ~/MagicMirror/modules
git clone https://github.com/bugsounet/EXT-Internet
cd EXT-Internet
npm install
To display the module insert it in the config.js file.
{
module: 'EXT-Internet',
position: 'top_left',
config: {
debug: false,
displayPing: true,
delay: 30 * 1000,
scan: "google.fr",
showAlert: true,
needRestart: false
}
},
field description type default value debug Enable or not debug mode BOOLEAN false displayPing Display the ping value on the screen BOOLEAN true delay Set the interval for internet checking NUMBER 2* 60 * 1000 scan Ping point name or address STRING google.fr showAlert Show or not the Alert about internet connection lost ( EXT-Alert
needed)BOOLEAN true needRestart Restart your MagicMirror BOOLEAN false
This module broadcasts:
EXT_INTERNET-UP
notification when your internet connexion is available againEXT_INTERNET-DOWN
notification when you lost your internet connexionWith this dual notification, you can make a pause of your module and revive it
cd ~/MagicMirror/modules/EXT-Internet
npm run update