• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 47.1k 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.
  • T Offline
    twosquirrels @j.e.f.f
    last edited by Mar 28, 2018, 3:50 PM

    @j.e.f.f

    Wow, that was fast! Thanks!

    I believe I have it setup right, but it looks like it’s giving me +1 than what I’m asking for, perhaps because it’s not including tomorrow?:

    Setting ‘2’ gives me 3 total:
    alt text

    Setting ‘3’ gives me 4 total:
    alt text

    J 1 Reply Last reply Mar 28, 2018, 3:55 PM Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @twosquirrels
      last edited by Mar 28, 2018, 3:55 PM

      @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.

      T 1 Reply Last reply Mar 28, 2018, 4:32 PM Reply Quote 0
      • T Offline
        twosquirrels @j.e.f.f
        last edited by Mar 28, 2018, 4:32 PM

        @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
        • W Offline
          WayneRigley
          last edited by May 29, 2018, 2:17 PM

          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

          T 1 Reply Last reply May 29, 2018, 2:36 PM Reply Quote 0
          • T Offline
            twosquirrels @WayneRigley
            last edited by twosquirrels May 29, 2018, 2:39 PM May 29, 2018, 2:36 PM

            @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.

            W 1 Reply Last reply May 29, 2018, 2:39 PM Reply Quote 0
            • W Offline
              WayneRigley @twosquirrels
              last edited by May 29, 2018, 2:39 PM

              @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

              T 1 Reply Last reply May 29, 2018, 3:38 PM Reply Quote 0
              • T Offline
                twosquirrels @WayneRigley
                last edited by twosquirrels May 29, 2018, 3:38 PM May 29, 2018, 3:38 PM

                @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.

                W 1 Reply Last reply May 29, 2018, 3:40 PM Reply Quote 0
                • W Offline
                  WayneRigley @twosquirrels
                  last edited by May 29, 2018, 3:40 PM

                  @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

                  T 1 Reply Last reply May 29, 2018, 3:53 PM Reply Quote 0
                  • T Offline
                    twosquirrels @WayneRigley
                    last edited by twosquirrels May 29, 2018, 3:54 PM May 29, 2018, 3:53 PM

                    @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.

                    W 1 Reply Last reply May 29, 2018, 3:59 PM Reply Quote 1
                    • W Offline
                      WayneRigley @twosquirrels
                      last edited by May 29, 2018, 3:59 PM

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

                      Wayne R

                      T 1 Reply Last reply May 29, 2018, 4:10 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      • 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