2022-03-30 21:50:39 +02:00

3.1 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_domain, ha_platforms, ha_integration_type
title description ha_category ha_release ha_iot_class ha_domain ha_platforms ha_integration_type
ROVA Instructions on how to integrate ROVA sensor within Home Assistant.
Sensor
0.87 Cloud Polling rova
sensor
integration

ROVA is a waste collection company that operates in the center and east of the Netherlands. The rova platform uses an unofficial ROVA API to allow you to get your waste collection schedule and integrate this in your Home Assistant installation.

Configuration

To use the ROVA sensor in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: rova
    zip_code: ZIP_CODE
    house_number: HOUSE_NUMBER

{% configuration %} zip_code: description: Your zip code. required: true type: string house_number: description: Your house number. required: true type: string house_number_suffix: description: A suffix for your house number. required: false type: string name: description: Let you overwrite the name of the device in the frontend. required: false default: Rova type: string monitored_conditions: description: ROVA information to be monitored. The following collection dates can be monitored. required: false type: list keys: bio: description: Upcoming collection date of your biodegradable waste paper: description: Upcoming collection date of your paper waste plastic: description: upcoming collection date of your plastic waste residual: description: Upcoming collection date of your general waste {% endconfiguration %}

If no monitored_conditions are specified, only bio will be enabled.

Full configuration sample

A full configuration entry would look like the sample below.

# Example configuration.yaml entry
sensor:
  - platform: rova
    zip_code: ZIP_CODE
    house_number: HOUSE_NUMBER
    house_number_suffix: HOUSE_NUMBER_SUFFIX
    name: Rova
    monitored_conditions:
      - bio
      - paper
      - plastic
      - residual

To have your Home Assistant installation remind you of upcoming waste collections, combine the rova platform with some Automations and a notification platform.

{% raw %}

# Example configuration.yaml entry for Rova waste collection reminder
automation:
  - id: rova-garbage-bio-reminder
    alias: "Send Rova Bio waste collection reminder"
    trigger:
      - platform: time
        at: "19:00:00"
    condition:
      - condition: template
        value_template: "{% if (as_timestamp(states('sensor.rova_garbage_gft')) - as_timestamp(now())) < 43200 %}true{% endif %}"
      - condition: template
        value_template: "{% if (as_timestamp(states('sensor.rova_garbage_gft')) - as_timestamp(now())) > 0 %}true{% endif %}"
    action:
      - service: NOTIFICATION_SERVICE
        data:
          message: "Reminder: put out biowaste bin"

{% endraw %}

This integration is not affiliated with Rova and retrieves data from the endpoints of their website. Use at your own risk.