Read the statement by Michael Teeuw here.
MMM-DumpsterDay
-
Many of the other modules that are published use the following syntax to copy the files needed to the MagicMirror/modules directory.
git clone https://github.com/DeanoNoire/MMM-DumpsterDay.git
So perhaps it would be advantageous to add the following as the first step.
- Navigate to the MagicMirror/modules sub-directory
- Run the following command “git clone https://github.com/DeanoNoire/MMM-DumpsterDay.git” (this will copy the needed files into the sub-directory)
-
Also the code for the config.js appears to be missing
},
at the end.
-
I switched to the sub directory MagicMirror/modules and did a git clone git clone https://github.com/DeanoNoire/MMM-DumpsterDay.git
That created a directory named MMM-DumpsterDay with the files below that directory.
Then I added the code you posted to my MagicMirror/config/config.js file exactly as you posted. I found that there was a missing }, at the end of the code.
I modified the config.js to reflect today as trashday and launched Magic Mirror . Nothing was displayed onscreen.
Shoundlnt the config.js code for module be MMM-DumpsterDay
? -
This post is deleted! -
Here is my current config.js after renaming the module portion to MMM-DumpsterDay
{ 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.10.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: "16.01.2019", plasticDateDiff_1: 28, plasticNotifyDayBefore: true, enableLandscape: true, // Same values as basic but for Landscape landscapeStartDate: "11.10.2019", landscapeDateDiff_1: 14, landscapeNotifyDayBefore: true, } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" },
-
@BD0G this seems right :)
Thanks for the tips! I will change the installation process :) I’m still new, this is my first real programming project, so this colaboration process is new to me. -
Well I am kinda forced to collaborate if I want to use this awesome module . Right? :) LOL
My config.js does not work so I want to get it going so we can all use this module!
-
@BD0G i will give it a try with your config and check what’s wrong and let you know.
-
@BD0G Hey there, I changed the file names of the modules and the paths, so it can be used the way you described - via clone.
Can pull the current version and give it a try? Also change the date accordingly :) I believe we’re getting there! :DHave a good one.
-
@DeanoNoire
I deleted the sub-directory that was created under MagicMirror/modules named mmm-dumpsterday . All lowercase.I then used the command git clone https://github.com/DeanoNoire/MMM-DumpsterDay.git.
This created the correct the directory named MMM-DumpsterDay . Capital letters in proper places.
Then I modified my config.js under the MagicMirror/config directory to reflect today as being trash day . Turned off Recycle by using the false specifier. Turned on Landscape by using the specifier true. Set the Landscape date to todays date as well.
Restarted the MagicMirror and I do see a pulsing white trash can ,BUT no can for Landscape. ???
The trash can is displayed within the bottom_bar area of the screen and the trash can is quiet large onscreen. I am assuming that I can modify the MagicMirror/modules/MMM-DumpsterDay/MMM-DumpsterDay.css file to change the size to better fit the screen?
Here is my current config.js file to troubleshoot the absence of the Landscape can. on screen
{ 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: "16.01.2019", plasticDateDiff_1: 28, plasticNotifyDayBefore: true, enableLandscape: true, // Same values as basic but for Landscape landscapeStartDate: "11.11.2019", landscapeDateDiff_1: 14, landscapeNotifyDayBefore: true, } }, { module: "alert", },