Comments (10)
So I think I figured it out. The ICS that is downloaded by the integration does only contain the current year!
If I filter the raw ICS I get this as result for Papier events:
Papier
2023-02-10
Papier
2023-04-06
Papier
2023-06-03
Papier
2023-07-28
Papier
2023-09-22
Papier
2023-11-17
So after November 17th you'll get Unbekannt because there's no event in the calendar.
I will see If i can download all calendar files and merge them befor parsing.
from abfallplus.
Please share your municipality, ideally the URL from where you got the config values.
from abfallplus.
The same error happens on my side. I request Restmüll, Gelber Sack and Papier. All requests get a value except Papier.
Here is my data:
Local waste disposal company: https://www.egst.de/de/abfallabholung/
Configuration:
- platform: abfallplus
name: Restmuell
key: e21758b9c711463552fb9c70ac7d4273
municipality: 2593
street: 495
trash_ids: "50,161,53,31,169,50,161,53,31,169"
pattern: Restm
- platform: abfallplus
name: Gelber Sack
key: e21758b9c711463552fb9c70ac7d4273
municipality: 2593
street: 495
trash_ids: "50,161,53,31,169,50,161,53,31,169"
pattern: Gelber Sack
- platform: abfallplus
name: Papier
key: e21758b9c711463552fb9c70ac7d4273
municipality: 2593
street: 495
trash_ids: "50,161,53,31,169,50,161,53,31,169"
pattern: Papier
Response of the API:
9ab708b7393b9dbffb0929e78bcc2d81: 4f9a48b43048d722ea03162bd01699d6
f_id_kommune: 2593
f_posts_json[]: a:2:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";}
f_id_bezirk: 492,493
f_posts_json[]: a:4:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:0:{}s:11:"f_id_bezirk";s:7:"492,493";}
f_id_strasse: 2593bauernschaften
f_posts_json[]: a:5:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:1:{i:0;s:117:"a:2:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";}";}s:11:"f_id_bezirk";s:7:"492,493";s:12:"f_id_strasse";s:18:"2593bauernschaften";}
f_id_strasse_hnr: 495
f_posts_json[]: a:6:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:2:{i:0;s:117:"a:2:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";}";i:1;s:176:"a:4:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:0:{}s:11:"f_id_bezirk";s:7:"492,493";}";}s:11:"f_id_bezirk";s:7:"492,493";s:12:"f_id_strasse";s:18:"2593bauernschaften";s:16:"f_id_strasse_hnr";s:3:"495";}
f_id_abfalltyp_0: 50
f_id_abfalltyp_1: 161
f_id_abfalltyp_2: 53
f_abfallarten_index_max: 5
f_posts_json[]: a:14:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:3:{i:0;s:117:"a:2:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";}";i:1;s:176:"a:4:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:0:{}s:11:"f_id_bezirk";s:7:"492,493";}";i:2;s:352:"a:5:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";s:12:"f_posts_json";a:1:{i:0;s:117:"a:2:{s:32:"9ab708b7393b9dbffb0929e78bcc2d81";s:32:"4f9a48b43048d722ea03162bd01699d6";s:12:"f_id_kommune";s:4:"2593";}";}s:11:"f_id_bezirk";s:7:"492,493";s:12:"f_id_strasse";s:18:"2593bauernschaften";}";}s:11:"f_id_bezirk";s:7:"492,493";s:12:"f_id_strasse";s:18:"2593bauernschaften";s:16:"f_id_strasse_hnr";s:3:"495";s:16:"f_id_abfalltyp_0";s:2:"50";s:16:"f_id_abfalltyp_1";s:3:"161";s:16:"f_id_abfalltyp_2";s:2:"53";s:16:"f_id_abfalltyp_3";s:2:"31";s:23:"f_abfallarten_index_max";s:1:"5";s:13:"f_abfallarten";s:16:"50,161,53,31,169";s:10:"f_zeitraum";s:17:"20230101-20231231";s:12:"f_export_als";s:148:"{'action':'https://api.abfall.io/?key=e21758b9c711463552fb9c70ac7d4273&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_pdf','target':'_blank'}";}
f_abfallarten: 50,161,53,31
f_zeitraum: 20230101-20231231
f_export_als: {'action':'https://api.abfall.io/?key=e21758b9c711463552fb9c70ac7d4273&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_pdf','target':'_blank'}
from abfallplus.
I think you got the street
wrong.
Altenberge only gives two options for streets, "Innenbereich" -> 491
or "Aussenbereich" -> 492,493
Please try the right value for your street and test again.
from abfallplus.
🤦🏽 It's quite a long time since I built this plugin and I forgot a lot since then. I need to check whats actuall yworng as you did everything according to the instructions
from abfallplus.
When I tried to insert "492,493"
as street I got the error that an INT is expected. Unfortunately, the individual values do not lead me to success either.
If I leave out the pattern pattern: Papier
in the setting for paper, I get values for the Gelber Sack or Restmüll.
from abfallplus.
Ok, so I'm rather confident that its some kind of bug with recurring_ical_events
If I filter the event with it, all Papier entrys are gone for some reason.
I investigate this further ...
from abfallplus.
Hi,
I have the same issue with v0.3.0. Sensors with dates in 2024 are in state "unknown". I checked the ical for my city/street for 2024 (http://abfall-landkreis-waldshut.de), looks good. Reinstalled the abfallplus integration as well, with no effect.
Any ideas?
my config:
sensor:
- platform: abfallplus
name: Biotonne
key: 5b0384147b5bc055c30fee1fb6db6f76
municipality: 271
street: 15722
trash_ids: "51,17,31,43,20"
pattern: Biotonne - platform: abfallplus
name: Restmüll
key: 5b0384147b5bc055c30fee1fb6db6f76
municipality: 271
street: 15722
trash_ids: "51,17,31,43,20"
pattern: Restmüll - platform: abfallplus
name: Gelber Sack
key: 5b0384147b5bc055c30fee1fb6db6f76
municipality: 271
street: 15722
trash_ids: "51,17,31,43,20"
pattern: Gelber Sack - platform: abfallplus
name: Blaue Tonne
key: 5b0384147b5bc055c30fee1fb6db6f76
municipality: 271
street: 15722
trash_ids: "51,17,31,43,20"
pattern: Blaue Tonne
![Bildschirmfoto 2023-12-16 um 18 29 06](https://private-user-images.githubusercontent.com/12441798/291007113-5e57af3e-689b-4a7a-b323-a68525e6cdc3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDM2MTkzOTgsIm5iZiI6MTcwMzYxOTA5OCwicGF0aCI6Ii8xMjQ0MTc5OC8yOTEwMDcxMTMtNWU1N2FmM2UtNjg5Yi00YTdhLWIzMjMtYTY4NTI1ZTZjZGMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjI2VDE5MzEzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiNDFjODUyMzBkNDAwODk0Y2FmMjA3YjM2N2ZlNDMwMmZmMmU0YjhiY2RhNTk2YWEwOGZhYWJiOWM1YzIwNTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.T1K5886bxme_nmtTZ1XR4kx7mLUgedfTKoZnr4aYkHw)
from abfallplus.
Related Issues (13)
- Still working? HOT 2
- [Request] Support for Abfallkalender Landkreis Göttingen (Niedersachsen) HOT 8
- Is it possible to use this for the Landkreis Vechta? HOT 1
- Dont work after Home Assistent update
- 2023.6.01 Home Assistant Update HOT 1
- No longer in Hacs HOT 3
- How to configure HOT 3
- Weekdays translation HOT 9
- No data for specific waste type HOT 2
- Error: Expected int for street HOT 9
- Only one Trash entry allowed? HOT 2
- advantage over hacs_waste_collection_schedule HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abfallplus.