sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
Other
234 stars 124 forks source link

What's the minimum delay before sending a PushNotification with a SinricPro device? #335

Closed brunoaduarte closed 1 year ago

brunoaduarte commented 1 year ago
#include <Capabilities/PushNotification.h>
.....
friend class PushNotification<MyDevice>;
.....
sendPushNotification("Test");

If I try to send this push notification, wait a few seconds and send a new one, the 2nd message never arrives. Is there a minimum delay before sending a new PushNotification with a SinricPro device? Is there a way to reduce this delay?

Thanks

sivar2311 commented 1 year ago

Hi @brunoaduarte

Is there a minimum delay before sending a new PushNotification with a SinricPro device?

Yes, the minimum delay is 60 seconds

Is there a way to reduce this delay?

No, because this limit is set to protect the server from flooding.