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
    60 Posts 28 Posters 40.8k Views 29 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.
    • 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
                                  • JerryPJ Offline
                                    JerryP @rkvant
                                    last edited by

                                    @rkvant

                                    edit: /home/pi/MagicMirror/modules/MMM-MyGarbage/garbage_schedule.csv
                                    your must edit i’t on de mirror self. not bij Excel or notepad

                                    and i’t looks like this

                                    WeekStarting,green,gray,blue,orange
                                    11/18/20,0,1,0,1
                                    11/25/20,1,0,0,0
                                    12/02/20,0,1,0,0
                                    12/09/20,1,0,0,0
                                    12/16/20,0,1,0,1
                                    12/23/20,1,0,0,0
                                    12/30/20,0,1,0,0
                                    01/06/21,1,0,0,0
                                    01/13/21,0,1,0,1
                                    01/20/21,1,0,0,0
                                    01/27/21,0,1,0,0
                                    02/03/21,1,0,0,0
                                    02/10/21,0,1,0,1
                                    02/17/21,1,0,0,0

                                    I’m from holland so sorry for my bad English

                                    StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      levente82 @crush
                                      last edited by

                                      @crush , same problem here. I don’t know if the MMM-Remote-Control module is the problem or not, but i made everything according to description and the module always showing “Loading…”.

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

                                        @levente82
                                        The Problem is solved… a corrupt or bad CVS file was the problem.
                                        And the config file a small chance dateFormat: “dddd D MMMM” instead of "dateFormat: “MM/DD/YY” :) :)

                                        So maybe @crush i’t for you also the issue :)

                                        L 1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          levente82 @JerryP
                                          last edited by

                                          @JerryP , it’s working now correctly. this is the most useful module i have ever seen. Thank you for your help and your great work.

                                          1 Reply Last reply Reply Quote 0
                                          • Coolie1101C Offline
                                            Coolie1101
                                            last edited by Coolie1101

                                            Is it possible to import my existing schedule from Google Calendar?

                                            Existing Calendar:

                                            a3f255b3-3383-4433-8937-7f9032cd29e2-image.png

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