Coder Social home page Coder Social logo

Alarmo Homekit won't set about alarmo HOT 10 CLOSED

eddiebullman avatar eddiebullman commented on May 27, 2024
Alarmo Homekit won't set

from alarmo.

Comments (10)

nielsfaber avatar nielsfaber commented on May 27, 2024

Have also noticed version error after update

Clear your browser cache to fix thi.

If Alarmo states that the wrong code was provided, I think its safe to assume this is indeed the case.
Hence I dont think this is a bug on the side of alarmo.

As described in the documentation, you need to define the pin code in the homekit configuration.
Did you do so?

from alarmo.

eddiebullman avatar eddiebullman commented on May 27, 2024

Hi

This is a screen shot of my yaml settings and I know the code is correct as I only have one code and it works fine from my Sonoff NSPanels and My Linkind keypad

yamlscreenshot

Thanks

from alarmo.

eddiebullman avatar eddiebullman commented on May 27, 2024

In the setup docs you say the following

"In case you have Alarmo configured to require a code for arming/disarming, you need to setup homekit in yaml mode (instead of via the integrations page)."

So can you clarify this as when I remove Alarmo entity from my HomeKit bridge Alarmo disappears from HomeKit

I have added the text shown to the yaml

from alarmo.

aavosnl avatar aavosnl commented on May 27, 2024

Unfortunately, this is certainly not the first time this has happened after an alarmo update.

After the update, alarmo no longer works here either.

Perhaps the maker can first ensure stability. Over the past year, after every update, it doesn't work again.
Stability seems to me to be priority 1 and nice wishes or additions 2

from alarmo.

nielsfaber avatar nielsfaber commented on May 27, 2024

@eddiebullman @aavosnl
I don't use Homekit myself so i don't know how to help troubleshooting this issue.
I recommend to first test if Alarmo works fine outside of Homekit (via HA dashboard, alarmo-card, etc.)
If this is the case, I doubt there is anything i can do to fix this.
The issue might also be caused by the Homekit integration in HA.

Since Alarmo claims a wrong code was entered, you can also take a look at what code is received via homekit.
You can replace alarm_control_panel.py (located in custom_components/alarmo) line 405:

code = kwargs.get(const.CONF_CODE, "")

by

   code = kwargs.get(const.CONF_CODE, "") 
   _LOGGER.error("Alarmo received command for arming into mode {} using code {}".format(arm_mode, code))

Make sure the indentation is correct, else alarmo will fail to load.

Changing python file requires a restart of HA.
After restart you should see the result in the HA log.
Note that the entered pin code will (should) be printed in the log, so make sure to remove the modification after testing.

from alarmo.

aavosnl avatar aavosnl commented on May 27, 2024

I don't work with home kit either
now done as the following

alarm removed. ha rebooted, complete reboot

alarmo reinstalled.

Even now the alarm card does not work. As long as there are no sensors attached to it, it will switch on via the card, but with 1 simple motion sensor linked to the alarmo and it will no longer switch on any options

from alarmo.

eddiebullman avatar eddiebullman commented on May 27, 2024

from alarmo.

eddiebullman avatar eddiebullman commented on May 27, 2024

@eddiebullman @aavosnl I don't use Homekit myself so i don't know how to help troubleshooting this issue. I recommend to first test if Alarmo works fine outside of Homekit (via HA dashboard, alarmo-card, etc.) If this is the case, I doubt there is anything i can do to fix this. The issue might also be caused by the Homekit integration in HA.

Since Alarmo claims a wrong code was entered, you can also take a look at what code is received via homekit. You can replace alarm_control_panel.py (located in custom_components/alarmo) line 405:

code = kwargs.get(const.CONF_CODE, "")

by

   code = kwargs.get(const.CONF_CODE, "") 
   _LOGGER.error("Alarmo received command for arming into mode {} using code {}".format(arm_mode, code))

Make sure the indentation is correct, else alarmo will fail to load.

Changing python file requires a restart of HA. After restart you should see the result in the HA log. Note that the entered pin code will (should) be printed in the log, so make sure to remove the modification after testing.

Have put this in the file but can't find in the logbook the info I am looking for

from alarmo.

eddiebullman avatar eddiebullman commented on May 27, 2024

Just to test a theory of mine I remove the Text from the /homeassistant/configuration.yaml and I still get the same error so I must be putting the text in the wrong place or the wrong text.

This is what I put in the configuration.yaml file

homekit:

  • filter:
    include_domains:
    - alarm_control_panel
    entity_config:
    alarm_control_panel.alarmo:
    code: 1234 # should be identical to a user in Alarmo as well

That is not the true code but

please can you assist

from alarmo.

eddiebullman avatar eddiebullman commented on May 27, 2024

Sorry for being Pain on this one. I now have this sorted it was down to me not understanding that you needed a separate HomeKit bridge configured which was automatically created when you add the text to the configuration.yaml which needed pairing buy it's self.

from alarmo.

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.