MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    The screen starts to flickering every 10 seconds every time i use this modules

    Scheduled Pinned Locked Moved Bug Hunt
    1 Posts 1 Posters 322 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      NicolasJorquera
      last edited by

      [config.js es bellow]
      Im working with this 3rd party modules: MMM-Spotify, MMM-GmailFeed, MMM-Screencast, MMM-MotionDetector. I must say that i also configure the auto start magic mirror.
      Ive tried to put those modules together like three times and every time ive got the same error, my screen starts to blink every 10 seconds approximately (but once i have restarted the raspberry pi 4).
      At first i thought that it might be the screen but then ive tried with others and stays the same.
      The last time ive tried to go and install just one module at a time and wait for it to fail (this time I got to install and use in the config file this modules: MMM-Spotify, MMM-MotionDetector (i must say that i also do not install the auto starting magic mirror thing)), and in that way try to identify the module that its causing the mal functioning, but then i realize that i can ask you guys cause if it fails i will have to install every this again.
      I have suspicions about the auto starting magic mirror cause this starts to fail when i restart the raspberry pi 4.
      I also must say that everything works fine, its just the screen issue.
      Some passwords and id have been erased.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw https://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information on how you can configure this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      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 or empty, is "localhost"
       port: 8080,
       basePath: "/",  // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
           // you must set the sub path here. basePath must end with a /
       ipWhitelist: [],  // 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"],
      
       useHttps: false,   // Support HTTPS or not, default "false" will use HTTP
       httpsPrivateKey: "",  // HTTPS private key path, only require when useHttps is true
       httpsCertificate: "",  // HTTPS Certificate path, only require when useHttps is true
      
       language: "es",
       logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
       timeFormat: 24,
       units: "metric",
       // serverOnly:  true/false/"local" ,
       // local for armv6l processors, default
       //   starts serveronly and then starts chrome browser
       // false, default for all NON-armv6l devices
       // true, force serveronly mode, because you want to.. no UI on this device
      
       modules: [
         {
         module: "MMM-Spotify",
         position: "top_bar",
         config: {
           debug: false,
         }
          },
        {
         module: "alert",
        },
        {
         module: "updatenotification",
         position: "top_bar"
        },
        {
         module: "clock",
         position: "top_left",
         config: {
          displaySeconds: false,
         }
        },
        {
           module: 'MMM-GmailFeed',
           position: 'top_left',
           config: {
         username: '',
         password: '',
         updateInterval: 30000,
         maxEmails: 5,
         maxSubjectLength: 20,
         maxFromLength: 10,
         playSound: true,
         autoHide: true,
         displayMode: "table",
           }
          },
        {
           module: 'MMM-GmailFeed',
           position: 'top_left',
           config: {
         username: '',
         password: '',
         updateInterval: 30000,
         maxEmails: 5,
         maxSubjectLength: 20,
         maxFromLength: 10,
         playSound: true,
         autoHide: true,
         displayMode: "table",
           }
          },
        
        {
           module: "currentweather",
           position: "top_right",
           config: {
         location: "Viña del Mar",
         locationID: "3868121", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
         appid: ""
           }
          },
          
          {
           module: "weatherforecast",
           position: "top_right",
           header: "Pronóstico del clima",
           config: {
         location: "Viña del Mar",
         locationID: "3868121", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
         appid: ""
           }
        },
        {
           module: "newsfeed",
           position: "bottom_bar",    // This can be any of the regions. Best results in center regions.
           config: {
         // The config property is optional.
         // If no config is set, an example calendar is shown.
         // See 'Configuration options' for more information.
      
         feeds: [
          {
           title: "Internacional",
           url: "https://www.elmostrador.cl/noticias/mundo/feed/",
          },
         {
           title: "Chile",
           url: "https://www.elmostrador.cl/destacado/feed/",
          },
          {
           title: "Ciencia",
           url: "https://www.investigacionyciencia.es/rss/noticias",
          },
          {
           title: "Tecnología",
           url: "https://es.digitaltrends.com/noticias/feed/",
          },
      
         ],
          showSourceTitle: true,
          showPublishDate: true,
          broadcastNewsFeeds: true,
          broadcastNewsUpdates: true,
          showDescription: true,
          updateInterval: 15000
           },
          },
          {
            module: 'MMM-Screencast',
            position: 'lower_third', // This position is for a hidden <div /> and not the screencast window
            config: {
          position: 'middle',
          height: 1050,
          width: 1280,
            }
           },
          {
           module: "MMM-MotionDetector",
           //position: "lower_third", // Optional. This can be any of the regions. Displays debug informations.
           config: {
          timeout: "60000",
           },
          },
       ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy