Waste Management integration for Home Assistant
Pull your next pickup date for your trash and recycle from the Waste Managemet API. You will need an account to wm.com for this to work.
Determines your next Waste Management (https://www.wm.com) pickup times for use in Home Assistant.
Waste Management integration for Home Assistant
Pull your next pickup date for your trash and recycle from the Waste Managemet API. You will need an account to wm.com for this to work.
We have a 2 week recycle pickup and weekly trash pickup but I'm only seeing an entity for trash pickup ... did I miss something in the config?
Sensor stopped updating, I have tried removing and re-adding but it has not made any change. The sensor is unavailable.
I turned on debug logging but it didnt show to much more...
2024-01-05 17:50:37.564 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_collection_schedule.sensor
2024-01-05 17:50:37.576 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_collection_schedule.sensor
2024-01-05 17:50:37.603 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_collection_schedule.sensor
2024-01-05 17:50:37.624 INFO (MainThread) [homeassistant.components.calendar] Setting up waste_collection_schedule.calendar
2024-01-05 17:50:51.686 INFO (MainThread) [homeassistant.setup] Setting up waste_management
2024-01-05 17:50:51.686 INFO (MainThread) [homeassistant.setup] Setup of domain waste_management took 0.0 seconds
2024-01-05 17:51:10.009 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 17:51:10.012 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 17:51:20.215 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform waste_management is taking over 10 seconds.
2024-01-05 17:51:20.215 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform waste_management is taking over 10 seconds.
2024-01-05 17:51:30.410 ERROR (MainThread) [homeassistant.components.sensor] Platform waste_management does not generate unique IDs. ID 000264663993008_2 already exists - ignoring sensor.waste_management_recycle_pickup_day
2024-01-05 17:51:31.863 ERROR (MainThread) [homeassistant.components.sensor] Platform waste_management does not generate unique IDs. ID 000264663993008_1 already exists - ignoring sensor.waste_management_trash_pickup_day
2024-01-05 17:51:51.382 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set t = now() %} {% set midnight = today_at() %} {% set event = states('sensor.waste_management_recycle_pickup_day') | as_datetime | as_local %} {% set delta = event - midnight %} {% if delta.days == 0 %}
2024-01-05 17:51:51.386 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('AttributeError: 'NoneType' object has no attribute 'tzinfo'') while processing template 'Template<template=({% set t = now() %} {% set midnight = today_at() %} {% set event = states('sensor.waste_management_recycle_pickup_day') | as_datetime | as_local %} {% set delta = event - midnight %} {% if delta.days == 0 %}
2024-01-05 18:50:07.366 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 18:50:55.371 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 18:51:05.371 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform waste_management is taking over 10 seconds.
2024-01-05 18:53:13.605 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 18:54:35.839 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 18:54:53.419 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 18:58:03.944 INFO (MainThread) [homeassistant.components.sensor] Setting up waste_management.sensor
2024-01-05 18:58:13.061 ERROR (MainThread) [homeassistant.components.sensor] Platform waste_management does not generate unique IDs. ID 000264663993008_2 already exists - ignoring sensor.96_gallon_cart_service_recycle_materials
2024-01-05 18:58:13.339 ERROR (MainThread) [homeassistant.components.sensor] Platform waste_management does not generate unique IDs. ID 000264663993008_1 already exists - ignoring sensor.96_gallon_toter
2024-01-05 19:01:00.160 WARNING (MainThread) [py.warnings] /config/custom_components/waste_management/sensor.py:72: RuntimeWarning: coroutine 'WasteManagementSensorEntity.async_update' was never awaited
2024-01-05 19:01:17.053 WARNING (MainThread) [py.warnings] /config/custom_components/waste_management/sensor.py:72: RuntimeWarning: coroutine 'WasteManagementSensorEntity.async_update' was never awaited
2024-01-05 19:01:47.052 WARNING (MainThread) [py.warnings] /config/custom_components/waste_management/sensor.py:72: RuntimeWarning: coroutine 'WasteManagementSensorEntity.async_update' was never awaited
Home assistant 2024.01
I have a day delay because of Memorial Day, but it isn't showing up. Logging into my WM account, it still shows my normal pickup day but has a secondary info header of 'Holiday Schedule' that only lists Memorial Day and says it will be delayed by a day as a result. Not sure if this can be picked up somehow in the API, but I see this as primary use of this integration (dynamically adjusting for delays).
When does WM change from the previous (today's) backup to the next one?
My bins have been emptied several hours ago and I was hoping to use the change to next week's date as indication that they've been emptied.
I assume that ideally, that would come across on the API like it does on the app, but I understand that this is not in scope of this integration (yet), hence my interest in looking for the 'change of pickup date' as the workaround.
I'm assuming I need to add a config to my yaml similar to the following?
waste_management:
username: xxx
password: xxx
Getting "Unknown error occurred" when setting up the integration for the first time.
This is after entering my user name and password and selecting my service address.
After latest HA update the plugin just shows garbage can states as unavailable, after reinstalling plugin it just says Unknown error occurred when retrying to add to HA
Is there a chance to retrieve the info from the 'Planned Services', especially the status as a sensor?
This would show me, if my bins have been emptied already so that I can wheel them back into my garage.
https://api.wm.com/serviceplan/index.html
http://api.wm.com/v1/customers/123456789/services/plan
I've installed the integration, and have two sensors ( one for each trash service) but I'm not seeing a calendar entity. Is there a way to integrate this into the calendar?
"Unknown error occurred"
I confirmed that I am using the correct username/password by signing into wm.com
Please advise
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.