guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
78 stars 30 forks source link

Night arm is not working #221

Closed hajar97 closed 5 months ago

hajar97 commented 6 months ago

Is it by design that Night arming is not working?

I would like to create an automation that after certain hour in the evening a Night arming would turn on. Currently I have to manually do that through My Securitas app or web and Night arming in HA doesn't do anything. Can this be fixed somehow?

cantupaz commented 6 months ago

I use night mode almost daily, so it's supposed to work.

Do all the other modes work well?

Do you have an alarm with sensors outside your home (perimetral or exterior)?

guerrerotook commented 5 months ago

Do you have any kind of log?

hajar97 commented 4 months ago

I was just trying to get the long and found out that I cannot connect to Securitas from my home network anymore, neither via web nor via mobile phone app My Verisure. Connecting via 4G works perfectly.

Could it be that my IP addressed got banned by Verisure because Home Assistant app was polling the API too much and they blocked it?

On 28 Apr 2024, at 12:55, Luis Guerrero @.***> wrote:

Do you have any kind of log?

— Reply to this email directly, view it on GitHub https://github.com/guerrerotook/securitas-direct-new-api/issues/221#issuecomment-2081433872, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7WEEIHNMRB5INYIPG3Y7TIT5AVCNFSM6AAAAABFHQZP52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGQZTGOBXGI. You are receiving this because you authored the thread.

guerrerotook commented 4 months ago

Hey @hajar97, what is happening is that what was reported before.

https://github.com/guerrerotook/securitas-direct-new-api/issues/230#issuecomment-2099482334

The problem is that when you make that amount to request to their API they kindly ban your IP for a period but if you keep making request then you are expanding your ban.

So what I did from my side was to increase the amount of time my alarm updates to an hour.

hajar97 commented 4 months ago

Why let people get banned and then manually update this parameter when they discover the issue. Why not set this to be the default update frequency in the plugin so nobody gets banned?On 16 May 2024, at 14:38, Luis Guerrero @.***> wrote: Hey @hajar97, what is happening is that what was reported before.

230 (comment)

The problem is that when you make that amount to request to their API they kindly ban your IP for a period but if you keep making request then you are expanding your ban. So what I did from my side was to increase the amount of time my alarm updates to an hour.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>