Code Monkey home page Code Monkey logo

Comments (6)

eavanvalkenburg avatar eavanvalkenburg commented on August 30, 2024

Thanks! @moodiejo, one other question, I see three events types that are unhandled, CG, CF and OG, seems like CG and OG are for arming and disarming one particular area, is that when you use the Groups function in Ajax? and what causes the CF state (System armed, some zones not ready), does that mean you arm one area, but in another area a door is open or something?

from sia.

moodiejo avatar moodiejo commented on August 30, 2024

Hi, I have 4 groups configured, with different sensors on each zone. I am therefore using groups within the Ajax. All 4 groups have been detected by the component, and 4 individual alarm_control_panel entities within HA have been created.

This behaviour occurs irrespective of how I try to disarm or arm the alarm. Let me try and give better examples. In the example below, I have armed a single Group, named 'Outside Not Pet Friendly' and the log shows this:

2019-09-12 19:43:18 DEBUG (Thread-3) [custom_components.sia] Income raw string: 31AC0075"*SIA-DCS"3088L0#FED[8C66611F50B6A868B90771F4953E67C388CCFAEA1B86B1BF9187483D4A425B85B35A2E23A363ABD5D380E224DFB37A3E
2019-09-12 19:43:18 DEBUG (Thread-3) [custom_components.sia] EncryptedHub.process_line31AC0075"*SIA-DCS"3088L0#FED[8C66611F50B6A868B90771F4953E67C388CCFAEA1B86B1BF9187483D4A425B85B35A2E23A363ABD5D380E224DFB37A3E
2019-09-12 19:43:18 DEBUG (Thread-3) [custom_components.sia] EncryptedHub.process_line found data: [8C66611F50B6A868B90771F4953E67C388CCFAEA1B86B1BF9187483D4A425B85B35A2E23A363ABD5D380E224DFB37A3E
2019-09-12 19:43:18 DEBUG (Thread-3) [custom_components.sia] EncryptedHub.manage_string data: E��d���%�!�|#FED|Nri4/CG501]_17:43:17,09-12-2019
2019-09-12 19:43:18 DEBUG (Thread-3) [custom_components.sia] Parsing: |#FED|Nri4/CG501]_17:43:17,09-12-2019
2019-09-12 19:43:18 WARNING (Thread-3) [custom_components.sia] Unhandled event type: Code: CG, Type: Close Area, Description: System has been partially armed, Concerns: Area number, Message: CG501

I have now armed a different Group, named 'Outside Pet Friendly' and the log shows:

2019-09-12 19:45:18 DEBUG (Thread-3) [custom_components.sia] Income raw string: 31160075"*SIA-DCS"3093L0#FED[BAD63D5932E2596C63FEC6A6DBD32DEFB7355C84C5AEBF4F4848D65C5C2FB0A8EACC13E4B0FA42D7A52EB8973C147A12
2019-09-12 19:45:18 DEBUG (Thread-3) [custom_components.sia] EncryptedHub.process_line31160075"*SIA-DCS"3093L0#FED[BAD63D5932E2596C63FEC6A6DBD32DEFB7355C84C5AEBF4F4848D65C5C2FB0A8EACC13E4B0FA42D7A52EB8973C147A12
2019-09-12 19:45:18 DEBUG (Thread-3) [custom_components.sia] EncryptedHub.process_line found data: [BAD63D5932E2596C63FEC6A6DBD32DEFB7355C84C5AEBF4F4848D65C5C2FB0A8EACC13E4B0FA42D7A52EB8973C147A12
2019-09-12 19:45:18 DEBUG (Thread-3) [custom_components.sia] EncryptedHub.manage_string data: ��nžeq/�?�|#FED|Nri3/CG501]_17:45:17,09-12-2019
2019-09-12 19:45:18 DEBUG (Thread-3) [custom_components.sia] Parsing: |#FED|Nri3/CG501]_17:45:17,09-12-2019
2019-09-12 19:45:18 WARNING (Thread-3) [custom_components.sia] Unhandled event type: Code: CG, Type: Close Area, Description: System has been partially armed, Concerns: Area number, Message: CG501

The CF state occurs when I try and arm a group, and as an example, I have a door that is open that is linked to that Group, and the door has the Ajax Door Contact, which at that stage would be deemed open.

from sia.

eavanvalkenburg avatar eavanvalkenburg commented on August 30, 2024

So, the CG are taken care of, I'll update this repo today, just for the CF state, what would be the expected state for that Alarm in HA? keep it at Disarmed, or set it to Armed? I'm a bit limited by the possible states that HA has for alarms (see here).

from sia.

moodiejo avatar moodiejo commented on August 30, 2024

Good question, I am leaning towards 'armed_custom_bypass'

The Group is actually armed, however, some sensors are bypassed....

from sia.

eavanvalkenburg avatar eavanvalkenburg commented on August 30, 2024

Just added those, please have a look @moodiejo

from sia.

moodiejo avatar moodiejo commented on August 30, 2024

Hi,

The component is installed, looks good so far.

I will let it run for a few days, and report back

Thank You !

from sia.

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.