Read the statement by Michael Teeuw here.
MMM-DumpsterDay
-
This post is deleted! -
@DeanoNoire Ahh , thats what is causing the issue.
US Format is Month:Day:Year and not
the European Standard Day:Month:Year. -
@BD0G
i thought i had it working but no,all the icons show up ok but i can’t get them showing on the correct days,either all or basic.
what did you change on the date?both entries look the same to me,also,did you leave the entry at false?does it still show on the expected day? -
I set up my config.js to todays date (for testing) so that I could see the trash can icons show up. The format that one needs to use is Day.Month.Year on the
basicStartDate:
plasticStartDate:
landscapeStartDate:
linesHere is my config.js which does display the cans as it should.
{ 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.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: "11.11.2019", plasticDateDiff_1: 28, plasticNotifyDayBefore: true, enableLandscape: true, // Same values as basic but for Landscape landscapeStartDate: "11.11.2019", landscapeDateDiff_1: 14, landscapeNotifyDayBefore: true, } },When I change the dates to the 13th of this month then the trash cans are not shown as they should not be shown until the day BEFORE trash day and the DAY of trash day. Which would be tomorrow and the day after.
-
@BD0G
and you leave enableplastic set to false?and it still shows up on the weeks it should? -
if i use this config all bins show-
{ module:"MMM-DumpsterDay", position:"top_left", config: { refreshInterval: 18000000, // Default: 18000000 = 5 hours pulse: false, // Default: true - Makes the module pulsating enableBasic: true, // Enable basic trashcan basicStartDate: "12.11.2019", // The first dumpster day (Always use 2 digit dates (01 instead of 1)) basicDateDiff_2: 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: true, // Same values as basic but for Plastic plasticStartDate: "12.11.2019", plasticDateDiff_2: 14, plasticNotifyDayBefore: true, enableLandscape: true, // Same values as basic but for Landscape landscapeStartDate: "12.11.2019", landscapeDateDiff_2: 14, landscapeNotifyDayBefore: true, } },if i use this then 2 bins show-
{ module:"MMM-DumpsterDay", position:"top_left", config: { refreshInterval: 18000000, // Default: 18000000 = 5 hours pulse: false, // Default: true - Makes the module pulsating enableBasic: true, // Enable basic trashcan basicStartDate: "12.11.2019", // The first dumpster day (Always use 2 digit dates (01 instead of 1)) basicDateDiff_2: 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: "12.11.2019", plasticDateDiff_2: 14, plasticNotifyDayBefore: true, enableLandscape: true, // Same values as basic but for Landscape landscapeStartDate: "12.11.2019", landscapeDateDiff_2: 14, landscapeNotifyDayBefore: true, } },but if i change it to either of these then only the basic shows up -
enablePlastic: true, // Same values as basic but for Plastic plasticStartDate: "18.11.2019",or
enablePlastic: false, // Same values as basic but for Plastic plasticStartDate: "18.11.2019",code_textmaybe i’m misunderstanding but it seems the second last one is the one i require.
for reference my red get picked up every monday and the other 2 alternate every 2 weeks,again on monday
-
@mrdenmark apologies foe formatting above!
-
@mrdenmark if you set the date to 18.11.2019 and the occurance is every 14 days then it’s correct :)
If the enable value is true - the image is not visible as it’s not a trashcan day.
If the enable value is false - the part of the module is disabled and is not evaluated at all. Also I recommend to use start dates from the past, not future :) -
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 pullfrom within the MagicMirror/modules/MMM-DumpsterDay sub directory and that updated the module.
-
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 NovemberThe 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, } }, -
@mrdenmark said in MMM-DumpsterDay:
apologies foe formatting above!
fixed…
the three tildes need to be on a separate line by themselves -
@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.
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