MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Img Dumpster day

    Utilities
    2
    3
    179
    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
      blackeaglece last edited by

      Re: MMM-DumpsterDay
      Hi, I can’t get ONLY the image of the day’s collection to display, it always displays the ones you don’t have to collect as well. I attach a screenshot and the code, how can I fix this? ```
      {
      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: false, 				// Enable basic trashcan 
      //	basicStartDate: "01.10.2020", 		// The first dumpster day (Always use 2 digit dates (01 instead of 1))
      //	basicDateDiff_1: 1,			// 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: false,			// 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,			// Same values as basic but for Landscape
      	landscapeStartDate: "04.04.2021",
      	landscapeDateDiff_1: 7,		
      	landscapeNotifyDayBefore: true,
      enableLandscape: true,			// Same values as basic but for Landscape
      	landscapeStartDate: "06.04.2021",
      	landscapeDateDiff_1: 7,		
      	landscapeNotifyDayBefore: true,
      enableLandscape: true,			// Same values as basic but for Landscape
      	landscapeStartDate: "08.04.2021",
      	landscapeDateDiff_1: 7,		
      	landscapeNotifyDayBefore: true,
      

      }
      },

      ![dumpster.png](/assets/uploads/files/1618395144017-dumpster.png) 
      
      Thank you very much
      D 1 Reply Last reply Reply Quote 0
      • D
        DeanoNoire @blackeaglece last edited by

        @blackeaglece Hey man,

        first of all, could you continue this in the original thread? https://forum.magicmirror.builders/topic/11558/mmm-dumpsterday
        I did not get the notification and got to this post by coincidence while going through unread posts 😃

        Have you also made any changes in the module code? I presume you created functions for Vetro and Paper right?
        For the triple use of enableLandscape, I’d go with creating duplicate functions like Landscape1, Landscape2,… and using the same image as I’m afraid it wouldn’t really work this way.

        Please share you edited module and we can figure this out 🙂

        Also if you have created images for Vecro (glass i pressume?) and Paper can you share it as well so I can extend the original module?

        Thanks.

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

          @deanonoire Hi, Sure, I was writing in the old post but the program told me that the post was old and to start another one… sorry I’m resuming from the old post. I will post the images and the code in the old post.
          Thank you

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy