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-MyWastePickup date problem

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    18 Posts 7 Posters 3.4k Views 7 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.
    • J Offline
      JohndB @MyMirror
      last edited by

      @mymirror
      correct without “Custom” in the beginning of each line.

      My first lines;
      9b563315-ff0b-4be2-8048-cd2b829aedc1-image.png

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MyMirror @JohndB
        last edited by

        @johndb

        Did not work on my site:
        Just shows “Loading …”

        My modules/MMM-MyWastePickup/schedule_custom.csv :

        WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree
        02/09/22,0,1,0,0,0
        02/10/22,0,0,1,0,0
        03/02/22,0,1,0,0,0
        03/09/22,0,1,0,0,0
        03/10/22,1,0,0,0,0
        

        But on github (https://github.com/jclarke0000/MMM-MyWastePickup) is following:
        Using Your Own Custom Schedule
        If you live outside of Toronto and you’d like to use this module, you can create your own schedule to use with this module.

        First, in your config specify collectionCalendar: ‘Custom’.
        Create a CSV based on the following template:
        Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree
        Custom,03/07/18,1,0,1,0,0
        Custom,03/14/18,1,1,1,0,0
        Custom,03/21/18,1,0,1,0,0
        Custom,03/28/18,1,1,1,0,0
        Add lines for each pickup date as needed

        I did so before Bullseye and everything was fine.
        Now with Bullseye, MM 2.18 and new node, npm i have a problem.

        Ideas?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mr_cd @MyMirror
          last edited by

          @mymirror have you already found a solution?

          S M 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @mr_cd
            last edited by sdetweil

            @mr_cd can u show the config section from config.js?

            the code checks

            this.config.collectionCalendar
            
              this.scheduleCSVFile = this.path + "/schedule.csv";
            
                this.scheduleCustomCSVFile = this.path + "/schedule_custom.csv";
            

            if not found it sets to look for

            var scheduleFile = this.scheduleCSVFile;
                  if (payload.collectionCalendar == "Custom") {
                    scheduleFile = this.scheduleCustomCSVFile;
                  }
            
            

            if you don’t have the collectionCalendar set
            then it will use “schedule.csv”;

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MyMirror @mr_cd
              last edited by

              @mr_cd

              Not really. I took another module for now. Here I have no foliage or Christmas trees, but until that applies, it still takes a little.

                              {
                                      module: 'MMM-MyGarbage',
                                      position: 'top_left',
                                      header: 'Müllabfuhr',
                                      config: {
                                              alert: 4,
                                              weeksToDisplay: 2,
                                              limitTo: 99,
                                              fade: true,
                                              dateFormat: "dddd D MMMM",
                                              fadePoint: 0.25
                                      }
                              },
              

              Waste.png

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • 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