ParadoxAlarmInterface / ParadoxAlarmInterface/pai

Alarm property not published for zones

Open
#549 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug home-assistant mg sp6000 to be confirmed
Dominant language
Python
Stars
424
Forks
118
PR merge metrics
No merged PRs in 30d

Description

Alarm system

Panel model: SP6000, MG5000

Environment

  • RPI
  • Docker

Git branch

latest prod

Describe the bug

I have the following set for publishing properties to HA:

HOMEASSISTANT_PUBLISH_ZONE_PROPERTIES = [
     'open',
     'bypassed',
     'tamper'
     'alarm',
     'was_in_alarm'
]

Everything is published correctly, except alarm, even though from this list: https://github.com/ParadoxAlarmInterface/pai/wiki/MQTT-Interface#panel-states
It should work.

To Reproduce

Steps to reproduce the behavior:

  1. Set the HOMEASSISTANT_PUBLISH_ZONE_PROPERTIES as above.
  2. Restart PAI
  3. Check published properties: no alarm property is created.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing HOMEASSISTANT_PUBLISH_ZONE_PROPERTIES through the zone-state publication path and compare the handling of alarm with open, bypassed, tamper, and was_in_alarm. Reproduce the configuration, then verify that the alarm property is published as described by the MQTT interface documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.