Giter VIP home page Giter VIP logo

Comments (14)

hnrk avatar hnrk commented on May 28, 2024 1

Everything seems to be working just fine now. Nice!

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

Can you show me a printscreen from your logbook page of the entity from the period and also type here your automation.
Thanks

from sector.

hnrk avatar hnrk commented on May 28, 2024

Screenshot from 2021-12-20 12-12-26

The automation:
`- id: '1639816675679'
alias: '[TEST] Sector alarm debug'
description: ''
trigger:

  • platform: device
    device_id: ea12316c77960359864c5d4ad89c9d21
    domain: alarm_control_panel
    entity_id: alarm_control_panel.sector_alarmpanel_XXX
    type: disarmed
  • platform: device
    device_id: ea12316c77960359864c5d4ad89c9d21
    domain: alarm_control_panel
    entity_id: alarm_control_panel.sector_alarmpanel_XXX
    type: triggered
    condition: []
    action:
  • service: notify.mobile_app_pixel_5
    data:
    title: HA Sector alarm, triggered
    message: '{{ states("alarm_control_panel.sector_alarmpanel_XXX")}}'
    mode: single`

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

This is very strange.
Is it possible that you can turn on debugging on the component and when you see this happen again then post the relevant section from the log to me.
Put below in your config yaml file and restart
logger: default: warning logs: custom_components.sector: debug
https://www.home-assistant.io/integrations/logger/

from sector.

hnrk avatar hnrk commented on May 28, 2024

At the end it is seems to looping like crazy.
Note: the self._changed_by is always the same though I've replaced it here.

ha_sector_log.txt

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

It's not looping but it does go an fetch info every ~60 seconds so of course it fill the log.
Remove those lines for now so you don't flood you log.

The api is reporting a status 2 which means ARMED_HOME so actually what you see above is correct.
But I will modify the code slightly to get more information and put a new beta so you can run it and send me a log again. Given you say the alarm is never armed it's very surprising.
Hope you're ok with testing

from sector.

hnrk avatar hnrk commented on May 28, 2024

Sure thing, I'm ok with testing.

It's weird because it's more than a week ago since anyone used the alarm, still I get these triggers. I don't know yet, but it seems to be more activity at night.

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

Perfect. I just made beta15 so install it, ensure the logging in config yaml is there and restart.
Wait for the notification to hit you and send me the logs.

Thanks

from sector.

hnrk avatar hnrk commented on May 28, 2024

So easiest way to install beta15 is to overwrite the custom_componets/sector with the latest commit?

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

I was just assuming you were using HACS to manage it.
Go to releases and download the source.zip and replace the content in your custom_components/sector folder
https://github.com/gjohansson-ST/sector/releases/tag/v0.3.4-beta15

from sector.

hnrk avatar hnrk commented on May 28, 2024

ha_sector_log_beta15.txt

I've seen at least 2 false triggers which should show up inte log excerpt.

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

Very interesting. It's reporting itself as offline so I assume behind the scenes it reset's itself to status 2 if it can't "communicate".
I can work with that logic to not change status unless it's online.
Will get a fix in.

from sector.

hnrk avatar hnrk commented on May 28, 2024

Interesting!

I'll try out the new version when you're done. :-)

from sector.

gjohansson-ST avatar gjohansson-ST commented on May 28, 2024

beta16 is just released.
Would be good if you can manually (physical panel) turn on armed_home after some time and see that it updates the status of the alarm_panel in HA. Just to be sure it's still pulling updates correctly.

from sector.

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.