Hi,
I have Home Assistant v107.6 running in a docker container behind an Apache Reverse Proxy using Let's Encrypt certificates.
Using Boomerang or CURL, I can send events and see them in the listener in HA. The reply is '200' as expected.
But the Netatmo API constantly ban my app very quickly.
How (where) can I see the actual response given by HA that causes Netatmo to ban ?
(I have DEBUG log level in HA, but haven't been able to find anything useful in the log)
Rgds
Viking
How to figure out why I'm banned by the API
Re: How to figure out why I'm banned by the API
Am I the only one who have ever had issues with webhook events from NETATMO?
Am I the only one who have been banned by NETATMO?
Please, show some compassion at least.....
Am I the only one who have been banned by NETATMO?
Please, show some compassion at least.....
Re: How to figure out why I'm banned by the API
Hello,
I have a quite similar problem since yesterday [11/May/2020:13:06:11 +02:00]. No more webhook call seen at all on my Apache logs and the app is banned again and again. Manual external php calls to my server are still ok and have been working for months.
I registered the webhook again, but with no more success.
Thanks for your help (and compassion )
I have a quite similar problem since yesterday [11/May/2020:13:06:11 +02:00]. No more webhook call seen at all on my Apache logs and the app is banned again and again. Manual external php calls to my server are still ok and have been working for months.
I registered the webhook again, but with no more success.
Has something changed or failed on Netatmo side ?curl -d 'grant_type=password&client_id=XXXXX&username=YYYYY&password=ZZZZZ&scope=read_camera read_presence' 'https://api.netatmo.net/oauth2/token'
>>> {"access_token":"AAAAA","refresh_token":"BBBBB","scope":["read_camera","read_presence"],"expires_in":10800,"expire_in":10800}
curl -d 'access_token=AAAAA&app_type=app_security' 'https://api.netatmo.com/api/dropwebhook'
>>> {"status":"ok","time_exec":0.01207113265991211,"time_server":1589271984}
curl -d 'access_token=AAAAA&url=https://www.mysite.org/call.php&app_type=app_security' 'https://api.netatmo.com/api/addwebhook'
>>> {"status":"ok","time_exec":0.011992931365966797,"time_server":1589272079}
Thanks for your help (and compassion )
-
- Posts: 67
- Joined: 15 Apr 2020, 08:32
Re: How to figure out why I'm banned by the API
Hello all,
I am using a Docker too but with Node-RED:
https://hub.docker.com/r/nodered/node-red/
An I use this node to take data from Netatmo:
https://flows.nodered.org/node/node-red ... -dashboard
I have a automatic request fixed at 15minutes.
And it seems to work fine (working for around 1 and 1/2 month).
I think the system you have ask too much requests.
what is the frequencies of the requests ?
Can you do a network analysis ?
I am using a Docker too but with Node-RED:
https://hub.docker.com/r/nodered/node-red/
An I use this node to take data from Netatmo:
https://flows.nodered.org/node/node-red ... -dashboard
I have a automatic request fixed at 15minutes.
And it seems to work fine (working for around 1 and 1/2 month).
I think the system you have ask too much requests.
what is the frequencies of the requests ?
Can you do a network analysis ?
Re: How to figure out why I'm banned by the API
Hello, thank you for your answer.
In our case, we are not generating requests to the Netatmo servers using their API. We are waiting for Netamo to perform webhooks callbacks upon cams events directly to our own local servers. For me, it has been working very well but today I can't find any Netatmo entry in the logs (server, proxy, firewall) on my side. The only thing that I can see is that the callback status comes to banned again and again on Netatmo Apps development website.
I'm still trying to search for a bug on my side, but currently have no more idea. So I would like to know if everything is OK on Netatmo backoffice and if my webhook settings are correct.
If someone in the dev support could check that, it would be very nice. Thanks again !
In our case, we are not generating requests to the Netatmo servers using their API. We are waiting for Netamo to perform webhooks callbacks upon cams events directly to our own local servers. For me, it has been working very well but today I can't find any Netatmo entry in the logs (server, proxy, firewall) on my side. The only thing that I can see is that the callback status comes to banned again and again on Netatmo Apps development website.
I'm still trying to search for a bug on my side, but currently have no more idea. So I would like to know if everything is OK on Netatmo backoffice and if my webhook settings are correct.
If someone in the dev support could check that, it would be very nice. Thanks again !
Re: How to figure out why I'm banned by the API
Hello, a few words to tell that everything is now back to normal after very successful exchanges with Netatmo support.
Openssl version was updated on May-11 on Netatmo backoffice side, and my server was only using the very old no more allowed deprecated TLS v1.0 protocol.
All is now ok, with Apache upgrade with new TLS versions.
Openssl version was updated on May-11 on Netatmo backoffice side, and my server was only using the very old no more allowed deprecated TLS v1.0 protocol.
All is now ok, with Apache upgrade with new TLS versions.
-
- Posts: 67
- Joined: 15 Apr 2020, 08:32
Re: How to figure out why I'm banned by the API
it's a nice to know feedback.
Indeed always upgrading the security is a good thing to do.
Indeed always upgrading the security is a good thing to do.