I have learned alot during the process to get this module working.
- Getting only 2 of the cans to show up.
One must set all of the cans to true and adjust the dates within the MagicMirror/config/config.js file the very first time and save the file.
So these lines must be set to true
enableBasic: true,
enablePlastic: true,
enableLandscape: true,
Then launch MagicMirror. Then shut down MagicMirror and change the can or cans that one does not want to be shown on screen by changing the setting to false.
For instance,
enableBasic: true,
enablePlastic: false,
enableLandscape: true,
Save the file and restart MagicMirror. This will display the cans selected.
Strange behavior , but thats what I found.
I also needed to change the date on each of the cans within the same MagicMirror/config/config.js file
basicStartDate: “11.13.2019”,
plasticStartDate: “11.13.2019”,
landscapeStartDate: “11.13.2019”,
to reflect the same dates . If I left
plasticStartDate: “11.13.2019”,
as the default date then the recycle nor the landscape can would show up.
- Changing the size of the cans. Initially the can size on my MagicMirror were way too big and I needed to modify the
MagicMirror/modules/MMM-DumpsterDay/MMM-DumpsterDay.css file.
I changed the value for height from 120 px (I think this was the default size -maybe 200px) to 70px and that turned out to be a good size.
.basicDiv{
height:70px; // I changed this line to 70px
width:20%;
background-image: url(imgs/basic.png);
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
overflow: auto;
display:inline-block;
}
.landscapeDiv{
height:70px; // I changed this line to 70px
width:20%;
background-image: url(imgs/landscape.png);
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
overflow: auto;
display:inline-block;
}
.plasticDiv{
height:70px; //I changed this line to 70px
width:20%;
background-image: url(imgs/recycle_yellow.png);
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
overflow: auto;
display:inline-block;