-
-
Notifications
You must be signed in to change notification settings - Fork 267
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 Notofication - new feature #800
Comments
this can be easy done with an own automation: - id: 'waste_collection'
alias: Müll Rausstellen
trigger:
- platform: time
at: '17:00:00'
condition:
- condition: numeric_state
entity_id: sensor.abfallnaechster
below: 2
action:
- service: esphome.nspanel02_play_rtttl
data:
song_str: "MahnaMahna:d=16,o=6,b=125:c#,c.,b5,8a#.5,8f.,4g#,a#,g.,4d#,8p,c#,c.,b5,8a#.5,8f.,g#.,8a#.,4g,8p,c#,c.,b5,8a#.5,8f.,4g#,f,g.,8d#.,f,g.,8d#.,f,8g,8d#.,f,8g,d#,8c,a#5,8d#.,8d#.,4d#,8d#."
- service: esphome.nspanel02_notification_show
data:
label: 'Abfuhrkalender'
text: "Müll rausstellen: {{ states.sensor.abfallnaechster.attributes.values() | first | replace('GelberSack', 'Gelber Sack') | replace('Restmuell', 'Restmüll') }}" In this example every day at 17:00 waste-collection is checked. If something is picked up tomorrow it plays a sound and shows the notification. To implement this into the blueprint would maybe be possible, but is out of scope of this project. |
Hi, I'm interested in this feature, too. I use a chip (in the color of the bin) for each bin. < Waste of 3 Chips, I have 4 different bins. I would be glad if there is a possibility to show a -depending on which bin is going to be collected- colored icon on the lower right corner of the main page. Or maybe there will be a possibility to have a colored frame around the main page... Depending on the bin. |
There is the service service: esphome.xxxxx_set_component_color
data:
component: home.icon_top_04
foreground: [255, 0, 0]
background: [] The colors are passed in a array like [red, green, blue], from 0 to 255, so the example above will change the color to red without changing the background. The chips 1 to 7 are using components How you see that solution? |
is it also possible to change the sensor-icon-color? If yes, what is the name of the component? |
Yes, it should work. Component names for icons are |
#1473 Found this thread, have raised a seperate idea so that acknowledgment of the notification can update HA also |
created a custom template in configuration.yaml for the afvalwijzer integration:
Then changed the nspanel yaml (automation) to show chips on today and tomorrows waste collection state:
|
Many of us are using Waste collection integrations - and many of those have attribute DAYS_TO
Like here:
It would be great to add an option to see Which Bin is gonna be collected in...(1 day or so) and here set how many days from the attribute.
Let's say the day before collection you can set the lid color or icon or description of the due bin
This could be implemented as a notification as well - with the manual/automatic after-due day option 'remove'
The text was updated successfully, but these errors were encountered: