Read the statement by Michael Teeuw here.
MMM-MyWastePickup (Toronto waste collection schedule)
-
@kruemel This should be fixed now. Do a pull for v1.4. Also run
npm install
as I updated Moment.js to resolve a security vulnerability. -
Yesterday, my pickup schedule looked like this:
Today, it looks like this:
Is there a way to have it always display the next 3 events? My waste pickup is weekly, but recycling is every 2 weeks and I’d like to always see when the next recycling pickup is.
Thanks for another great module!
-
@twosquirrels Sure. I added a config parameter
weeksToDisplay
. Do agit pull
to update. Set it to3
for your use. -
Wow, that was fast! Thanks!
I believe I have it setup right, but it looks like it’s giving me +1 than what I’m asking for, perhaps because it’s not including tomorrow?:
Setting ‘2’ gives me 3 total:
Setting ‘3’ gives me 4 total:
-
@twosquirrels No it’s correct. It’s 3 weeks by date – this will show any and all pickup dates between now and three weeks from now. Three weeks from today is April 18, which is why you’re seeing all pickup days between now and April 18.
-
Ohh right, number of weeks. I was thinking it was number of events. Makes sense!
-
OK, First off Jeff, thank you for this. i cloned and installed and ran the test file you had and everything is working perfectly. So i started to make my own Custom file exactly how you said and no matter what i still continue to get a “loading” so i switch back to your file and it works. I have no idea what im doing wrong.!
-
@waynerigley The screenshot of your google drive isn’t helpful, because the final result likely has leading/trailing blank spaces, or some other issue that prevents it from parsing correctly. Edit schedule_custom.csv directly at the command line on your raspberry pi.
-
@twosquirrels Thank you for the FAST reply… as im new to this please bare with me. im using putty and VNC and FIleZilla while using this. I made the excel on google and downloaded it to my laptop in CSV with the correct name. then filezilla to get it to the folder. can you give me a command to check what you need me to do. thanks in advance !
-
In putty, once you ssh into your raspberry pi, do:
cd /home/pi/MagicMirror/modules/MMM-MyWastePickup
Then:
sudo nano schedule_custom.csv
You’re now viewing the contents of schedule_custom.csv. I don’t remember if it included a sample or not, but just edit/type/paste your data here. When done, press Control X to exit. It will ask to save, and say “Y” for yes. The contents of the file should look like my post above from 2 months ago.