A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-ProfileSwitcher - Enter and Leave Messages
-
Hi everybody,
i am relative new to Magic Mirror and this Forum so please appologize if this questions was answered already elsewhere.
At the moment i am trying to use MMM-ProfileSwitcher and MMM-TouchNavigation to create a very simple touch navigation between different profiles. The switching works but i cannot disable the enter and leave messages for all profiles. Any ideas?My test configuration config.js
var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 24, units: "metric", modules: [ { module: "alert" }, { module: 'MMM-ProfileSwitcher', enterMessages: false, leaveMessages: false, }, { module: "MMM-TouchNavigation", position: "bottom_center", classes: "default everyone", config: { picturePlacement: "right", minWidth: "40px", buttons: { "default": { symbol: "ban" }, "Option1": { text: "Option1", // img can be a url or a local path. img: "https://forum.magicmirror.builders/uploads/profile/2349-profileimg.png", width: "40" }, "Option2": { text: "Option2", symbol: "paper-plane" } } } }, { module: "clock", classes: "everyone", position: "top_left" }, { module: "clock", classes: "default", position: "middle_center", config: { analogShowDate: false, displayType: "analog" } }, { module: "helloworld", classes: "Option2", position: "middle_center" }, { module: "helloworld", position: "top_right", classes: "Brian" } ] };
-
@radonk said in MMM-ProfileSwitcher - Enter and Leave Messages:
{ module: 'MMM-ProfileSwitcher', config: { enterMessages: false, leaveMessages: false, } },
You left out the config part