Read the statement by Michael Teeuw here.
MMM-MyGarbage
-
@RdP
You can use this module by creating your own Garbage Schedule file with the name garbage_schedule.csv An example file garbage_schedule.csv is added.Create a CSV based on the following template:
WeekStarting,green,gray,blue
03/07/18,1,0,1
03/14/18,1,1,1
03/21/18,1,0,1
03/28/18,1,1,1Default there are 3 bins defined (green, gray and blue) If you need more garbage bins, simply add an extra column in the garbage_schedule.csv file. The name is the color you like the bin to have. In you case ‘yellow’.
Add lines for each garbage pickup date as needed. The date format needs to be specified as MM/DD/YY (e.g.: 05/28/18 for 28-May-2018)
Succes!
-
-
@RdP, great it worked out for you!
-
This is great! It’s since replaced MMM-MyWastePickup as that no longer works .
-
Hi guys i know this is an old topic but maybe i can get an answer anayway
i want 4 bins but just adding a color and and a 1 or 0 in the csv file does not work
-
ok got it to work now
-
Hello guys!
could anyone help and check what is wrong with my configuration of this module? Under the title I have only message: loading
My configuration looks like:
{
module: ‘MMM-MyGarbage’,
position: ‘bottom_left’,
header: ‘My Garbage Calendar’,
config: {
alert: 3,
weeksToDisplay: 2,
limitTo: 99,
fade: true,
dateFormat: “dddd”,
fadePoint: 0.25
}
}, -
Hey there,
Great work on this module. But you say you are not an experienced programmer? well, compared to me…
not to sound lazy, but any change you could convert from csv to json query like thingy?
as seen on the home automation sites, people query http://json.mijnafvalwijzer.nl/?method=postcodecheck&postcode=&street=&huisnummer=&toevoeging=&platform=phone&langs=nl&and get the results needed
(https://community.home-assistant.io/t/garbage-pickup-date-mijnafvalwijzer-nl-custom-component/34631/12)please be honest, no is also an answer and I would completely understand.
… but i thought you might like a challenge ;-) -
@htilburgs : thanks a lot for this module !
this is super useful and well done.I would like to change color for bins, i did the custom.css file and restarted MM2 but that does not change.
Do i have to do something else ?thanks a lot for your help.
Here you can file a translation for French if this could help :
{
“GARBAGEENTRIESLEFT”: “Il reste {entriesLeft} dates dans le calendrier des ordures”,
“REMEMBERADDINGPICKUPS”: “Veuillez ajouter de nouvelles dates pour l’utiliser”
} -
@lodam said in MMM-MyGarbage:
@htilburgs : thanks a lot for this module !
this is super useful and well done.I would like to change color for bins, i did the custom.css file and restarted MM2 but that does not change.
Do i have to do something else ?You can change the colour of the bin icons in the garbage_schedule.csv file like so. The top row defines the colour of the icons. In my case below they are green, dark grey and light blue.
WeekStarting,#00FF00,#D3D3D3,#87CEEB 03/31/20,0,0,1 04/07/20,0,1,0 04/14/20,0,0,1 04/21/20,0,1,0 04/28/20,0,0,1 05/05/20,0,1,0