A wired alarm system already has what a smart home wants: a motion detector in every room, a contact on every door and window, a siren and a battery-backed panel that keeps working when the network does not. This article deals with the INTEGRA series from Satel, the Gdańsk-based alarm manufacturer. Getting the panel's state into Home Assistant, openHAB or another controller means you can turn lights off when the house is armed, see which window is open before you leave, or get a push notification about a mains failure at the panel.
There are two ways to do it. The INTEGRA can talk to other systems over Satel's published integration protocol through an Ethernet or RS-232 module, or you can wire a few of the panel's outputs and inputs to a smart home device. Both work locally, without any cloud. The harder question is how much control the smart home should get, because anything that can disarm your alarm becomes part of your security system.
Changes to the panel configuration are made in Satel's DLOADX installer program, usually with the installer's service code. If you do not have the project file or the code, ask the company that installed the system to make the changes below.
The integration protocol and which panels support it
Satel publishes a technical description of the protocol used by its INT-RS and ETHM-1 modules. The ETHM-1 Plus module manual describes it as an open protocol for integrating the alarm with other systems, available on INTEGRA Plus and INTEGRA panels with firmware 1.06 or newer. The ETHM-1 Plus also works with VERSA panels (and, according to the current edition of the manual, PERFECTA 64 M), but for those it handles remote programming, the mobile app and event reporting, not integration. The Home Assistant integration states the same limit: INTEGRA panels only.
There are two physical options:
- ETHM-1 Plus (or the older ETHM-1): an Ethernet module on the panel's keypad bus. The integration runs over TCP, on port 7094 by default.
- INT-RS Plus (or the older INT-RS): an RS-232 converter on the same bus. In integration mode (function 2, set with DIP switches) the serial port runs at 19200 baud, 8 data bits, no parity, 1 stop bit, and the protocol is the same as on the ETHM-1.
The protocol itself is a simple request-and-response format. A client can read which zones are violated or in alarm, which partitions are armed, the state of outputs and troubles, and the panel's event log. With a user code it can also arm and disarm partitions, clear alarms, bypass zones and switch outputs. Satel's document describes the frames byte by byte, so writing your own client is possible, but most people use an existing one.
Terminology catches people out here. In Satel's English documentation a zone is a single input with a detector on it, and a partition is a group of zones that is armed and disarmed together. The Home Assistant integration uses the same terms.
Enabling integration on the ETHM-1 Plus
In DLOADX, open the "Structure" window, the "Hardware" tab, and select the ETHM-1 Plus in the "Keypads" branch. The relevant settings are:
- Integration - allows the module to be used for integration with other systems.
- Encrypted integration - encrypts that communication. The integration encryption key is programmed in DLOADX or from an LCD keypad in service mode (
SERVICE MODE > OPTIONS > INTEGRATE KEY). - Port (integr.) - the TCP port for integration, 7094 by default. It must differ from the module's other ports.
Turn on encryption unless your client cannot handle it. The ETHM-1 Plus encrypts its traffic with a 192-bit key. The openHAB binding notes that its Java runtime must support 192-bit AES keys for this to work, and Home Assistant gained an encryption key field in its Satel Integra integration.
Two more things matter for security:
- IP filter - with INTEGRA or INTEGRA Plus firmware 1.15 or newer, the module can accept connections only from listed addresses or subnets, separately for DLOADX, GUARDX and integration. Each list takes up to four addresses, one subnet plus two addresses, or two subnets. Put your smart home server's address in the integration list.
- No direct internet exposure - Satel's manual says the module must not be connected directly to a public network. Remote access through Satel's INTEGRA CONTROL app goes through the SATEL server and does not need a port forward, so there is no reason to open port 7094 on your router.
Give the module a fixed IP address, either set in the module or reserved in your router, because your smart home connects to it by address.
Connecting from Home Assistant or openHAB
Both platforms have a ready-made client.
Home Assistant has a built-in Satel Integra integration. It supports only the ETHM-1 Plus with firmware 2.00 or newer and only the INTEGRA line. You add it in Settings > Devices & services, enter the module's address, port and optional encryption key, and then add partitions, zones and outputs one by one using their numbers from DLOADX. Each partition becomes an alarm panel entity, each zone and output a binary sensor, and switchable outputs become switches. There are also binary sensors for service mode and system troubles, with individual trouble sensors (mains failure, battery fault and others) available but disabled by default. Disarming from Home Assistant requires the user code to be entered. The code stored in the integration options is used only to switch outputs.
openHAB has a Satel binding that supports both the ETHM-1/ETHM-1 Plus over the network and the INT-RS/INT-RS Plus over a serial port. Besides partitions, zones and outputs it can read the event log and handle roller shutters driven by two outputs. It discovers partitions and zones automatically once the bridge is configured.
Two limits from the openHAB documentation apply to any client:
- Only one client at a time. The ETHM-1 does not accept a new integration connection while another one is open. If Home Assistant cannot connect, check that a test script, an old openHAB installation or another tool is not already holding the connection.
- Keep the connection busy. The openHAB binding polls every 5 seconds by default and warns that intervals over 25 seconds can make the ETHM-1 Plus (firmware 2.03 and newer) drop the connection.
The wired alternative: outputs and control zones
If you have a VERSA or PERFECTA panel, no Ethernet module, or you want a link that does not depend on the network, use the panel's own inputs and outputs. This works with almost any alarm panel. The example below uses INTEGRA names.
Reading the armed state. Program a free output with function 21. ARMED STATUS and select the partitions it should follow. The INTEGRA 64 and 128 mainboards have 12 low-current outputs of the OC (open collector) type, rated at 50 mA. With the Pol.+ option on, an OC output is shorted to ground when active and isolated from ground when inactive. That is exactly what a dry-contact input expects, but do not connect it straight to a smart relay or plug input that may be referenced to mains. Let the OC output drive a small 12 V relay or an optocoupler powered from the panel's auxiliary output, and connect the relay contact or the optocoupler output to the smart home device. Check that the relay coil draws less than 50 mA and that the relay has a flyback diode across the coil.
Arming from the smart home. Program a free zone as 80. ARMING. When it is violated, it arms the partition it belongs to and optionally a group of partitions. The arming mode (full, or one of the modes for staying at home) is set per zone. Connect a dry relay contact from the smart home to that zone, with the zone's wiring type set to match the contact (NO, NC or with end-of-line resistors). A short pulse from the relay then arms the alarm.
The panel also offers 81. DISARMING and 82. ARM/DISARM zones. Think hard before you use them. A zone that disarms the alarm turns a smart relay into a key that needs no keypad and no user code.
What to automate and what to leave alone
Reading state is low risk and very useful: lights and heating that react to arming, a notification when the panel reports a mains failure or a low battery, a check for open windows before you arm, the alarm's motion detectors used for lighting automations while the house is disarmed.
Control needs more care. The openHAB documentation gives advice that applies to every platform:
- Create a separate alarm user for the integration and give it rights only to the partitions it really needs. Actions done by the smart home are then easy to tell apart in the event log, and an intruder on your local network cannot do more than that user is allowed to.
- Treat disarming and alarm clearing from the smart home as a security trade-off. Once stored in a controller, the code works without anyone typing it on the keypad.
Arming automatically when everyone has left, or at night, carries little risk: the worst case is an alarm armed when it should not be. Disarming automatically when a phone arrives home is a different matter, because it depends on a location service, a phone and a smart home server you have to trust as much as the alarm. Leave disarming to the keypad, a key fob or Satel's own app, and treat the smart home as a well-informed observer that can, at most, arm.
Common problems
- The integration will not connect. Check that "Integration" is enabled and saved to the panel, that the port matches, that the IP filter allows your server, and that no other client is connected.
- Garbage or no data with encryption on. The key in the client must match the integration encryption key in the panel exactly.
- Wrong number of zones or outputs. Take the numbers from the DLOADX project, not from the keypad order or the zone names.
- An output is always "on" in the smart home. Check the Pol.+ option on the output and the logic of the relay or optocoupler. An OC output with Pol.+ off is shorted to ground when inactive.