home-assistant.io/source/_integrations/recollect_waste.markdown
2019-10-02 00:04:39 +02:00

1.7 KiB

title, description, logo, ha_category, ha_release, ha_iot_class
title description logo ha_category ha_release ha_iot_class
Recollect Waste Sensor Instructions on how to set up Recollect Waste sensor within Home Assistant. recollect-waste.png
Sensor
0.87 Cloud Polling

The recollect_waste integration allows you to track the next scheduled waste pickup and what type of waste from Recollect. To use this sensor your city's waste company must be Recollect and you will need to find your place_id and service_id.

  1. In Chrome open developer tools and go to the network tab.

  2. Go to your city's Recollect collection calendar.

  3. Search for and select your address in the UI.

  4. Watch for a request that looks like

    https://api.recollect.net/api/places/(place_id)/services/(service_id)/events?nomerge ...

  5. Use the place_id and service_id when configuring the sensor.

Configuration

To enable this sensor, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
sensor:
  - platform: recollect_waste
    place_id: YOUR_PLACE_ID
    service_id: YOUR_SERVICE_ID

{% configuration %} place_id: description: The place_id used for your neighbourhood. required: true type: string service_id: description: The service_id used for your city. required: true type: string name: description: Name the sensor. required: false type: string default: recollect_waste {% endconfiguration %}

The default frequency for pulling data from Recollect Waste is once a day (86400 seconds).

The Recollect Waste sensor uses the Recollect API URL to obtain data not an official API from Recollect. Use at your own risk.