Here is my auto-entities based card that combines both the PostNL integration and this DHL sensor via multiscape. Unfortunately I’ve only got one package from PostNL at the moment.
Another bit of inspiration for anyone. After setting up the PostNL sensor sensor.postnl_delivery and the DHL sensor sensor.dhl_packages, I’ve created a calendar named calendar.packages. This automation below automatically adds the to the calendar once a delivery time window is known.
For any others having same issue… you need to download the zip folder, unzip - and then install from the folder it creates (even if you create the same named folder).
So, I was able to get it installed an authenticate.
Trying to install the lovelace but there is so much conflicting posts about this I’m struggling to get anywhere.
Hello,
I have now managed to install the integration. I can see the basic sensors (See below).
However, I’m so confused how to install the card?
When I go to this page - the first message says: This card is not compatible with the current Home Assistant component
So, given i’ve the most recent integration, I’m thinking this means that this wont work for me. (although I have tried to install it)
When I go through all the posts in this post… it seems to be referencing this very lovelace card, so I’m a bit confused. It’s also 5 years old…
And then those who have had similar issues - there’s no similarity /resolution…
So, I have some questions:
Where and what is the correct lovelace card?
Is there a definitive guide on how to install this properly?
I know this will likely be down to my lack of dev. knowledge - but I am learning.
Thank you - and thanks to everyone who has made this integration possible, it’s a great idea!
Same issue here, in the browser I do get the json output (before logging in ofcourse). I also tried Postman to troubleshoot the credentials and there it works.
Logs from HA:
2024-10-30 15:03:35.391 ERROR (MainThread) [custom_components.multiscrape.coordinator] Scraper_noname_0 # Updating failed with exception: Client error '400 Bad Request' for url 'https://my.dhlecommerce.nl/api/user/login'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
2024-10-30 15:03:35.514 ERROR (MainThread) [custom_components.multiscrape.coordinator] Scraper_noname_1 # Updating failed with exception: Client error '400 Bad Request' for url 'https://my.dhlecommerce.nl/receiver-parcel-api/parcels'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
2024-10-30 15:03:35.514 ERROR (MainThread) [custom_components.multiscrape.sensor] Scraper_noname_1 # DHL Pakketten # Unable to scrape data: Skipped scraping because data couldn't be updated
Consider using debug logging and log_response for further investigation.
2024-10-30 15:03:35.514 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.parcels | selectattr('category', 'search', '(PROBLEM|CUSTOMS|DATA_RECEIVED|EXCEPTION|INTERVENTION|IN_DELIVERY|LEG|UNDERWAY|UNKNOWN)') | list }}'
2024-10-30 15:03:37.480 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
EDIT: Somehow after some time it started working. I added a refresh button and this somehow triggered it?