MMM-BinCollection



  • Hi all,
    Found MM and think it’s the bee’s knees… Have not been able to stopping thinking about how to use it 🙂

    Looked at some of the bin collections modules and they are brilliant but I didn’t want to use CSV files. So I came up with a way to reuse the calendar module. Create a bin collection calendar in Google Calendar and then adding recurring entries for collections, for me it’s every two weeks on a Monday:
    0_1572704304955_77e4f5f9-f5cf-4d2a-9905-5500b10178a3-image.png
    Moved any individual dates that clashed with Public Holidays (Easter Monday) etc and then added a new entry in config.js

    	{
    		module: "calendar",
    		header: "Bin Collection",
    		position: "bottom_left",
    		config: {
    			maximumEntries: 3,  // as I only have 3 bins
    			fetchInterval: 3600000, // update every hour
    			timeFormat: "dateheaders",  // group by date
    			maximumNumberOfDays: 14,  // it's a two week cycle for me
    			fade: false,  // no fade please
    			calendars: [
    				{
    					symbol: "trash", // trash icon :)
    					url: "webcal://calendar.google.com/calendar/ical/..../basic.ics" // update this to point to your bin calendar
    				}
    			]
    		}
    	},
    

    and now the below is exactly what I need:

    0_1572703892247_6ef84419-dd2d-4640-83fe-7db759fc9a2b-image.png

    Hope this is of use to someone 🙂
    Carl