Ajax alarm system

Thanks.

It’s all the same except I use encryption and a different port. Connect On Demand is now off but doesn’t matter if it’s off or on.

I have tried looking for a third party SIA monitoring station docker image but the only thing I’ve found is 2 years old with no updates. I can try another instance of HA with just the SIA plugin enabled and see how it goes.

Just as test, may be try to remove encryption. I find it useless on a home network, don’t you think?

There is a case for thinking that but with all the cloud crap on my local network from Tuya and other chinese devices like vacuum cleaners there’s a case for still using encryption, although it’s not something I am truly concerned about. They are essentially gateways to my network for third parties.

I am actually going to make a new HA installation in Docker and migrate my stuff to it. Feels like I should have a cleanout anyway. So much has changed, been renamed or removed since I first started out last summer.

I’ve already made a test instance of HA with just the SIA plugin and it’s working so I will test there for a week or so.

Sure, here is a question that is unrelated to the previous one:

"I am having trouble getting my custom automation to work using the ‘SIA alarm’ package in Home Assistant. I am able to trigger the automation manually from the ‘Events’ section in Home Assistant, but it does not work when the event is generated automatically by my system. My system is not using AJAX. I have included a portion of my log and my custom automation code below. Can anyone help me understand why it’s not working and how to fix it?

alias: automazione sia alarm
description: “”
trigger:

  • platform: event
    event_type: pysiaalarm.event
    event_data: {}
    condition: []
    action:
  • device_id: 520171876dc1a8ef839e8eee53daee56
    domain: mobile_app
    type: notify
    message: event test
    title: test allarm
    mode: single

my log:
2023-01-25 17:57:29.351 DEBUG (MainThread) [pysiaalarm.event] Content matches: {‘account’: ‘000000’, ‘ti’: None, ‘id’: None, ‘ri’: ‘1’, ‘code’: ‘UX’, ‘message’: ‘12^C. F.SINGOLA CASA ^’, ‘xdata’: None, ‘timestamp’: ‘17:58:10,01-25-2023’}

The event you can subscribe to has a different type, see here: SIA Alarm Systems - Home Assistant (home-assistant.io)

1 Like

sorry, the correct version of the custom made automation is this:

alias: automazione sia alarm
description: ""
trigger:
  - platform: event
    event_type: sia_event_3000_000004
    event_data: {}
condition: []
action:
  - device_id: 520171876dc1a8ef839e8eee53daee56
    domain: mobile_app
    type: notify
    message:  event test
    title: test allarm
mode: single

After a refresh install of HA and several days, the SIA integration is working normally again.

Something in my previous installation must have been screwed up.

This is good to know. Somehow this what has been guessed

And everything was going so well :frowning:

It’s like it can’t keep hold of the state. If i change the alarm state in the app it is logged in the history and my automations trigger but the state turns to unavailable as soon as this happens. Restarting HA didn’t help but a full reboot of the unit restored the state. Now just have to see for how long.

I think I am getting somewhat closer to my problem. I am running HA in docker but I am seeing that HA is being started on my server even when the container is down. This is really werid as HA is not installed on the server as a service. There is some python3 process that is being run even after a reboot! Right now, i stopped my container and rebooted and HA is still running. What is weird though is there is no process according to docker ps but the running HA is using the same configuration folder that my docker container uses. It also explains why i’ve had other odd problems like LocalTuya telling me the device discovery port is in use.

Hi all
Is it planed to have a addon or module to enable/disable ajax alarm with ajax api ?
Jeedom had implement an official plugin to do that without inuse of sia.
They have signed an agreement for this.
I think same process can be integrate in HA…

Regards

1 Like

please vote for this feature request and here as well

1 Like

Any idea why it’s not working? I re-propose the log that the system manages to intercept :
2023-01-25 17:57:29.351 DEBUG (MainThread) [pysiaalarm.event] Content matches: {‘account’: ‘000000’, ‘ti’: None, ‘id’: None, ‘ri’: ‘1’, ‘code’: ‘UX’, ‘message’: ‘12^C. F.SINGOLA CASA ^’, ‘xdata’: None, ‘timestamp’: ‘17:58:10,01-25-2023’}

and also my script: `

alias: automazione sia alarm
description: ""
trigger:
  - platform: event
    event_type: sia_event_3000_000004
    event_data: {}
condition: []
action:
  - device_id: 520171876dc1a8ef839e8eee53daee56
    domain: mobile_app
    type: notify
    message:  event test
    title: test allarm
mode: singl`

The problem right now is that there is a paid component to it and apparently Jeedom can cover that, we have reached out (can’t remember who it was) to nabu casa to see if we can do something similar!

1 Like

are you sure the event type is correct, the messages has account at 00000 while the account in the event type is 000004…? You can use the event listener in the Developer tools to see if something comes in.

Both the port and the account have been intentionally changed, but in the original script they were fixed. :slight_smile:

I have this as a template sensor and it works:

template:
  unique_id: ajax_alarm_last_heartbeat
  trigger:
    - platform: event
      event_type: sia_event_port_account
      event_data:
        code: "RP"
  sensor:
    - name: Ajax Alarm Last Heartbeat
      state: "{{trigger.event.data.timestamp}}"
      device_class: timestamp
      icon: mdi:alarm-panel

Is possible to Read a open door or Windows , with magnet contact sensor?

1 Like

Hello,

I have the same issue as you.
I think that it started with the scenario option enablement in the Ajax app.

I created a bug here : SIA Alarm Systems - Bug with unknown code - Connection lost · Issue #88474 · home-assistant/core · GitHub

Know, I have this in my logs :

2023-02-20 09:29:55.235 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: F1C80038"SIA-DCS"7232L0#AAA[#AAA|Nri1/PE501]_08:30:04,02-20-2023
2023-02-20 09:29:55.236 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '1', 'code': 'PE', 'message': '501', 'xdata': None, 'timestamp': '08:30:04,02-20-2023'}
2023-02-20 09:29:55.240 WARNING (MainThread) [pysiaalarm.base_server] Code not found, replying with DUH to account: AAA

I tried to use a fresh install of HA and also update it, nothing works, so for me, it seams to really come from this “PE” code that is unknow from HA but sent by Ajax : SIA Codes - Google Sheets

Hope this could help you @eavanvalkenburg to solve the issue.

Geof

For information, I deleted my Ajax scenarios and restarted the Ajax hub.
Here are the debug logs :

2023-02-20 10:10:32.836 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: B40B0039"SIA-DCS"0004L0#AAA[#AAA|Nri0/RP0000]_09:10:30,02-20-2023
2023-02-20 10:10:32.836 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:10:30,02-20-2023'}
2023-02-20 10:10:32.843 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:10:32.843 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:10:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:10:30+00:00, Length: 0039, Sequence: 0004, CRC: B40B, Calc CRC: B40B, Encrypted Content: None, Full Message: "SIA-DCS"0004L0#AAA[#AAA|Nri0/RP0000]_09:10:30,02-20-2023.
2023-02-20 10:10:32.844 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:10:32.845 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:10:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:10:30+00:00, Length: 0039, Sequence: 0004, CRC: B40B, Calc CRC: B40B, Encrypted Content: None, Full Message: "SIA-DCS"0004L0#AAA[#AAA|Nri0/RP0000]_09:10:30,02-20-2023.
2023-02-20 10:10:32.845 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:10:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:10:30+00:00, Length: 0039, Sequence: 0004, CRC: B40B, Calc CRC: B40B, Encrypted Content: None, Full Message: "SIA-DCS"0004L0#AAA[#AAA|Nri0/RP0000]_09:10:30,02-20-2023.
2023-02-20 10:10:32.846 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:10:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:10:30+00:00, Length: 0039, Sequence: 0004, CRC: B40B, Calc CRC: B40B, Encrypted Content: None, Full Message: "SIA-DCS"0004L0#AAA[#AAA|Nri0/RP0000]_09:10:30,02-20-2023.
2023-02-20 10:11:32.702 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: E45B0039"SIA-DCS"0005L0#AAA[#AAA|Nri0/RP0000]_09:11:30,02-20-2023
2023-02-20 10:11:32.702 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:11:30,02-20-2023'}
2023-02-20 10:11:32.707 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:11:32.707 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:11:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:11:30+00:00, Length: 0039, Sequence: 0005, CRC: E45B, Calc CRC: E45B, Encrypted Content: None, Full Message: "SIA-DCS"0005L0#AAA[#AAA|Nri0/RP0000]_09:11:30,02-20-2023.
2023-02-20 10:11:32.707 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:11:32.707 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:11:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:11:30+00:00, Length: 0039, Sequence: 0005, CRC: E45B, Calc CRC: E45B, Encrypted Content: None, Full Message: "SIA-DCS"0005L0#AAA[#AAA|Nri0/RP0000]_09:11:30,02-20-2023.
2023-02-20 10:11:32.708 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:11:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:11:30+00:00, Length: 0039, Sequence: 0005, CRC: E45B, Calc CRC: E45B, Encrypted Content: None, Full Message: "SIA-DCS"0005L0#AAA[#AAA|Nri0/RP0000]_09:11:30,02-20-2023.
2023-02-20 10:11:32.708 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:11:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:11:30+00:00, Length: 0039, Sequence: 0005, CRC: E45B, Calc CRC: E45B, Encrypted Content: None, Full Message: "SIA-DCS"0005L0#AAA[#AAA|Nri0/RP0000]_09:11:30,02-20-2023.
2023-02-20 10:12:32.792 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 14AB0039"SIA-DCS"0006L0#AAA[#AAA|Nri0/RP0000]_09:12:30,02-20-2023
2023-02-20 10:12:32.792 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:12:30,02-20-2023'}
2023-02-20 10:12:32.798 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:12:32.798 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:12:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:12:30+00:00, Length: 0039, Sequence: 0006, CRC: 14AB, Calc CRC: 14AB, Encrypted Content: None, Full Message: "SIA-DCS"0006L0#AAA[#AAA|Nri0/RP0000]_09:12:30,02-20-2023.
2023-02-20 10:12:32.798 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:12:32.799 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:12:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:12:30+00:00, Length: 0039, Sequence: 0006, CRC: 14AB, Calc CRC: 14AB, Encrypted Content: None, Full Message: "SIA-DCS"0006L0#AAA[#AAA|Nri0/RP0000]_09:12:30,02-20-2023.
2023-02-20 10:12:32.799 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:12:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:12:30+00:00, Length: 0039, Sequence: 0006, CRC: 14AB, Calc CRC: 14AB, Encrypted Content: None, Full Message: "SIA-DCS"0006L0#AAA[#AAA|Nri0/RP0000]_09:12:30,02-20-2023.
2023-02-20 10:12:32.799 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:12:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:12:30+00:00, Length: 0039, Sequence: 0006, CRC: 14AB, Calc CRC: 14AB, Encrypted Content: None, Full Message: "SIA-DCS"0006L0#AAA[#AAA|Nri0/RP0000]_09:12:30,02-20-2023.
2023-02-20 10:13:32.872 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 44FB0039"SIA-DCS"0007L0#AAA[#AAA|Nri0/RP0000]_09:13:30,02-20-2023
2023-02-20 10:13:32.873 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:13:30,02-20-2023'}
2023-02-20 10:13:32.878 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:13:32.878 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:13:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:13:30+00:00, Length: 0039, Sequence: 0007, CRC: 44FB, Calc CRC: 44FB, Encrypted Content: None, Full Message: "SIA-DCS"0007L0#AAA[#AAA|Nri0/RP0000]_09:13:30,02-20-2023.
2023-02-20 10:13:32.878 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:13:32.879 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:13:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:13:30+00:00, Length: 0039, Sequence: 0007, CRC: 44FB, Calc CRC: 44FB, Encrypted Content: None, Full Message: "SIA-DCS"0007L0#AAA[#AAA|Nri0/RP0000]_09:13:30,02-20-2023.
2023-02-20 10:13:32.879 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:13:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:13:30+00:00, Length: 0039, Sequence: 0007, CRC: 44FB, Calc CRC: 44FB, Encrypted Content: None, Full Message: "SIA-DCS"0007L0#AAA[#AAA|Nri0/RP0000]_09:13:30,02-20-2023.
2023-02-20 10:13:32.880 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:13:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:13:30+00:00, Length: 0039, Sequence: 0007, CRC: 44FB, Calc CRC: 44FB, Encrypted Content: None, Full Message: "SIA-DCS"0007L0#AAA[#AAA|Nri0/RP0000]_09:13:30,02-20-2023.
2023-02-20 10:14:32.704 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: B1C60039"SIA-DCS"0008L0#AAA[#AAA|Nri0/RP0000]_09:14:30,02-20-2023
2023-02-20 10:14:32.705 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:14:30,02-20-2023'}
2023-02-20 10:14:32.715 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:14:32.715 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:14:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:14:30+00:00, Length: 0039, Sequence: 0008, CRC: B1C6, Calc CRC: B1C6, Encrypted Content: None, Full Message: "SIA-DCS"0008L0#AAA[#AAA|Nri0/RP0000]_09:14:30,02-20-2023.
2023-02-20 10:14:32.715 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:14:32.716 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:14:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:14:30+00:00, Length: 0039, Sequence: 0008, CRC: B1C6, Calc CRC: B1C6, Encrypted Content: None, Full Message: "SIA-DCS"0008L0#AAA[#AAA|Nri0/RP0000]_09:14:30,02-20-2023.
2023-02-20 10:14:32.716 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:14:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:14:30+00:00, Length: 0039, Sequence: 0008, CRC: B1C6, Calc CRC: B1C6, Encrypted Content: None, Full Message: "SIA-DCS"0008L0#AAA[#AAA|Nri0/RP0000]_09:14:30,02-20-2023.
2023-02-20 10:14:32.716 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:14:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:14:30+00:00, Length: 0039, Sequence: 0008, CRC: B1C6, Calc CRC: B1C6, Encrypted Content: None, Full Message: "SIA-DCS"0008L0#AAA[#AAA|Nri0/RP0000]_09:14:30,02-20-2023.
2023-02-20 10:15:32.769 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: E1960039"SIA-DCS"0009L0#AAA[#AAA|Nri0/RP0000]_09:15:30,02-20-2023
2023-02-20 10:15:32.770 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:15:30,02-20-2023'}
2023-02-20 10:15:32.775 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:15:32.775 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:15:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:15:30+00:00, Length: 0039, Sequence: 0009, CRC: E196, Calc CRC: E196, Encrypted Content: None, Full Message: "SIA-DCS"0009L0#AAA[#AAA|Nri0/RP0000]_09:15:30,02-20-2023.
2023-02-20 10:15:32.775 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:15:32.776 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:15:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:15:30+00:00, Length: 0039, Sequence: 0009, CRC: E196, Calc CRC: E196, Encrypted Content: None, Full Message: "SIA-DCS"0009L0#AAA[#AAA|Nri0/RP0000]_09:15:30,02-20-2023.
2023-02-20 10:15:32.776 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:15:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:15:30+00:00, Length: 0039, Sequence: 0009, CRC: E196, Calc CRC: E196, Encrypted Content: None, Full Message: "SIA-DCS"0009L0#AAA[#AAA|Nri0/RP0000]_09:15:30,02-20-2023.
2023-02-20 10:15:32.776 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:15:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:15:30+00:00, Length: 0039, Sequence: 0009, CRC: E196, Calc CRC: E196, Encrypted Content: None, Full Message: "SIA-DCS"0009L0#AAA[#AAA|Nri0/RP0000]_09:15:30,02-20-2023.
2023-02-20 10:16:32.840 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 185B0039"SIA-DCS"0010L0#AAA[#AAA|Nri0/RP0000]_09:16:30,02-20-2023
2023-02-20 10:16:32.841 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:16:30,02-20-2023'}
2023-02-20 10:16:32.845 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:16:32.846 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:16:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:16:30+00:00, Length: 0039, Sequence: 0010, CRC: 185B, Calc CRC: 185B, Encrypted Content: None, Full Message: "SIA-DCS"0010L0#AAA[#AAA|Nri0/RP0000]_09:16:30,02-20-2023.
2023-02-20 10:16:32.846 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:16:32.846 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:16:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:16:30+00:00, Length: 0039, Sequence: 0010, CRC: 185B, Calc CRC: 185B, Encrypted Content: None, Full Message: "SIA-DCS"0010L0#AAA[#AAA|Nri0/RP0000]_09:16:30,02-20-2023.
2023-02-20 10:16:32.847 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:16:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:16:30+00:00, Length: 0039, Sequence: 0010, CRC: 185B, Calc CRC: 185B, Encrypted Content: None, Full Message: "SIA-DCS"0010L0#AAA[#AAA|Nri0/RP0000]_09:16:30,02-20-2023.
2023-02-20 10:16:32.847 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:16:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:16:30+00:00, Length: 0039, Sequence: 0010, CRC: 185B, Calc CRC: 185B, Encrypted Content: None, Full Message: "SIA-DCS"0010L0#AAA[#AAA|Nri0/RP0000]_09:16:30,02-20-2023.
2023-02-20 10:17:32.655 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 480B0039"SIA-DCS"0011L0#AAA[#AAA|Nri0/RP0000]_09:17:30,02-20-2023
2023-02-20 10:17:32.656 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:17:30,02-20-2023'}
2023-02-20 10:17:32.664 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:17:32.665 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:17:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:17:30+00:00, Length: 0039, Sequence: 0011, CRC: 480B, Calc CRC: 480B, Encrypted Content: None, Full Message: "SIA-DCS"0011L0#AAA[#AAA|Nri0/RP0000]_09:17:30,02-20-2023.
2023-02-20 10:17:32.665 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:17:32.665 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:17:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:17:30+00:00, Length: 0039, Sequence: 0011, CRC: 480B, Calc CRC: 480B, Encrypted Content: None, Full Message: "SIA-DCS"0011L0#AAA[#AAA|Nri0/RP0000]_09:17:30,02-20-2023.
2023-02-20 10:17:32.666 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:17:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:17:30+00:00, Length: 0039, Sequence: 0011, CRC: 480B, Calc CRC: 480B, Encrypted Content: None, Full Message: "SIA-DCS"0011L0#AAA[#AAA|Nri0/RP0000]_09:17:30,02-20-2023.
2023-02-20 10:17:32.666 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:17:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:17:30+00:00, Length: 0039, Sequence: 0011, CRC: 480B, Calc CRC: 480B, Encrypted Content: None, Full Message: "SIA-DCS"0011L0#AAA[#AAA|Nri0/RP0000]_09:17:30,02-20-2023.
2023-02-20 10:18:32.718 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: BDF70039"SIA-DCS"0012L0#AAA[#AAA|Nri0/RP0000]_09:18:30,02-20-2023
2023-02-20 10:18:32.719 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:18:30,02-20-2023'}
2023-02-20 10:18:32.724 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:18:32.724 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:18:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:18:30+00:00, Length: 0039, Sequence: 0012, CRC: BDF7, Calc CRC: BDF7, Encrypted Content: None, Full Message: "SIA-DCS"0012L0#AAA[#AAA|Nri0/RP0000]_09:18:30,02-20-2023.
2023-02-20 10:18:32.725 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:18:32.725 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:18:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:18:30+00:00, Length: 0039, Sequence: 0012, CRC: BDF7, Calc CRC: BDF7, Encrypted Content: None, Full Message: "SIA-DCS"0012L0#AAA[#AAA|Nri0/RP0000]_09:18:30,02-20-2023.
2023-02-20 10:18:32.726 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:18:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:18:30+00:00, Length: 0039, Sequence: 0012, CRC: BDF7, Calc CRC: BDF7, Encrypted Content: None, Full Message: "SIA-DCS"0012L0#AAA[#AAA|Nri0/RP0000]_09:18:30,02-20-2023.
2023-02-20 10:18:32.726 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:18:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:18:30+00:00, Length: 0039, Sequence: 0012, CRC: BDF7, Calc CRC: BDF7, Encrypted Content: None, Full Message: "SIA-DCS"0012L0#AAA[#AAA|Nri0/RP0000]_09:18:30,02-20-2023.
2023-02-20 10:19:32.787 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: EDA70039"SIA-DCS"0013L0#AAA[#AAA|Nri0/RP0000]_09:19:30,02-20-2023
2023-02-20 10:19:32.788 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAA', 'ti': None, 'id': None, 'ri': '0', 'code': 'RP', 'message': '0000', 'xdata': None, 'timestamp': '09:19:30,02-20-2023'}
2023-02-20 10:19:32.793 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 11000 and account AAA
2023-02-20 10:19:32.793 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:19:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:19:30+00:00, Length: 0039, Sequence: 0013, CRC: EDA7, Calc CRC: EDA7, Encrypted Content: None, Full Message: "SIA-DCS"0013L0#AAA[#AAA|Nri0/RP0000]_09:19:30,02-20-2023.
2023-02-20 10:19:32.794 DEBUG (MainThread) [homeassistant.components.sia.binary_sensor] New state will be True
2023-02-20 10:19:32.794 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:19:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:19:30+00:00, Length: 0039, Sequence: 0013, CRC: EDA7, Calc CRC: EDA7, Encrypted Content: None, Full Message: "SIA-DCS"0013L0#AAA[#AAA|Nri0/RP0000]_09:19:30,02-20-2023.
2023-02-20 10:19:32.795 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:19:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:19:30+00:00, Length: 0039, Sequence: 0013, CRC: EDA7, Calc CRC: EDA7, Encrypted Content: None, Full Message: "SIA-DCS"0013L0#AAA[#AAA|Nri0/RP0000]_09:19:30,02-20-2023.
2023-02-20 10:19:32.795 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAA|Nri0/RP0000]_09:19:30,02-20-2023, Zone (ri): 0, Code: RP, Message: 0000, Account: AAA, Receiver: None, Line: L0, Timestamp: 2023-02-20 09:19:30+00:00, Length: 0039, Sequence: 0013, CRC: EDA7, Calc CRC: EDA7, Encrypted Content: None, Full Message: "SIA-DCS"0013L0#AAA[#AAA|Nri0/RP0000]_09:19:30,02-20-2023.

After 10 minutes, the state in HA is :
Alarm status : Unavailable
Alarm power : Unknow
Alarm connectivity : Connected

If I try to change the alarm status (armed / armed away / disarmed) it seems to work now.
So definitely, the scenario feature, with the PE code, makes trouble!