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 57.8k 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 @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
                      • B Offline
                        Bob
                        last edited by

                        Hi, is there any way to add a option for a 4th icon ? We have 3 different types of recycling (glass, cardboard and plastic), as well as the usual rubbish/trash, and of course, they all come at different times ! :)

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

                          Hey @Bob ,
                          sure thing. Any tips for cardboard and glass bin image and color?
                          This brings me to an idea of making the colors and images parameterizable.

                          Deano

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

                            @DeanoNoire Our colours are blue (glass), grey (cardboard), green (plastic) and black (trash/rubbish), but I suspect if you compare local areas, they’ll all have different colour schemes. I’ve even seen places where the bins were all the same, they just had different logos on them for the relevant product.

                            As you say, either paramatize them, or even just reference the icons by name/type, and let people change the image behind them to their colour of choice ?

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

                              Just when I thought there were a standard set of colours, I find this…

                              https://en.wikipedia.org/wiki/Recycling_bin

                              Looks like the most sensible thing is to simply ensure the recycling symbol is on the icon, and then give people the option of different colours.

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

                                Cool… I will look into it as soon as I dont have that much work :)

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

                                  Hi all, I’m having trouble getting the exact icon of the garbage collection to display with the chosen day. Example, today there is no collection but it shows me 3 icons that should not display. Also, from us the collection of organic materials occurs 3 times a week how could I put more dates for the same collection? I attach links for my icons and the code of both MMM-Dumpster and config.js

                                  img garbage

                                  Glass, Paper, Organic, Plastic and Other Garbage

                                  config.js file MM

                                  MMM-Dumpster file

                                  Thank you

                                  B D 2 Replies Last reply Reply Quote 0
                                  • B Offline
                                    blackeaglece @blackeaglece
                                    last edited by

                                    @blackeaglece does anyone know how to fix date display error in images?

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

                                      @blackeaglece I’m quite certain you have to create functions and instances for every landscape reccuring date. Act like second and third landscape instances are different kind of trash with the same image.

                                      B 2 Replies Last reply Reply Quote 0
                                      • B Offline
                                        blackeaglece @DeanoNoire
                                        last edited by blackeaglece

                                        @deanonoire said in MMM-DumpsterDay:

                                        @blackeaglece I’m quite certain you have to create functions and instances for every landscape reccuring date. Act like second and third landscape instances are different kind of trash with the same image.

                                        Hi, but it doesn’t display me landscape but glass or organic. I created a new instance called landscape1 but it still shows me all the images . This is the code of config.js. How can I do?

                                        {	
                                        	module:"MMM-DumpsterDay",
                                        	position:"top_left",
                                        	header: "Raccola Differenziata",
                                          
                                        	config: {
                                        		refreshInterval: 18000000, // Default: 18000000 = 5 hours
                                        		pulse: false, 			   // Default: true - Makes the module pulsating
                                        
                                        	enableBasic: true, 				// Abilita indifferenziata trashcan 
                                        		basicStartDate: "09.04.2021", 		// 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
                                        	enablePaper: true,			// Abilita bidoncino carta bianco
                                        		paperStartDate: "06.04.2021",
                                        		paperDateDiff_1: 7,
                                        		paperNotifyDayBefore: true,
                                        	enablePlastic: true,			// Same values as basic but for Plastic
                                        		plasticStartDate: "13.04.2021", 
                                        		plasticDateDiff_1: 7,
                                        		plasticNotifyDayBefore: true,
                                        	enableVetro: true,			// Same values as basic but for Plastic
                                        		vetroStartDate: "08.04.2021", 
                                        		vetroDateDiff_1: 7,
                                        		vetroNotifyDayBefore: true,
                                        	enableLandscape: true,			// Abilita bidoncino umido
                                        		landscapeStartDate: "04.04.2021",
                                        		landscapeDateDiff_1: 7,		
                                        		landscapeNotifyDayBefore: true,
                                        	enableLandscape1: true,			// Abilita bidoncino umido
                                        		landscape1StartDate: "06.04.2021",
                                        		landscape1DateDiff_1: 7,		
                                        		landscape1NotifyDayBefore: true,
                                        }
                                        },
                                        
                                        

                                        and this is how it is displayed

                                        garbage.jpg

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

                                          @blackeaglece I see. What is in the log? There should be evaluations if its trashday or not.
                                          Also can you inspect the elements if .non_today class is present on the divs? If yes, check if the css file is loaded properly, as it should be hiding the images when it’s not dumpster day.

                                          https://github.com/DeanoNoire/MMM-DumpsterDay/blob/master/MMM-DumpsterDay.css

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

                                            @deanonoire Ok now it’s all ok i was wrong, some lines of css code had disappeared
                                            Thank you very much

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