MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Doughboy99
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 0

    Doughboy99

    @Doughboy99

    2
    Reputation
    145
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Doughboy99 Unfollow Follow

    Best posts made by Doughboy99

    • RE: MMM-DumpsterDay

      @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.

      posted in Utilities
      D
      Doughboy99
    • RE: MMM-DumpsterDay

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

      posted in Utilities
      D
      Doughboy99

    Latest posts made by Doughboy99

    • RE: MMM-DumpsterDay

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

      posted in Utilities
      D
      Doughboy99
    • RE: MMM-DumpsterDay

      @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.

      posted in Utilities
      D
      Doughboy99
    • RE: MMM-DumpsterDay

      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,
      		
      		}
      		},
      
      posted in Utilities
      D
      Doughboy99