Doh! Couldn’t find that state in my history, I corrected it.
Ah that explains live.
We began to receive the ETA when our town shifted to distribution centre’s. Before the delivery was made by a local Jumbo. Orders where brought in from a central distribution centre and filled up by the local Jumbo. They then used their own car to deliver.
Eindhoven and area have now switched to a large distribution centre with the sole purpose of providing orders for deliveries. So ‘not local’ drivers now deliver the goods and the status updates now come from their main distribution centre, which is a different system.
Yeah I think it only updates once every 15 minutes, so I should lower that time. I probably also can fix the time format, as time is enough and date is unnecessary.
Furthermore I think I will create a separate “live” sensor. Then you can keep track of a state change and apply an automation on it.
I’ll work on it the upcoming days so I can try it out myself on Monday
The new sensor “jumbo_live” sounds great.
But for me it doesn’t work at the moment. I’ve configured my automation like this:
- id: '1616884611601'
alias: Jumbo - Hey, Je bestelling is er bijna!
trigger:
- entity_id: sensor.jumbo_live_3
platform: state
from: unknown
condition: []
action:
- data:
message: Je bestelling is er bijna! De verwachting is dat hij er om {{ states('sensor.jumbo_live_3')
}} zal zijn.
title: Jumbo
service: notify.mobile_app_iphone_van_bjorn
mode: single
Today the Jumbo came by and my ready_to_deliver automation worked great, as usual. But the jumbo_live sensor stayed in unknown state.
Yeah 0.8.1 should fix it. It worked for me last Friday and will check again today. Additionally, good to check if your jumbo app also displays the ETA time at a certain point. Not sure if it’s supported across the entire country.
Had a delivery from Jumbo this week and the Jumbo app didn’t display an ETA. So indeed something that has not been implemented yet across the country.
We do receive an SMS when they will be arriving, but no info in the app at the moment so also no info available via the jumbo_live sensor in 0.8.1 yet.
Still looking in to it, but my time is limited. Problem resides in the fact they implemented bot protection, much like postnl did a while back.
Potential work around could be to use the web API, but that also contains some protection. Best would be to get in touch with Jumbo if there is a workaround for us.
I installed the integration today and I keep getting the message that my username or password is wrong. When using the original Python module, I get the same; so I am assuming either I am doing something wrong or the API changed.
As username I use my email address, which I use to log in onto the regular website (jumbo.com), and as password, the password I use…
Might this be related to what others are seeing?
@ptnijssen; if you require additional effort from someone else, e.g. me, for reversing or fixing anything - please PM me (Dutch is fine). I might be of help here.
It might be possible to get this integration back up and running. According to this post, Jumbo removed the bot protection and replaced the login method by using default OAuth, what is supported by Home Assistant I believe.
It would require a similar path (with a temporarily browser extension) like what has been done with the PostNL integration you can find here and here.
It’s been a while however since I used the Jumbo delivery services, so I am not really up for that challenge I think. Perhaps someone else wants to puzzle a bit.