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 (Toronto waste collection schedule)

    Scheduled Pinned Locked Moved Productivity
    69 Posts 16 Posters 57.6k Views 17 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
      j.e.f.f Project Sponsor Module Developer @twosquirrels
      last edited by

      @twosquirrels No it’s correct. It’s 3 weeks by date – this will show any and all pickup dates between now and three weeks from now. Three weeks from today is April 18, which is why you’re seeing all pickup days between now and April 18.

      twosquirrelsT 1 Reply Last reply Reply Quote 0
      • twosquirrelsT Offline
        twosquirrels @j.e.f.f
        last edited by

        @j.e.f.f

        Ohh right, number of weeks. I was thinking it was number of events. Makes sense!

        1 Reply Last reply Reply Quote 0
        • WayneRigleyW Offline
          WayneRigley
          last edited by

          OK, First off Jeff, thank you for this. i cloned and installed and ran the test file you had and everything is working perfectly. So i started to make my own Custom file exactly how you said and no matter what i still continue to get a “loading” so i switch back to your file and it works. I have no idea what im doing wrong.!0_1527603197851_Custom.jpg

          Wayne R

          twosquirrelsT 1 Reply Last reply Reply Quote 0
          • twosquirrelsT Offline
            twosquirrels @WayneRigley
            last edited by twosquirrels

            @waynerigley The screenshot of your google drive isn’t helpful, because the final result likely has leading/trailing blank spaces, or some other issue that prevents it from parsing correctly. Edit schedule_custom.csv directly at the command line on your raspberry pi.

            WayneRigleyW 1 Reply Last reply Reply Quote 0
            • WayneRigleyW Offline
              WayneRigley @twosquirrels
              last edited by

              @twosquirrels Thank you for the FAST reply… as im new to this please bare with me. im using putty and VNC and FIleZilla while using this. I made the excel on google and downloaded it to my laptop in CSV with the correct name. then filezilla to get it to the folder. can you give me a command to check what you need me to do. thanks in advance !

              Wayne R

              twosquirrelsT 1 Reply Last reply Reply Quote 0
              • twosquirrelsT Offline
                twosquirrels @WayneRigley
                last edited by twosquirrels

                @waynerigley

                In putty, once you ssh into your raspberry pi, do:

                cd /home/pi/MagicMirror/modules/MMM-MyWastePickup
                

                Then:

                sudo nano schedule_custom.csv
                

                You’re now viewing the contents of schedule_custom.csv. I don’t remember if it included a sample or not, but just edit/type/paste your data here. When done, press Control X to exit. It will ask to save, and say “Y” for yes. The contents of the file should look like my post above from 2 months ago.

                WayneRigleyW 1 Reply Last reply Reply Quote 0
                • WayneRigleyW Offline
                  WayneRigley @twosquirrels
                  last edited by

                  @twosquirrels said in MMM-MyWastePickup (Toronto waste collection schedule):

                  sudo nano schedule_custom.csv

                  Thank you for that, new tool for me to remember ! well take a look, it all looks ok to me…0_1527608436847_edit.png

                  Wayne R

                  twosquirrelsT 1 Reply Last reply Reply Quote 0
                  • twosquirrelsT Offline
                    twosquirrels @WayneRigley
                    last edited by twosquirrels

                    @waynerigley Remove the double quotes from your entire file. For example, it should look like this:

                    Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree
                    

                    Not this:

                    "Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree"
                    

                    Also, remove them from the beginning and end of all following lines.

                    WayneRigleyW 1 Reply Last reply Reply Quote 1
                    • WayneRigleyW Offline
                      WayneRigley @twosquirrels
                      last edited by

                      @twosquirrels HA guess what ! IT WORKED ! omg thank you so much ! Thank you Thank You Thank You.

                      Wayne R

                      twosquirrelsT 1 Reply Last reply Reply Quote 0
                      • twosquirrelsT Offline
                        twosquirrels @WayneRigley
                        last edited by twosquirrels

                        @waynerigley Great! As tiny as this module is, it’s one of the things I appreciate most about the magic mirror. There’s no API to depend on… just a plain old text file that I update once a year.

                        WayneRigleyW 2 Replies Last reply Reply Quote 0
                        • WayneRigleyW Offline
                          WayneRigley @twosquirrels
                          last edited by

                          @twosquirrels Yes, size dont matter its the quality and this is %100 Quality. its always a battle to check and get things out on time here being so busy. but now its in place its perfect ! Thank you so Much for your time. now to configure my timelines as our local dept just has a cal. no worries tho it will give me something to do now till the end of the day

                          Wayne R

                          1 Reply Last reply Reply Quote 1
                          • WayneRigleyW Offline
                            WayneRigley @twosquirrels
                            last edited by

                            @twosquirrels One question for you is; if Gargabe is being picked up on the 14th at am we put the garbage out on the 13th before bed. so should i put the date on the custom as 13th. only reason is i notice the text string showing “today” on the screen.

                            Wayne R

                            twosquirrelsT 1 Reply Last reply Reply Quote 0
                            • twosquirrelsT Offline
                              twosquirrels @WayneRigley
                              last edited by

                              @waynerigley The way the module is written, it wants to tell you the day that garbage is picked up. For me, I put the trash out the same morning as it’s picked up a couple hours later. So in my situation, it makes sense. For you, indeed setting all dates back one day would work. However, you might also want to clarify the header of the module for others reading it. For example, the default is:

                                header: 'Waste & Recycling',
                              

                              If you set all dates back, you may want to change it to:

                                header: 'When to put out Waste & Recycling',
                              
                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                imchrisrein
                                last edited by

                                Thanks for writing this one, it will be a big help for my girlfriend who just moved in. It took quite some time trying to figure out the code and then tailor it to my local schedule but it works and looks great. Toronto published their 2019 schedule online but the titles had spaces and the year format was wrong for some days.

                                0_1547080170109_Untitled.png

                                Wednesday = Paper recycling and big household pickup
                                Thursday = Garbage pickup
                                Monday = Garbage and glass/plastic recycling

                                Such a neat module - thanks again.

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  wizz
                                  last edited by

                                  Question about this module.
                                  Is it any way to change the icons as i got two trash bin that are in the same color and size the only difference is that one is marked with number 1 and the other number 2 and the collections is every
                                  Thursday and garbage can 1 on uneven week and garbage can 2 on even week so can these dates be entered manually? since in my area there is nothing for pickup published on the internet.

                                  Or is it some other modules like this that can do this ?

                                  1 Reply Last reply Reply Quote 0
                                  • twosquirrelsT Offline
                                    twosquirrels
                                    last edited by twosquirrels

                                    This has always been my most reliable and dead simple module. However, I reinstalled my raspberry pi yesterday and MMM-MyWastePickup no longer works. It sits at “Loading…” forever. I know how to edit the schedule.csv file as I’ve been doing it for over a year. It just refuses to work and I have no idea why.

                                    {
                                      module: 'MMM-MyWastePickup',
                                      position: 'top_left',
                                      header: 'My Waste Collection',
                                      config: {
                                        collectionCalendar: 'Custom'
                                      }
                                    },
                                    
                                    J StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                                    • J Offline
                                      j.e.f.f Project Sponsor Module Developer @twosquirrels
                                      last edited by

                                      @twosquirrels any errors show up either in the log or in Electron’s console?

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        MYLE-01
                                        last edited by MYLE-01

                                        Thanks alsum

                                        BUT took me 3 hours to get it going

                                        and it was me

                                        weeksToDisplay: 4 
                                         to 
                                        weeksToDisplay: "4"
                                        

                                        THANKS GUYS :clinking_beer_mugs:

                                        1 Reply Last reply Reply Quote 0
                                        • U Offline
                                          uppynz
                                          last edited by

                                          I’m loving this simple little module! I’m just trying to work out how I show only collections and not the blank days in between. I’ve tried adjusting the config variables but don’t seem to be getting the desired results. Ideally I only want to see the next two upcoming collections (what ever they may be)

                                          1_1564112903473_MM Waste.PNG 0_1564112903473_MM Waste CSV.PNG

                                          		module: 'MMM-MyWastePickup',
                                          		position: 'top_left',
                                          		header: 'Wheelie Bin Collections',
                                          		config: {
                                          			collectionCalendar: 'Custom'
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • StoffbeuteluweS Offline
                                            Stoffbeuteluwe Project Sponsor @twosquirrels
                                            last edited by

                                            @twosquirrels for me it works …

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • 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