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

Household Bin Collection 🗑 #40

Open
3 of 4 tasks
dannytsang opened this issue Mar 21, 2022 · 3 comments
Open
3 of 4 tasks

Household Bin Collection 🗑 #40

dannytsang opened this issue Mar 21, 2022 · 3 comments

Comments

@dannytsang
Copy link
Owner

dannytsang commented Mar 21, 2022

Create integrations that would help with bin collection at home. My local council collects different types of pre-sorted waste on alternate weeks.
image
image

Goals

  • Take the bin out reminder
  • Calendar integration
  • Bin emptied notification
  • Lovelace card

Credit to @jcallaghan for the idea.

@dannytsang dannytsang self-assigned this Mar 21, 2022
@dannytsang dannytsang changed the title Household Bin Collection Household Bin Collection 🗑 Mar 21, 2022
dannytsang referenced this issue Apr 4, 2022
… collected. Created a helper to allow the notification before the bins are due to be configurable in hours. Added setting for bin notification.
dannytsang added a commit that referenced this issue Apr 5, 2022
@dannytsang
Copy link
Owner Author

dannytsang commented Apr 12, 2022

Dashboard card using auto-entities to show / hide the bin card only when it is bin day +/- the notification offset.

It uses the mushroom template card to set the bin icon colour and text with the type of bin to take out.

card:
  type: custom:mushroom-template-card
  primary: Take the bin out
  secondary: >-
    {% if is_state_attr('calendar.bins','message','Recycling Waste') %}Recycling
    Bin{% elif is_state_attr('calendar.bins','message','General Waste') %}Black
    Bin{% endif%}
  icon: >-
    {% if is_state_attr('calendar.bins','message','Recycling Waste')
    %}mdi:trash-can-outline{% elif is_state_attr('calendar.bins','message','General
    Waste') %}mdi:trash-can{% endif%}
  icon_color: >-
    {% if is_state_attr('calendar.bins','message','Recycling Waste') %}green{%
    elif is_state_attr('calendar.bins','message','General Waste') %}black{%
    endif%}
  multiline_secondary: false
filter:
  include:
    - entity_id: binary_sensor.bin_collection_due
      state: 'on'
show_empty: false
sort:
  method: state
  ignore_case: true

@dannytsang
Copy link
Owner Author

Need to think of a sensor to tell the bin has been emptied.

dannytsang added a commit that referenced this issue Mar 12, 2023
…he general waste bin goes out to the "kerb".

Update #40
dannytsang added a commit that referenced this issue Mar 16, 2023
dannytsang added a commit that referenced this issue Mar 16, 2023
Fixed notifications where people parameter was not set.

Update #40
@dannytsang
Copy link
Owner Author

BLE distance sensor is unstable and fluctuates. Need to look into some noise filtering or averaging sensor to see if the bin is away from the house or not.

dannytsang added a commit that referenced this issue Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant