Wasteplan TRV
Wasteplan component for Trondheim Renholdsverk (TRV). This component provides sensors for your bins or containers and gives you status about pickup.
Installation
Manual installation
Download or clone and copy the folder custom/components/wasteplan_trv
into your custom_components/
Installation via Home Assistant Community Store (HACS)
- Ensure HACS is installed.
- Search for and install the "Wasteplan TRV" integration
- Configure the sensor
- Restart Home Assistant
Finding your ID
To locate your ID, append your address to the end of one of the URLs below, either bin or container.
- Bins: https://trv.no/wp-json/wasteplan/v1/bins/?s=
- Containers: https://trv.no/wp-json/wasteplan/v1/containers/?s=
Configuration variables
Variable | Required | Type | Description |
---|---|---|---|
id |
yes | integer | Bin/Container ID. |
pickup_day |
no | integer | Pickup day of the week. Defaults to 0 (Monday). |
Example
sensor:
- platform: wasteplan_trv
id: 774
pickup_day: 0