Read the statement by Michael Teeuw here.
MMM-DumpsterDay
-
@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
-
@dinschal Hey there, it’s not possible to set it via config right now, but it’s quite easy to modify it in the MMM-DumpsterDay.js file:
Find folloing code (about row 167)
// Trashday today
if (difference%datediff_1 == 0) {
result = 1
Log.info(“It’s trashday !!”);
}and change the value of result to 0.
So it’s:// Trashday today
if (difference%datediff_1 == 0) {
result = 0
Log.info(“It’s trashday !!”);
}Please let me know if this solution worked as desired.
Have a good one; Greetings from Czechia. -
I have been working on scaling the use of this great module. I thought about what other reoccurring things that I might need notification of. It came to mind that my front loading Washing Machine indicates that I need to clean the pump screen every 30 days! I also like to do a “tub clean” at about the same interval.
The washer has a setting that is named “tub clean” where one adds a bit of bleach or other detergent made for cleaning the inside of the stainless tub to make sure that there is not any bacteria and gunk that builds up.In that vein I created a custom icon that can be used for notification. I wanted to share it with the community in case anyone else wanted to be notified as well.
Since I dont use the Recycle Can I just substituted this icon for the Recycle Can and set the reoccurring notification to be every 30 days!! Click the link and then Right Click - Save Image As
TubClean.png -
@BD0G awesome mate! So glad the module is used :)