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

    Scheduled Pinned Locked Moved Utilities
    83 Posts 11 Posters 58.0k Views 12 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.
    • B Offline
      BD0G
      last edited by BD0G

      Since the Red Can graphic was added to the github repository my MagicMirror update-notification module indicates an update is needed to the MMM-DumpsterDay module. This made me think that it would be good to add the update process to the github repository instructions.

      I just did a
      git fetch and then a
      git pull

      from within the MagicMirror/modules/MMM-DumpsterDay sub directory and that updated the module.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Doughboy99 @BD0G
        last edited by

        Re: MMM-DumpsterDay

        I am having problems getting the bins to show correctly. I have three different bin collections

        Rubbish(basic) collected fortnightly on thursdays next collection due 21st November
        Recycling(plastic) collected fortnightly on thursdays next collection due 14th November
        Composting(landscape) collected fortnightly on Mondays next collection due 25th November

        The icon for the plastic collection is displayed as expected but the landscaping icon is also showing today(14th) even though it is not due until the 25th. Any ideas what the issue is?

        This is the config file I am using
        {module:“MMM-DumpsterDay”,
        position:“lower_third”,

        		config: {
        			refreshInterval: 18000000, // Default: 18000000 = 5 hours
        			pulse: true, 			   // Default: true - Makes the module pulsating
        		
        		enableBasic: true, 				// Enable basic trashcan 
        			basicStartDate: "24.10.2019", 	// The first dumpster day (Always use 2 digit dates (01 instead of 1))
        			basicDateDiff_1: 14,			// Trashday reoccurance - Default: 14 (every 14 days)
        			basicNotifyDayBefore: true,		//Default: true - If you want the notification to appear also the day before the dumpster day
        			
        		enablePlastic: true,			// Same values as basic but for Plastic
        			plasticStartDate: "31.10.2019", 
        			plasticDateDiff_1: 14,
        			plasticNotifyDayBefore: true,	
        
        		enableLandscape: true,			// Same values as basic but for Landscape
        			landscapeStartDate: "14.10.2019",
        			landscapeDateDiff_1: 14,		
        			landscapeNotifyDayBefore: true,
        		
        		}
        		},
        
        D 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @mrdenmark
          last edited by

          @mrdenmark said in MMM-DumpsterDay:

          apologies foe formatting above!

          fixed…
          the three tildes need to be on a separate line by themselves

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            Doughboy99 @Doughboy99
            last edited by

            @Doughboy99
            I think I have found the issue for me.
            in MMM-DumpsterDay.js the if statement

            	if (enableLandscape == true){
            	landscapeTrashDayResult = this.isPlasticTrashDay();
            	Log.info("landscapeTrashDayResult: "+landscapeTrashDayResult);
            	var landscapeDiv = document.createElement("div");
            	landscapeDiv.className = "landscapeDiv";
            	wrapper.appendChild(landscapeDiv);
            		if (landscapeTrashDayResult == 0){
            		landscapeDiv.classList.add("non_today")
            		}
            

            line 83 should read

            landscapeTrashDayResult = this.isLandscapeTrashDay();

            This seems to fix my issue.

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              BD0G @Doughboy99
              last edited by BD0G

              @Doughboy99
              Good catch. Seems logical that the statement should pertain to Landscape because of what precedes it.

              I made the change to my MMM-DumpsterDay.js . You can report the issue via github and the author @DeanoNoire can add the changes.

              Here is the link to report github MMM-DumpsterDay Issues

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                Doughboy99 @BD0G
                last edited by

                @BD0G Thanks Ive posted an issue. Your link is to another reposirory for a similar module .
                The correct link is here

                B D 2 Replies Last reply Reply Quote 1
                • B Offline
                  BD0G @Doughboy99
                  last edited by

                  @Doughboy99 Corrected the link. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DeanoNoire @Doughboy99
                    last edited by

                    @Doughboy99 Thanks a lot guys, I just corrected it on github.
                    Have a good one!

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BD0G
                      last edited by

                      Thanks @DeanoNoire . Any plans to implement the “Tomorrow is Trash Day” and “Today is Trash Day” text?

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        DeanoNoire @BD0G
                        last edited by

                        @BD0G wasn’t really planning to, but I guess I can add it as an option :) will see how much work is wating for me at job this week :D

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Paddi
                          last edited by

                          @DeanoNoire Had no luck to make it work. When adding in the config.js and restarting mirror it messes up things. Black background instead of usual picture. Some modules do not load…
                          Could you help ?

                          B 1 Reply Last reply Reply Quote 0
                          • B Offline
                            BD0G @Paddi
                            last edited by

                            @Paddi Try Pressing the CTRL-Shift-i keys together once the Magic Mirror has loaded to bring up the developers window. Then click on the tab labeled console and look for any errors. Usually in Red text. When there is a black screen it “typically” indicates one or more of the modules has crashed.

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              BD0G
                              last edited by

                              I had this module working great , but for some strange reason it no longer shows the Landscape can. I set the dates to tommorrow which is trash day so the Trash Can and Landscape can should be displayed the day before (which it today) and only the Trash Can is displayed. My date is set correctly on the Magic Mirror so its not that.

                              Here is my config entry

                              	{
                              	module:"MMM-DumpsterDay",
                              	position:"bottom_bar",
                              	config: {
                              		refreshInterval: 18000000, // Default: 18000000 = 5 hours
                              		pulse: true, 			   // Default: true - Makes the module pulsating
                              
                              		enableBasic: true, 				// Enable basic trashcan 
                              		basicStartDate: "27.11.2019", 	// The first dumpster day (Always use 2 digit dates (01 instead of 1))
                              		basicDateDiff_1: 7,			// Trashday reoccurance - Default: 14 (every 14 days)
                              		basicNotifyDayBefore: true,		//Default: true - If you want the notification to appear also the day before the dumpster day
                              		
                              		enablePlastic: false,			// Same values as basic but for Plastic
                              		plasticStartDate: "27.11.2019", 
                              		plasticDateDiff_1: 28,
                              		plasticNotifyDayBefore: true,	
                              
                              		enableLandscape: true,			// Same values as basic but for Landscape
                              		landscapeStartDate: "27.11.2019",
                              		landscapeDateDiff_1: 14,		
                              		landscapeNotifyDayBefore: true,
                              		}		
                              		},
                              
                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                DeanoNoire @BD0G
                                last edited by

                                @BD0G Can you try updating the latest version of this module from github? :) there was an issue with Landscape part.

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

                                  has anyone managed to get this module to work correctly?i’ve tried allsorts of config options but it behaves quite strangely.
                                  my collection day is monday,the red gets collected every monday and the blue and yellow get alternate and get collected biweekly.
                                  the module did as it should the first week and never since then,it only shows 1 bin,some weeks it shows a bin to be collected on thursday,dissapears on friday and re-appears on sunday!

                                  {
                                          module:"MMM-DumpsterDay",
                                          position:"upper_third",
                                          config: {
                                                  refreshInterval: 18000000, // Default: 18000000 = 5 hours
                                                  pulse: false,
                                                  maxWidth: "75px",                          // Default: true - Makes the module pulsating
                                  
                                                  enableBasic: true,                              // Enable basic trashcan
                                                  basicStartDate: "11.11.2019",   // The first dumpster day (Always use 2 digit dates (01 instead of 1))
                                                  basicDateDiff_1: 7,                     // Trashday reoccurance - Default: 14 (every 14 days)
                                                  basicNotifyDayBefore: true,             //Default: true - If you want the notification to appear also t$
                                                  enablePlastic: false,                   // Same values as basic but for Plastic
                                                  plasticStartDate: "04.11.2019",
                                                  plasticDateDiff_1: 14,
                                                  plasticNotifyDayBefore: true,
                                  
                                                  enableLandscape: true,                  // Same values as basic but for Landscape
                                                  landscapeStartDate: "11.11.2019",
                                                  landscapeDateDiff_1: 14,
                                                  landscapeNotifyDayBefore: true,
                                                  }
                                                  },
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DeanoNoire
                                    last edited by

                                    Hey guys,
                                    I finally found some time to review and practically remaster whole module. Now it’s finally working correctly and the console logging is improved and more readable.

                                    Please let me know if you still encounter some issues.

                                    Stay safe in these difficult times!

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      robertybob @DeanoNoire
                                      last edited by

                                      @DeanoNoire The download link isn’t in the original post anymore?

                                      D 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DeanoNoire @robertybob
                                        last edited by

                                        @robertybob originaly there was a github card for the repository, but it seems the card is not supported anymore.
                                        And as I’m not able to edit the original post, here is the link:
                                        https://github.com/DeanoNoire/MMM-DumpsterDay

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          blackeaglece
                                          last edited by

                                          Hello how can i reduce the space between the header and the image? as you can see from the screenshotreduce.jpg Thank you very much

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            DeanoNoire @blackeaglece
                                            last edited by

                                            Hello @blackeaglece ,
                                            I do not use the headers, but I presume it’s always on the top of the module wrapper.
                                            So first thing I’d try is decreasing the height value of trashcan_wrapper.
                                            This is done in MMM-DumpsterDay.css file in the module folder.

                                            3845413d-3ff7-4031-8244-5a0c2b08b23a-image.png

                                            Please let me know if you managed moving it by these steps.

                                            Deano

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