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.

    MMM-Pollen and MMM-Quote of the day

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 948 Views 2 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.
    • T Offline
      twwilkerson1
      last edited by

      Hello,
      I am having issues with both of the above modules. When I add them to the config/config.js file, my MM gives the error message about no config file. if I delete those lines, it goes back to working correctly. I am certain I am the one making a mistake, but I cannot figure it out. I am not a programmer or coder–just dabbling with the Pi. I have even just copied the maker’s code without adjusting for my location, and it still fails. Please help if you can.

      },
                     {
                             module: "MMM-Pollen",
                             position: "top_left",
                             header: "Pollen Forecast",
                             config: {
                                     updateInterval: 3 * 60 * 60 * 1000, // every 3 hours
                                     zip_code: "90210"
                             }
                      },
                      {
                          module: "MMM-quote-of-the-day",
                          position: "lower_third",
                          config: {
                              language: "en",
                              updateInterval: "1d"
                      	}
                      }
      
      
      T 1 Reply Last reply Reply Quote 0
      • T Offline
        twwilkerson1 @twwilkerson1
        last edited by

        @twwilkerson1 add this to my issue as well. Clearly I am bad at this. I get the same “no config file” error message when I tried to add the MMM-PIR-Sensor to my config/config.js file.

        //your code here
        ```               {
                                module: 'MMM-PIR-Sensor',
                                config: {
                                        sensorPin: 17,
                                        powerSaving: true // See 'Configuration options' for more information.
                        },
                }
                ]
        
        };
        
        

        Any advice is greatly appreciated.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @twwilkerson1
          last edited by Mykle1

          @twwilkerson1

          You’re missing a comma at the end of the “MMM-quote-of-the-day” entry and there is a comma out of place in the sensor entry. Everything else looks good. Try these please.

          {
              module: "MMM-Pollen",
              position: "top_left",
              header: "Pollen Forecast",
              config: {
                  updateInterval: 3 * 60 * 60 * 1000, // every 3 hours
                  zip_code: "90210"
              }
          },
          {
              module: "MMM-quote-of-the-day",
              position: "lower_third",
              config: {
                  language: "en",
                  updateInterval: "1d"
              }
          },
          {
              module: 'MMM-PIR-Sensor',
              config: {
                  sensorPin: 17,
                  powerSaving: true // See 'Configuration options' for more information.
              }
          },
          

          Create a working config
          How to add modules

          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