Giter Site home page Giter Site logo

Comments (6)

bigramonk avatar bigramonk commented on August 11, 2024 1

I am talking about the OTP that you receive by SMS from Securitas, not the code of the alarm.
Every time Home Assistant is restarted, you need to ask Securitas to re-issue that 6 digit pin to authorize the addon to connect to Securitas.

from securitas-direct-new-api.

guerrerotook avatar guerrerotook commented on August 11, 2024

You can disable the pin in Home Assistant. Also the pin in Home Assistant is not related to the Securitas Direct at all.

from securitas-direct-new-api.

guerrerotook avatar guerrerotook commented on August 11, 2024

But that is something else, no one need to reenter the otp authentication once you successfully authenticated with Securitas. Actually that was an issue when they introduced this otp challenge.

For you information that was the original issue when I worked on this.

#57

So there is something wrong with your integration. Did you update to the latest version?

from securitas-direct-new-api.

bigramonk avatar bigramonk commented on August 11, 2024

Yes, I'm running v2.3.0.0.
I completely removed the integration, rebooted HA and all addons, re-installed the integration but I still have to go thru the OTP challenge after every HA restart:
image
image
image
Here is what I get in the log:

2023-10-23 20:38:13.943 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration securitas which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-23 20:38:46.404 WARNING (SyncWorker_4) [homeassistant.helpers.service] Unable to find services.yaml for the securitas integration
2023-10-23 20:38:49.233 WARNING (MainThread) [homeassistant.components.alarm_control_panel] Setup of alarm_control_panel platform securitas is taking over 10 seconds.
2023-10-23 20:40:10.192 ERROR (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Unauthorized

If it is not the expected behavior, I'd be very grateful to learn how to solve this issue 😃

from securitas-direct-new-api.

guerrerotook avatar guerrerotook commented on August 11, 2024

That is very weird, because for everyone they reboot their home assistants installation and they don't need to re authenticate again. Also for me as well.

To be honest I don't know what to do!

from securitas-direct-new-api.

bigramonk avatar bigramonk commented on August 11, 2024

Since upgrading to 2.4.0.0 I do not have to enter the Securitas OTP 😁
¡Gracias Luis!

from securitas-direct-new-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.