22 KiB
App CITIES
Support for schedules provided by App CITIES, serving App CITIES, Austria.
Supported cities
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: CITY
calendar: CALENDAR
password: PASSWORD
email: EMAIL
phone: PHONE
Configuration Variables
city
(String) (required)
calendar
(String) (required)
email (String) (required if no phone number is provided)
phone (String) (required if no eimail is provided)
password (String) (required)
After an update of the APP, CITIES disabled guest access. You need to register with your (email or phone number) and password in the app. You now need to provide the same credentials in the configuration. (provide email or phone number but not both)
Example
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: Fürstenfeld
calendar: Haushalt Altenmarkt
password: PASSWORD
email: EMAIL
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: Buch - St. Magdalena
calendar: Buch - St. Magdalena
phone: PHONE
password: PASSWORD
waste_collection_schedule:
sources:
- name: citiesapps_com
args:
city: Rudersdorf
calendar: Rudersdorf 3
email: EMAIL
password: PASSWORD
How to get the source argument
Easy with CITIES app
The easiest way to find the parameter of your address is using CITIES app directly:
- Select your city.
- Use the exact spelling like in the app for the city parameter.
- Open
Services. - Open
Garbage calendar. - You should now see the garbage calendar(s) use the exact spelling for the calendar parameter.
- If the names are not descriptive enough you mostly can search by address
- Open
Search via address. - Select your details.
- You should now see in the left top corner the garbage calendar name above your selected address.
More complicated with terminal wizard
If you do not want to install the app: The more complicated variant to get the parameter is by using the wizard at custom_components/waste_collection_schedule/waste_collection_schedule/wizard/citiesapps_com.py:
- Clone the repository:
git clone https://github.com/mampfes/hacs_waste_collection_schedule - Make sure inquirer is installed
pip install inquirer - Run the python script
python hacs_waste_collection_schedule/custom_components/waste_collection_schedule/waste_collection_schedule/wizard/citiesapps_com.pyorpython3 hacs_waste_collection_schedule/custom_components/waste_collection_schedule/waste_collection_schedule/wizard/citiesapps_com.py. Windows:python hacs_waste_collection_schedule\custom_components\waste_collection_schedule\waste_collection_schedule\wizard\citiesapps_com.py