Read the statement by Michael Teeuw here.
MMM-DumpsterDay
-
@Doughboy99
I think I have found the issue for me.
in MMM-DumpsterDay.js the if statementif (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.
-
@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
-
-
@Doughboy99 Corrected the link. Thanks!
-
@Doughboy99 Thanks a lot guys, I just corrected it on github.
Have a good one! -
Thanks @DeanoNoire . Any plans to implement the “Tomorrow is Trash Day” and “Today is Trash Day” text?
-
@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
-
@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 ? -
@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.
-
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, } },