Creates sensors for Home Assistant with the collection information for the bins within a suburb in the ACT
This app is best installed using HACS, so that you can easily track and download updates.
Alternatively, you can download the act_garbage
directory from inside the apps
directory here to your local apps
directory, then add the configuration to enable the act_garbage
module.
The ACT Open Data site provides this information, this just makes the information available as sensors in HA.
As this is non time critical sensor, it only gets the information on a set time schedule, once per day at 5.27am. It also asks for you to provide an input_boolean that you specify for when to update the sensor on your own time. You can obviously automate when you want that input_boolean to turn on.
You will need to create an input_boolean entity to watch for when to update the sensor. When this input_boolean
is turned on, whether manually or by another automation you create, the scraping process will be run to create/update the sensor.
Please add the following packages to your appdaemon 4 configuration on the supervisor page of the add-on.
system_packages: []
python_packages: []
init_commands: []
No specific packages are required for this app.
In the apps.yaml file in the appdaemon/apps directory -
act_garbage:
module: act_garbage
class: Get_ACT_Garbage
GAR_FLAG: "input_boolean.check_act_garbage"
SUBURB: "CITY"
SPLIT_SUBURB: ""
key | optional | type | default | description |
---|---|---|---|---|
module |
False | string | act_garbage |
|
class |
False | string | Get_ACT_Garbage |
|
GAR_FLAG |
False | string | The name of the flag in HA for triggering this sensor update - e.g. input_boolean.check_act_garbage | |
SUBURB |
False | string | The name of the suburb to get the information for | |
SPLIT_SUBURB |
True | string | A number of suburbs have a North/South split, include if needed. |
This version will create 4 sensors & 6 binary sensors
- sensor.act_garbage_last_updated
- sensor.act_garbage_pickup
- sensor.act_recycling_pickup
- sensor.act_greenwaste_pickup
- binary_sensor.act_garbage_today
- binary_sensor.act_garbage_tomorrow
- binary_sensor.act_recycling_today
- binary_sensor.act_recycling_tomorrow
- binary_sensor.act_greenwaste_today
- binary_sensor.act_greenwaste_tomorrow
Please log any issues or feature requests in this GitHub repository for me to review.