A module to show MagicMirror’s IPv4 Network Address
[card:fewieden/MMM-ip]

A module to show MagicMirror’s IPv4 Network Address
[card:fewieden/MMM-ip]

you can add something like .ip-font { font-size: 8px; } in custom.css and use this class for your displaying dom or create an own css file for your module because it’s only module related :)
one way would be a module with a node_helper something like
const NodeHelper = require('node_helper');
const exec = require('child_process').exec;
module.exports = NodeHelper.create({
socketNotificationReceived: function(notification, payload) {
if (notification === 'GET_IP') {
exec('host raspberrypi', (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
this.sendSocketNotification('IP', stdout);
});
}
}
});
stdout will be something like “raspberrypi has address 192.168.1.20”
it’s a physical button because you can define which pin it’s connected to on gpio in your module config :)
this one is just a virtual button https://github.com/masters1222/mm-hide-all
it is definitely possible to adopt those modules but it’s probably less effort to rewrite them from scratch
there is already a button module for mm2
https://forum.magicmirror.builders/topic/95/button
for voice control there are several people in this forum working on
https://forum.magicmirror.builders/topic/402/to-do-modules
https://forum.magicmirror.builders/topic/54/voice-motion-control/
https://forum.magicmirror.builders/topic/222/voice-control
can you provide links to those modules?
it’s a module so it should go in the modules directory MagicMirror/modules
well i looked in the repository and the author doesn’t say that you have to run the command npm install, so i don’t know why you are trying this?!