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 49.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 @kruemel
      last edited by

      @kruemel For what it’s worth, I’ve just added official support for a custom schedule file. Check the README for instructions to do so. What you’ve done should and does work, but you risk having your schedule file overwritten if you update the module. With a quick tweak, you can have your schedule work within the new system and it won’t get overwritten when you update the module.

      I just pushed v1.3 to GitHub a few moments ago, so you’ll need to pull again.

      1 Reply Last reply Reply Quote 2
      • kruemelK Offline
        kruemel
        last edited by

        @j.e.f.f works as usual, thanks for your quick work :-)

        1 Reply Last reply Reply Quote 0
        • kruemelK Offline
          kruemel
          last edited by

          @j.e.f.f i have one more thing (just a detail):
          Week day shown correctly in german like “Donnerstag” but it shows “Tomorrow” instead of “Morgen”.
          Maybe this will also be “Today” instead of “Heute” but that i will know tomorrow ;-)

          Regards

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @kruemel
            last edited by

            @kruemel This should be fixed now. Do a pull for v1.4. Also run npm install as I updated Moment.js to resolve a security vulnerability.

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

              Yesterday, my pickup schedule looked like this:
              alt text

              Today, it looks like this:
              alt text

              Is there a way to have it always display the next 3 events? My waste pickup is weekly, but recycling is every 2 weeks and I’d like to always see when the next recycling pickup is.

              Thanks for another great module!

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @twosquirrels
                last edited by

                @twosquirrels Sure. I added a config parameter weeksToDisplay. Do a git pull to update. Set it to 3 for your use.

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

                  @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 Reply Quote 0
                  • 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 6 / 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