Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waste Collection reminders #46

Open
frenck opened this issue Jul 30, 2020 · 9 comments
Open

Waste Collection reminders #46

frenck opened this issue Jul 30, 2020 · 9 comments

Comments

@frenck
Copy link
Owner

frenck commented Jul 30, 2020

Problem/Motivation

In order not to forget to put the waste bins out on pickup day, I need some sensors, automations and notifications.

References

@rgruyters
Copy link

Another good one is: https://github.com/xirixiz/Home-Assistant-Sensor-Afvalwijzer

@WiebKastanje
Copy link

Yes, I'm using this one: https://github.com/xirixiz/Home-Assistant-Sensor-Afvalwijzer
Works great.

@dtx3k
Copy link

dtx3k commented Sep 1, 2020

I'm using this with twentemileu https://github.com/heyajohnny/afvalinfo
works very good with minimum of configuration:

sensor:
  - platform: afvalinfo
    resources:
      - gft
      - pbd
      - papier
      - restafval
      - trash_type_today
      - trash_type_tomorrow
    location: hengelo
    postcode: 7550AA
    streetnumber: 100
    dateformat: '%d-%m-%Y'
    locale: 'nl'
    timespanindays: 365

big pro are the: - trash_type_today and -trash_type_tomorrow
these return type of trash as string in the state, or none

i have 2 automations based upon today or tomorrow, sending me an notification at set times as an reminder

-   alias: Alert if and which container needs to go out tomorrow
    trigger: 
      platform: time 
      at: '20:00:00'
    condition:
      condition: not
      conditions:
        - condition: state
          entity_id: sensor.afvalinfo_tomorrow
          state: None
    action: 
      - service: notify.HomeNotifier
        data_template:
          message: >
            'Morgen moet de {{ sensor.afvalinfo_tomorrow }} container aan straat, lamme!'

-   alias: Alert if and which container needs to go out today
    trigger: 
      platform: time 
      at: '07:30:00'
    condition:
      condition: not
      conditions:
        - condition: state
          entity_id: sensor.afvalinfo_today
          state: None
    action: 
      - service: notify.HomeNotifier
        data_template:
          message: >
            'NU moet de {{ sensor.afvalinfo_today }} container aan straat, wakker worden!'

simpel to use, even for me ;) but im shure it can be done more efficient

@frenck
Copy link
Owner Author

frenck commented Sep 1, 2020

I don't need afvalinfo, as twentemilieu is available as a core integration 😉

@dtx3k
Copy link

dtx3k commented Sep 1, 2020

fair point, i didnt find it as satifying as this addon

@lwestenberg
Copy link

I made a blueprint for this: https://community.home-assistant.io/t/garbage-reminder/284213
It works with TwenteMilieu but also for anything else that has 4 sensors with a state value in the format of yyyy-mm-dd

@pbulteel
Copy link

There's https://github.com/mampfes/hacs_waste_collection_schedule/ which will setup calendars and sensors for the bins.

@frenck
Copy link
Owner Author

frenck commented Jul 18, 2023

As per above @pbulteel I don't need that.

@pbulteel
Copy link

I should really read all the comments before posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

6 participants