I’m getting it finally to work with Limburg.Net !! Nice work !
Unfortunately, I’m having issues with following warning:
* Template warning: 'as_timestamp' got invalid input '03 Feb' when rendering template '{{as_timestamp(strptime(states('sensor.limburg_net_pmd'),'%d-%m-%Y'))}}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
After a restart my Afvalwijzer doesn’t work anymore. I got an error message saying the ‘include_date_today’ parameter isn’t known. Strange, but disabling it in configuration.yaml made the error go away.
However, I don’t get any info anymore for the different pickup dates: it just says Unknown. Were there any changes I’m not aware of? Or is the service down?
Hi,
Today I tried to setup this integration but I ran into the following error which I can’t get my head around without any help of you:
Source: custom_components/afvalwijzer/collector/mijnafvalwijzer.py:76
Integration: Sensor (documentation, issues)
First occurred: 16:13:27 (1 occurrences)
Last logged: 16:13:27
Error while setting up afvalwijzer platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/afvalwijzer/sensor.py", line 69, in async_setup_platform
collector = await hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/afvalwijzer/collector/mijnafvalwijzer.py", line 47, in __init__
) = self.get_waste_data_provider()
File "/config/custom_components/afvalwijzer/collector/mijnafvalwijzer.py", line 76, in get_waste_data_provider
json_response["ophaaldagen"]["data"]
KeyError: 'ophaaldagen'
I can’t find/see the sensors in my developer tools either.
What can be the case?
For those interested in using Node-RED instead of Home Assistant automations and Template Sensors, I shared and explained my setup here: Afvalwijzer automation with Node-RED
It is, I’ve given up as well and seeing the last meaningful post was months ago, I am not the only one.
This thread is riddled with questions that do not seem to get answered.
I’d love to have just a quick manual for the basic configuration, but the github page is messy, just snippets of code without context.
the images are scattered around in this thread, did you search for them at all? try image in the search box…\
also, they are in the authors GitHub repo . and you can ofc add your own images if you like, there’s no such thing as The images.
if you save the images you like in a map in eg /config/www/images/afvalwijzer , you can reference then in the lovelace cards and use /local/images/afvalwijzer
Thank you for your fast reply. I downloaded the files from HACS, so as far as I can see it downloaded everything from GitHub, so also the full repo. But I don’t know how to add the images to the lovelace card.
For now it looks like this (without the brown bar ofc):