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-MyGarbage

    Scheduled Pinned Locked Moved Utilities
    62 Posts 28 Posters 42.5k Views 30 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.
    • R Offline
      RdP @htilburgs
      last edited by

      @htilburgs

      Yes works like a charm…

      Thank you

      htilburgsH 1 Reply Last reply Reply Quote 0
      • htilburgsH Offline
        htilburgs @RdP
        last edited by

        @RdP, great it worked out for you!

        (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

          This is great! It’s since replaced MMM-MyWastePickup as that no longer works .

          1 Reply Last reply Reply Quote 0
          • M Offline
            mistered
            last edited by

            Hi guys i know this is an old topic but maybe i can get an answer anayway

            i want 4 bins but just adding a color and and a 1 or 0 in the csv file does not work

            1 Reply Last reply Reply Quote 0
            • M Offline
              mistered
              last edited by

              ok got it to work now

              1 Reply Last reply Reply Quote 0
              • K Offline
                kalin
                last edited by

                Hello guys!
                could anyone help and check what is wrong with my configuration of this module? Under the title I have only message: loading
                My configuration looks like:
                {
                module: ‘MMM-MyGarbage’,
                position: ‘bottom_left’,
                header: ‘My Garbage Calendar’,
                config: {
                alert: 3,
                weeksToDisplay: 2,
                limitTo: 99,
                fade: true,
                dateFormat: “dddd”,
                fadePoint: 0.25
                }
                },

                1 Reply Last reply Reply Quote 0
                • R Offline
                  ReD1470
                  last edited by

                  Hey there,

                  Great work on this module. But you say you are not an experienced programmer? well, compared to me…
                  not to sound lazy, but any change you could convert from csv to json query like thingy?
                  as seen on the home automation sites, people query http://json.mijnafvalwijzer.nl/?method=postcodecheck&postcode=&street=&huisnummer=&toevoeging=&platform=phone&langs=nl&

                  and get the results needed
                  (https://community.home-assistant.io/t/garbage-pickup-date-mijnafvalwijzer-nl-custom-component/34631/12)

                  please be honest, no is also an answer and I would completely understand.
                  … but i thought you might like a challenge ;-)

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lodam @htilburgs
                    last edited by

                    @htilburgs : thanks a lot for this module !
                    this is super useful and well done.

                    I would like to change color for bins, i did the custom.css file and restarted MM2 but that does not change.
                    Do i have to do something else ?

                    thanks a lot for your help.

                    Here you can file a translation for French if this could help :
                    {
                    “GARBAGEENTRIESLEFT”: “Il reste {entriesLeft} dates dans le calendrier des ordures”,
                    “REMEMBERADDINGPICKUPS”: “Veuillez ajouter de nouvelles dates pour l’utiliser”
                    }

                    REBR 1 Reply Last reply Reply Quote 0
                    • REBR Offline
                      REB @lodam
                      last edited by

                      @lodam said in MMM-MyGarbage:

                      @htilburgs : thanks a lot for this module !
                      this is super useful and well done.

                      I would like to change color for bins, i did the custom.css file and restarted MM2 but that does not change.
                      Do i have to do something else ?

                      You can change the colour of the bin icons in the garbage_schedule.csv file like so. The top row defines the colour of the icons. In my case below they are green, dark grey and light blue.

                      WeekStarting,#00FF00,#D3D3D3,#87CEEB
                      03/31/20,0,0,1
                      04/07/20,0,1,0
                      04/14/20,0,0,1
                      04/21/20,0,1,0
                      04/28/20,0,0,1
                      05/05/20,0,1,0
                      
                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        lodam
                        last edited by

                        thanks for your help @REB but in my case, i have
                        "WeekStarting,GreenBin, GarbageBin, Paperbin,

                        …

                        So i guess i have to change that somewhere else ;)

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          lodam
                          last edited by

                          oups so sorry, i misunderstood…

                          You are 100% right, i just changed and did the same as you did.

                          thanks a lot !

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            Sezer84
                            last edited by

                            Hallo leute ,ich weiss das ist ziemlich alt das thema aber ich habe es jetzt erst endeckt.
                            ich habe dieses modul installiert wie es beschrieben wurde aber es zeigte erst nur eine tonne und heute zeigt er zwei. und die farbe gelb ,orange, blau und braun brächte ich für deutschland.wie kriege ich es hin vier tonnen in den gewünschten farben hinzukriegen.
                            bedanke mich im vorraus.

                            Feedy88F 1 Reply Last reply Reply Quote 0
                            • Feedy88F Offline
                              Feedy88 @Sezer84
                              last edited by

                              @Sezer84
                              Öffne deine garbage_shedule.csv und ersetze die Farben in der Kopfzeile, entweder durch andere Farben oder durch Hex-Codes. Für Gelb und Blau finde ich die Standardwerte gut, für Braun habe ich den code genommen: #663300. Orange nutze ich nicht, statt dessen Grau mit Codierung #7d7d7d.

                              Die Hex-Codes kannst du hier finden. Einfach ne Farbe aussuchen und den Wert mit der # Aufschreiben. Die CSV sollte am Ende dann so ähnlich aussehen:

                              WeekStarting,#7d7d7d,yellow,#663300,blue
                              07/20/20,1,1,0,0
                              07/27/20,0,0,1,1
                              08/03/20,1,1,0,0
                              …

                              VG

                              1 Reply Last reply Reply Quote 0
                              • Feedy88F Offline
                                Feedy88
                                last edited by

                                Guys, I would need some help with this module. I understood that currently the Trash-Icon is hard-coded in the module folder and embedded into the JS. I would like to know if it is possible to add a second (potentially third) icon which shall be used. Background: In my city we have Pickup always on the same Weekday, unless there is s a bank holiday. For this instances I would like to add a red exclamation mark to the pickup row. I can work with a red Trash Icon as a quick fix but would be great to find a neater solution.

                                Thanks in advance.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Cetax
                                  last edited by

                                  Hi, is it possible to integrate the module into the standard calendar, which is on the top left?
                                  I have both of my google calendars there and do not want a second view.
                                  I hope I understand what I mean …

                                  greeting
                                  Stefan

                                  1 Reply Last reply Reply Quote 0
                                  • Feedy88F Offline
                                    Feedy88
                                    last edited by

                                    @Cetax
                                    it is not possible to integrate the module right away. What you can do, is to create a local ical file, store in on your device running the magic mirror and call if via localhost. However, this would only help you to display the day of pickup, no different colors for what bins are being picked up.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rkvant
                                      last edited by

                                      Hello. I only get “loading” on my MagicMirror. When I start up I get this error. Im a beginner and have no clue what’s wrong. Hope someone can help me:)

                                      [2020-11-25 15:42:57.385] [ERROR] CsvError: Invalid Record Length: header length is 4, got 1 on line 58
                                      at Parser.__onRow (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_modules/csv-parse/lib/index.js:636:15)
                                      at Parser.__parse (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_modules/csv-parse/lib/index.js:527:40)
                                      at Parser._flush (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_modules/csv-parse/lib/index.js:352:22)
                                      at Parser.prefinish (_stream_transform.js:140:10)
                                      at Parser.emit (events.js:200:13)
                                      at prefinish (_stream_writable.js:633:14)
                                      at finishMaybe (_stream_writable.js:641:5)
                                      at endWritable (_stream_writable.js:661:3)
                                      at Parser.Writable.end (_stream_writable.js:592:5)
                                      at parse (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_modules/csv-parse/lib/index.js:946:12) {
                                      code: ‘CSV_INVALID_RECORD_LENGTH_DONT_MATCH_COLUMNS’,
                                      column: ‘#FFFF00’,
                                      empty_lines: 0,
                                      header: false,
                                      index: 1,
                                      invalid_field_length: 0,
                                      quoting: false,
                                      lines: 58,
                                      records: 56,
                                      record: [ ‘’ ]
                                      }

                                      JerryPJ 1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        crush
                                        last edited by

                                        Hello folks, this tool (module) works great for two month. Last week i did an update on a different module (MMM-Remote-Control) and since then MMM-MyGarbage isn’t working anymore. I tried a fresh install but it only shows “Lade …” (Loading …). Anybody a solution?

                                        L 1 Reply Last reply Reply Quote 0
                                        • SandrikS Offline
                                          Sandrik
                                          last edited by

                                          Hi there! The Download Link doesn´t work for me, where can i get the Module?

                                          JerryPJ 1 Reply Last reply Reply Quote 0
                                          • JerryPJ Offline
                                            JerryP @Sandrik
                                            last edited by

                                            @Sandrik
                                            https://github.com/htilburgs/MMM-MyGarbage

                                            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
                                            • 2 / 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