Netatmo webhooks delay
Last year when we implemented the Netatmo Doorbell, the webhooks were sent just after pressing the button (NDB-incoming_call).
In the recent months the webhooks started to take a long time to arrive: 15 to 40 seconds. Making our doorbell take a very long timr to ring.
We have debugged every possible variable, but unfortunately it seems like a problem from Netamo:
- We have ensured the doorbell has good wifi coverage.
- We have purchased and are using the Netatmo official power supply.
- We have re-installed the application and reset tokens.
- We have ensured our API is instantaneously reachable from anywhere in the world.
- We have reduced data/footage retention to the minimum.
Before, when we got the webhook, most of the times the image was not even available in the Azure Blob Storage. We even have a routine in our API that does something to the image when it become available. We can actually tell that before, it was quite common to wait a few seconds for the image to become ready, while now, most of the times when we receive the webhook the image has finished uploading.
Did you change anything on your side to wait for the image before sending the webhook? If so, can we enable the webhook to fire instantaneously even if the image is not available?
Thank you in advance.
Comments
9 comments
Update:
We had a few really bad days last week. But more recently it seems that it has improved quite a bit.
We had two doorbell disconnects during the weekend early mornings. Hopefully it was an update on your side. Or maybe we are just getting superstitious because your service sometimes works okay, other times not so well.
Hopefully it continues working well, without problems in the near future. Just made a test and we received the notification in less than 6 seconds, which is quite good for us. Obviously less than 2 or 3s would be ideal.
I still have some open questions:
This will be specially relevant when you discontinue your service.
Thank you.
CC: @Leslie
- Related thread
- Related blogpost for you to see what we are doing with these webhooks.
Hi Francisco,
We pushed a fix concerning the webhook delays on Friday 20 September. We waited 1 week to see the user's feedbacks and check logs, and good news : it seems to have significantly reduced the sending time
Concerning your questions :
Have a good day,
Leslie - Community Manager
Thank you for your answer. This is great!
Hello again @Leslie,
Unfortunately it got worse over time. right now is so bad that it is not usable at all.
We get the notifications in the official mobile app around 20 seconds after ringing, but the integration receives the webhook more than 1 minute later. Sometimes way more.
Can you do something about this?
Thank you.
Hi Francisco,
I posted an answer to this about a week ago : https://helpcenter.netatmo.com/hc/en-us/community/posts/25952656570898-Webhook-heavily-delayed
Unfortunately, the webhook component needs a total rework. The topic is launched on our developer's side but I can't tell when it will be good. I'll try to warn somehow on the forum when the situation will be better
Have a good day,
Leslie - Community Manager
Any update to share @Leslie?
Hello Joost,
I had the confirmation that the refactoring of webhooks will start beginning of September. But I don't have for now more information about its effective release
Have a good day,
Leslie - Community Manager
Any updates @Leslie ?
Hi,
Any update on this subject please?
Also, I have many indoor and outdoor cameras that work very well in Home Assistant with the Netatmo API. On the other hand, I have a Netatmo Doorbell which has a problem with the snapshot_url in the events.
All the netatmo_events that are received for indoor and outdoor cameras start with
https://prodvpn-eu-11.netatmo.net/restricted/10.255.255.245 ....... And the image is always received correctly
Only the incoming_call events from the doorbell start with
https://netatmocameraimage.blob.core.windows.net/production/... The image always gets error 403 or 404.
All other events from the doorbell start with https://prodvpn-eu-11.netatmo.net/restricted/10.255.255.245....
similar to the other cameras and work fine.
So only the incoming_call events have the Azure blob storage url and they always fail to provide an image with errors.
Any suggestion to fix this please?
Please sign in to leave a comment.