Well I am kinda forced to collaborate if I want to use this awesome module . Right? :) LOL
My config.js does not work so I want to get it going so we can all use this module!
Well I am kinda forced to collaborate if I want to use this awesome module . Right? :) LOL
My config.js does not work so I want to get it going so we can all use this module!
Here is my current config.js after renaming the module portion to MMM-DumpsterDay
{
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: "11.10.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: "16.01.2019",
plasticDateDiff_1: 28,
plasticNotifyDayBefore: true,
enableLandscape: true, // Same values as basic but for Landscape
landscapeStartDate: "11.10.2019",
landscapeDateDiff_1: 14,
landscapeNotifyDayBefore: true,
}
},
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
I switched to the sub directory MagicMirror/modules and did a git clone git clone https://github.com/DeanoNoire/MMM-DumpsterDay.git
That created a directory named MMM-DumpsterDay with the files below that directory.
Then I added the code you posted to my MagicMirror/config/config.js file exactly as you posted. I found that there was a missing }, at the end of the code.
I modified the config.js to reflect today as trashday and launched Magic Mirror . Nothing was displayed onscreen.
Shoundlnt the config.js code for module be MMM-DumpsterDay
?
Also the code for the config.js appears to be missing
},
at the end.
Many of the other modules that are published use the following syntax to copy the files needed to the MagicMirror/modules directory.
git clone https://github.com/DeanoNoire/MMM-DumpsterDay.git
So perhaps it would be advantageous to add the following as the first step.
@Stoffbeuteluwe Its included within the trashcan.css file , but waiting on configuration options and how to setup.
You are awesome! .
We will need a working config file with all the parameters listed so that it is apparent what settings control what features.
You can comment out the features using // backslashes as you know and add what they do to the right of the line or above it using // backslashes
Example :
//Line below this one controls the day that one sets to count from
//Line below this one controls pulsing or constant
etc…
Also is there the need to clone a module into the modules directory below MagicMirror/modules?
Specific instructions would be helpful to add to the git hub repository as there are alot of places where people can get hung up.
Questions that I have are where does one place the trashcan.css file? Where does one place the trashcan.js file?
Does one clone a directory into the MagicMirror/modules directory?
What does one add to the config.js file within MagicMirror/config?
Also you mis-spelled Dumpster again within the Noted files on the git hub repository.

Thanks for the quick work!
Let me know if you need assistance with writing the instructions and I can lend a hand if needed.
Cant Wait! With these changes I can then simply walk by my Magic Mirror on trash day and if I see one White Icon then its Trash “only” day. Or if I see a white Trash Icon and a Green Icon I will know I can put both Trash and Landscape out on the street. Saves me from having to consult a schedule that the trash provider sends us.
Maybe another option in code to change to constant or pulsing icons???
I think I may install this module as it sounds handy. Here we can only put out our Landscape cans every 2 weeks as they will not pick them up every week. I get confused sometimes as to which week it is “Landscape Week” or “Non-Landscape Week”. Would it be possible to alter the code to display a different style pulsing Icon for Landscape cans. Actually 2 Trash cans would be nice. One White for the regular trash can and one Green -signifying the color of the landscape can. If this is possible why not add an option to have all three colors represented.
White = Standard trash Can
Green=Landscape
Blue=Recycle
Oh, you misspelled Dumpster in the title of the post and spelled Dupster instead.