Read the statement by Michael Teeuw here.
MMM-DumpsterDay
-
Hi all, I’m having trouble getting the exact icon of the garbage collection to display with the chosen day. Example, today there is no collection but it shows me 3 icons that should not display. Also, from us the collection of organic materials occurs 3 times a week how could I put more dates for the same collection? I attach links for my icons and the code of both MMM-Dumpster and config.js
Glass, Paper, Organic, Plastic and Other Garbage
Thank you
-
@blackeaglece does anyone know how to fix date display error in images?
-
@blackeaglece I’m quite certain you have to create functions and instances for every landscape reccuring date. Act like second and third landscape instances are different kind of trash with the same image.
-
@deanonoire said in MMM-DumpsterDay:
@blackeaglece I’m quite certain you have to create functions and instances for every landscape reccuring date. Act like second and third landscape instances are different kind of trash with the same image.
Hi, but it doesn’t display me landscape but glass or organic. I created a new instance called landscape1 but it still shows me all the images . This is the code of config.js. How can I do?
{ 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: true, // Abilita indifferenziata trashcan basicStartDate: "09.04.2021", // 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 enablePaper: true, // Abilita bidoncino carta bianco paperStartDate: "06.04.2021", paperDateDiff_1: 7, paperNotifyDayBefore: true, enablePlastic: true, // 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, // Abilita bidoncino umido landscapeStartDate: "04.04.2021", landscapeDateDiff_1: 7, landscapeNotifyDayBefore: true, enableLandscape1: true, // Abilita bidoncino umido landscape1StartDate: "06.04.2021", landscape1DateDiff_1: 7, landscape1NotifyDayBefore: true, } },
and this is how it is displayed
-
@blackeaglece I see. What is in the log? There should be evaluations if its trashday or not.
Also can you inspect the elements if .non_today class is present on the divs? If yes, check if the css file is loaded properly, as it should be hiding the images when it’s not dumpster day.https://github.com/DeanoNoire/MMM-DumpsterDay/blob/master/MMM-DumpsterDay.css
-
@deanonoire Ok now it’s all ok i was wrong, some lines of css code had disappeared
Thank you very much -
@blackeaglece Glad I could help ;) stay safe ;)
-
@deanonoire said in MMM-DumpsterDay:
@blackeaglece Glad I could help ;) stay safe ;)
Thank you :ok_hand:
-
@deanonoire How do I create instances and functions? Also, to make them work, do I have to create different images even if they serve the same thing? e.g. landscape.png landscape-1.png and landscape-2.png, with relative css code?
thank you very much -
Hi Deanonoire,
is it possible to show the can only the day before collecting? In Germany we put our trash cans outside the day before. So the notification on the collection day is not nessesary?
Greetings