Current Date:24 February, 2021

Add Rubbish Bins sensors to Home Assistant

The other week, I completely forgot to take out our rubbish and recycle bins out for collection. As you could imagine, I was quite annoyed having a full bin and no room for any more rubbish for the week. This prompted me to search for some sort of integration with Home Assistant so I could send push notifications to my phone to remind me to take the bins out. I managed to find an awesome custom rubbish bin component that is compatible with home assistant called Garbage-Collection.

HOW TO CONFIGURE GARBAGE-COLLECTION IN HOME ASSISTANT

  1. Head over to GitHub and download a copy of the Garbage-Collection.zip
  2. Extract the zip file to your computer eg: C:\Garbage-Collection
  3. Copy the contents from C:\Garbage-Collection to the following location in your Home Assistant file system:
config/custom_components/garbage-collection

SETUP A GENERAL WASTE BIN SENSOR IN HOME ASSISTANT

  1. In Home Assitant, go to Configuration > Integrations
  2. Click on +
  3. You should be able to see the Garbage Collection integration
  1. We will add a General Rubbish sensor. My local council collects general rubbish weekly on Fridays. Fill out the following settings exactly. Basically this is setting up the General Rubbish bin to be collected weekly. Check with your local council to see when your general rubbish bins are collected and change the frequency as required.
  1. Click SUBMIT
  1. Select the day of the week your bin is collected
  1. Click on SUBMIT
  2. This step configures the Victorian local holidays and tells the plugin which days are excluded from bins being collected. My local council collects rubbish every holiday except Christmas Day, New Years Day and Anzac Day. All other public holidays, my bins are collected. Copy the following settings. Change VIC to your state as required and check with your local council for the dates that rubbish bins aren’t collected and add them to the exclude dates field.
  1. Click on SUBMIT

SETUP A RECYLE AND GREEN WASTE BINS SENSOR IN HOME ASSISTANT

We will now repeat the steps for the recycle bin and green waste bins. My local council collects these fortnightly so the process will be mostly the same except for the frequency.

  1. In Home Assitant, go to Configuration > Integrations
  2. Click on +
  3. You should be able to see the Garbage Collection integration
  1. Copy the following settings for the green waste bin.
  1. Click on SUBMIT
  2. Select the day the green waste bin is collected
  1. Click on SUBMIT
  2. Choose the same settings you did for your general rubbish bin
  1. Click SUBMIT
  1. Repeat the steps for your recycle bin.

ADDING THE RUBBISH BIN SENSORS TO LOVELACE

  1. Go to Lovelace and add an Entities card with the following sensors you setup above.
  1. Click SAVE

You should now have a nice looking rubbish bin entities card. You can setup automations and notifications around these sensors.

SUPPORT ME!

If you’d like to support TECHmarC, or if you’re using an adblocker, I ask you to consider whitelisting my website.

The ads displayed on this site help go towards keeping the website alive. I know its a small ask but every little contribution helps! You can also support me by Buying me a Coffee!

 

Buy me a coffeeBuy me a coffee