bouni / abfallplus Goto Github PK
View Code? Open in Web Editor NEWAbfallPlus component for Home Assistant
License: MIT License
AbfallPlus component for Home Assistant
License: MIT License
Is it possible to add support for the Abfallkalender Landkreis Göttingen (Niedersachsen)?
https://www.abfallplus.de/fuer-buerger/ states "Kreis Göttingen wird unterstützt".
I tried to find out the parameters with the help of the proxy app "postman" and the recommended Android App from https://www.abfallplus.de/, but failed so far.
Hay,
how could I create multiple entries?
I have Bio Waste, Paper, ...
Next ist how can I find the filter Patterns?
Thx
I live in an area served by AbfallPlus. What's the advantage of using this component over hacs_waste_collection_schedule?
Hi,
the repo is no longer available in HACS
Could you make it available again?
Thanks
Michael
Hi,
I get the following error when entering my data:
Invalid config for [sensor.abfallplus]: expected int for dictionary value @ data['street']. Got '2593bauernschaften'. (See /config/configuration.yaml, line 66). Please check the docs at https://github.com/Bouni/abfallplus
My configuration:
- platform: abfallplus
name: "Restmuell"
key: e21758b9c711463552fb9c70ac7d4273
municipality: 2593
street: 2593bauernschaften
trash_ids: "161, 53, 31, 169"
According to Payload it is the right street:
Version: 0.1.4
regards
First of all this thing is great!
But is there any way to translate the weekday to german?
Worked over a half year after Update Home Assistent its not Working anymore cant See any dates.
Hi,
Thanks for the API, unfortunately it's not working flawless for all types at my region: https://www.landkreis-bautzen.de/entsorgungstermine.php
Example stack for a not working case
11b7cdb0d1f7e0db19d4a420c13a7bda: 154c978ac61a3d40cd83bbcc117366a0
f_id_kommune: 4152
f_posts_json[]: a:4:{s:32:"11b7cdb0d1f7e0db19d4a420c13a7bda";s:32:"154c978ac61a3d40cd83bbcc117366a0";s:12:"f_id_kommune";s:4:"4152";s:12:"f_posts_json";a:0:{}s:11:"f_id_bezirk";s:1:"0";}
f_id_strasse: 929
f_posts_json[]: a:4:{s:32:"11b7cdb0d1f7e0db19d4a420c13a7bda";s:32:"154c978ac61a3d40cd83bbcc117366a0";s:12:"f_id_kommune";s:4:"4152";s:12:"f_posts_json";a:0:{}s:12:"f_id_strasse";s:3:"929";}
f_id_abfalltyp_3: 67
f_abfallarten_index_max: 5
f_posts_json[]: a:9:{s:32:"11b7cdb0d1f7e0db19d4a420c13a7bda";s:32:"154c978ac61a3d40cd83bbcc117366a0";s:12:"f_id_kommune";s:4:"4152";s:12:"f_posts_json";a:2:{i:0;s:170:"a:4:{s:32:"11b7cdb0d1f7e0db19d4a420c13a7bda";s:32:"154c978ac61a3d40cd83bbcc117366a0";s:12:"f_id_kommune";s:4:"4152";s:12:"f_posts_json";a:0:{}s:11:"f_id_bezirk";s:1:"0";}";i:1;s:173:"a:4:{s:32:"11b7cdb0d1f7e0db19d4a420c13a7bda";s:32:"154c978ac61a3d40cd83bbcc117366a0";s:12:"f_id_kommune";s:4:"4152";s:12:"f_posts_json";a:0:{}s:12:"f_id_strasse";s:3:"929";}";}s:12:"f_id_strasse";s:3:"929";s:16:"f_id_abfalltyp_3";s:2:"67";s:23:"f_abfallarten_index_max";s:1:"5";s:13:"f_abfallarten";s:6:"67,654";s:10:"f_zeitraum";s:17:"20220101-20221231";s:12:"f_export_als";s:148:"{'action':'https://api.abfall.io/?key=b3304e680c87061e9bc316acec33c80c&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_pdf','target':'_blank'}";}
f_abfallarten: 67
f_zeitraum: 20220101-20221231
f_export_als: {'action':'https://api.abfall.io/?key=b3304e680c87061e9bc316acec33c80c&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_csv','target':''}
The sensor didn't get any data:
- platform: abfallplus
name: Schwarze Tonne
key: b3304e680c87061e9bc316acec33c80c
municipality: 4152
street: 929
trash_ids: "67"
pattern: Schwarze Tonne
Hi,
I was able to get all the IDs and stuff but I can't get the config right. Could you please instruct how to setup this custom component?
Simply adding the yaml code you have on your README won't work.
Thanks a lot
After the update (https://www.home-assistant.io/blog/2023/06/07/release-20236/) I get following Error:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant.loader
Source: custom_components/abfallplus/sensor.py:61
Integration: abfallplus (documentation, issues)
First occurred: 09:38:16 (4 occurrences)
Last logged: 09:38:16
Unexpected exception importing platform custom_components.abfallplus.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/abfallplus/sensor.py", line 61, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
Maybe it can be fixed with PR #14 ?
Hi
Abfallplus is not available in HACS.
Therefore I tried to install manually and followed the install instructions.
I also implement the part in configuration.yaml, following your example.
AbfallPlus:
platform: abfallplus
name: Bio
key: 5b0384147b5bc055c30fee1fb6db6f76
municipality: 270
street: 15720
trash_ids: 51
Now I get all the time the error ....
The following integrations and platforms could not be set up:
Is my config wrong, or is api.abfallpluss no more up and running.
TX in advance
I configured the component as described, but my sensors show state "Unbekannt" (unknown).
There are not error notifications in HA. Is there a possibility to see some debug logs?
My config looks like:
- platform: abfallplus
name: Gelber Sack
key: e5543a3e190cb8d91c645660ad60965f
municipality: 3707
street: 241756
trash_ids: "695"
pattern: müll
I assume that my sensor configs are valid, because I just ran parts of your Python Code in visual studio and saw that the ICS file could be downloaded and contains the trash dates.
The AWV (Abfallwirtschaft Vechta) uses Abfallplus somehow, however it uses it's own App.
I can not use the original Abfallplus app and it prompts me to use the AWV app instead if I try.
Is it still possible to use this integration with it? Since I can not get the required IDs.
AWV Website
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.