Open TDMPro2K opened 5 years ago
Having the same issue. I took the 2019 schedule from the specified website, renamed it to "schedule.csv", ensured all the extra spaces were taken out of the headers as per the instructions, and set the config file with what I believe is the right format. The widget just says "loading" indefinitely.
What am I missing have this in Config.js
{
module: 'MMM-MyWastePickup',
position: 'top_right',
header: 'Bell Block Waste Collection',
config: {
collectionCalendar: 'Custom',
weeksToDisplay: 4
}
},
and and a a file call schedule_custom.csv in
file looks like this Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree Custom,01/07/19,1,1,0,0,1 Custom,01/14/19,1,0,1,0,0 Custom,01/21/19,1,1,0,0,1 Custom,01/28/19,1,0,1,0,0 Custom,02/04/19,1,1,0,0,0 Custom,02/11/19,1,0,1,0,0 Custom,02/18/19,1,1,0,0,0 Custom,02/25/19,1,0,1,0,0 Custom,03/04/19,1,1,0,0,0 Custom,03/11/19,1,0,1,0,0 Custom,03/18/19,1,1,0,1,0 Custom,03/25/19,1,0,1,0,0 Custom,04/01/19,1,1,0,1,0 Custom,04/08/19,1,0,1,0,0 Custom,04/15/19,1,1,0,1,0 Custom,04/22/19,1,0,1,0,0 Custom,04/29/19,1,1,0,1,0 Custom,05/06/19,1,0,1,0,0 Custom,05/13/19,1,1,0,1,0 Custom,05/20/19,1,0,1,0,0 Custom,05/27/19,1,1,0,1,0 Custom,06/03/19,1,0,1,0,0 Custom,06/10/19,1,1,0,1,0 Custom,06/17/19,1,0,1,0,0 Custom,06/24/19,1,1,0,1,0 Custom,07/01/19,1,0,1,0,0 Custom,07/08/19,1,1,0,1,0 Custom,07/15/19,1,0,1,0,0 Custom,07/22/19,1,1,0,1,0 Custom,07/29/19,1,0,1,0,0 Custom,08/05/19,1,1,0,1,0 Custom,08/12/19,1,0,1,0,0 Custom,08/19/19,1,1,0,1,0 Custom,08/26/19,1,0,1,0,0 Custom,09/02/19,1,1,0,1,0 Custom,09/09/19,1,0,1,0,0 Custom,09/16/19,1,1,0,1,0 Custom,09/23/19,1,0,1,0,0 Custom,09/30/19,1,1,0,1,0 Custom,10/07/19,1,0,1,0,0 Custom,10/14/19,1,1,0,1,0 Custom,10/21/19,1,0,1,0,0 Custom,10/28/19,1,1,0,1,0 Custom,11/04/19,1,0,1,0,0 Custom,11/11/19,1,1,0,1,0 Custom,11/18/19,1,0,1,0,0 Custom,11/25/19,1,1,0,1,0 Custom,12/02/19,1,0,1,0,0 Custom,12/09/19,1,1,0,1,0 Custom,12/16/19,1,0,1,0,0 Custom,12/23/19,1,1,0,0,0 Custom,12/30/19,1,0,1,0,0
all I get is
fix it
weeksToDisplay: 4 should say weeksToDisplay: "4"
THANKS
Same issue - "Loading...". The CSV file is in the proper folder. It's called "schedule_custom.csv". I reduced the content to just 2 entries and made sure there were no extra spaces.
{ module: 'MMM-MyWastePickup', position: 'top_left', header: 'Holiday Pickup', config: { collectionCalendar: 'Custom' } },
Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree Custom,09/06/23,0,1,0,0,0 Custom,09/08/23,0,1,0,0,0
I found that if I edited the file with notepad it would save it differently some how. I had to use notepad++. So Unicode / ansi code version
I edited mine in Notepad++ using Unix (LF) UTF-8 and it's still showing "Loading"
I have retired again and started a fresh with the module. I have left everything default and used your latest schedule-schedule.csv (renamed to schedule.csv) and put it in the folder and replaced the original one. And it still says loading. Any help?