Ness Alarm
The ness_alarm
integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] will allow Home Assistant users who own a Ness D8x/D16x alarm system to leverage their alarm system and its sensors to provide Home Assistant with information about their homes. Connectivity between Home Assistant and the alarm is accomplished through a IP232 module that must be connected to the alarm.
There is currently support for the following device types within Home Assistant:
- Binary sensor: Reports on zone statuses
- Alarm control panel: Reports on alarm status, and can be used to arm/disarm the system
The module communicates via the Ness D8x/D16x ASCII protocol
Configuration
A ness_alarm
section must be present in the configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file and contain the following options as required:
在更改了configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。
# Example configuration.yaml entry
ness_alarm:
host: alarm.local
port: 2401
zones:
- name: Garage
id: 1
- name: Storeroom
id: 2
- name: Kitchen
id: 3
- name: Front Entrance
id: 4
- name: Front Door
id: 5
type: door
Configuration Variables
Time interval between updates. Supported formats: scan_interval: 'HH:MM:SS'
, scan_interval: 'HH:MM'
and Time period dictionary (see example below).
Infer the disarmed arming state only via system status events. This works around a bug with some panels (<v5.8
) which emit update.status = []
when they are armed.
List of zones to add
The zone type. Can be any binary_sensor device class.
Time period dictionary example
scan_interval:
# At least one of these must be specified:
days: 0
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
Alarm System Configuration
As part of the installation process of the IP232 module, the device will need to be configured with the correct settings. From the iComms Manual
- Setting up the IP232 module with the correct baud rate (9600).
- Ensuring connectivity of the device on either a DHCP assigned or Static IP address.
- Setting the alarm panel up to allow for serial control. On D8x/D16x panels this is enabled by setting
P 199 E
1E
to6E
to beON
(6E available on v6 panels and later only).
If the settings in steps 1 and 2 are not set correctly, the integration will not be able to communicate properly with the device. If the P 199 E
from step 3 is not configured properly, data will not be sent to the integration when events occur.
Incorrect configuration of these settings will prevent the integration from functioning properly.
Actions
Action aux
Trigger an aux output. This requires PCB version 7.8 or higher.
Data attribute | Optional | Description |
---|---|---|
output_id |
No | The aux output you wish to change. A number from 1-4. |
state |
Yes | The On/Off State, represented as true/false. Default is true. If P14xE 8E is enabled then a value of true will pulse output x for the time specified in P14(x+4)E. |
Action panic
Trigger a panic
Data attribute | Optional | Description |
---|---|---|
code |
No | The user code to use to trigger the panic. |