
The Ropam OptimaGSM is a Polish security alarm panel with GSM/GPRS connectivity. TapHome communicates with the panel via Modbus TCP through the Ropam AP-IP gateway module, which provides the TCP/IP communication interface on port 502.
This is a starter template implementing 1 output and 9 zone inputs from the full capacity of 40 outputs and 48 inputs. Users can add more devices following the same pattern described below.
The Modbus protocol on OptimaGSM does not expose arming, disarming, or system status registers directly — this is a security design decision. A workaround using I/O mapping is described in the Troubleshooting section.
Hardware connection
The AP-IP module connects to the OptimaGSM panel internally and provides an Ethernet (RJ45) port for TCP/IP communication. Connect the AP-IP module to the same local network as TapHome Core using a standard Ethernet cable.
- Protocol: Modbus TCP
- Port: 502
- Slave ID: Configurable (default 1 in template; official docs state 255; community reports 4 also works)
Assign a static IP address to the AP-IP module in the router’s DHCP settings. The module uses DHCP by default — without a reservation, the IP may change after a power cycle.
Configuration
Firmware requirements
- OptimaGSM firmware: v2.4 or newer
- AP-IP firmware: v1.5 or newer
Update the firmware using OptimaGSM Manager before proceeding if the installed version is older.
Enabling Modbus TCP/IP server
- Open OptimaGSM Manager (v2.0 or newer)
- Navigate to the AP-IP internet module section
- Configure network settings (Ethernet DHCP or static IP)
- Enable the checkbox “Enable MODBUS TCP/IP server” at the bottom of the AP-IP configuration page
Enabling output control via Modbus
Each output that should be controllable via TapHome must have the “WWW/IP control” option enabled:
- In OptimaGSM Manager, navigate to the Outputs section
- For each output you want to control, enable “WWW” in the “Triggered by” checkbox list
- This enables control via the app, web server, and Modbus TCP/IP simultaneously
Without the “WWW/IP control” option enabled for a specific output, Modbus write commands to the corresponding coil register will be ignored by the panel.
TapHome import parameters
When importing the template in TapHome, provide:
- IP Address — the AP-IP module’s IP on the local network (default: 192.168.1.0)
- Slave ID — Modbus slave address (default: 1)
Device capabilities
Output control
The template includes one output (Output 1) mapped to coil register C:0. The output uses Emergency/OK state labels and can be toggled on/off via Modbus function 0x05 (Write Single Coil).
Zone input monitoring
Nine zone inputs are included as reed contact sensors reading discrete input registers:
- Zone Inputs 1–8 — continuous addresses D:0 through D:7
- Zone Input 32 — address D:31 (non-contiguous, skips D:8 through D:30)
Each zone input reflects the physical state of the corresponding alarm zone input with a 250ms response time.
Expanding the template
The OptimaGSM exposes 40 outputs (coils C:0–C:39) and 48 zone inputs (discrete inputs D:0–D:47). The template includes only a starter subset. To add more devices:
- Additional outputs: Add a ModbusSwitch device with
MODBUSR(C, {address}, Bool)where address is 0–39 - Additional inputs: Add a ModbusReedContact device with
MODBUSR(D, {address}, Bool)where address is 0–47
Additional capabilities
The OptimaGSM panel also exposes input registers for temperature sensors (4 channels), analog input (0–10V), GSM signal level, AC power status, DC supply voltage, IOE-IQPL module power/voltage monitoring, system time, fault codes, and firmware versions. These can be added to the TapHome template as ModbusVariable devices reading input registers.
Troubleshooting
No Modbus communication
- Verify the AP-IP module firmware is v1.5 or newer
- Confirm the Modbus TCP/IP server is enabled in OptimaGSM Manager
- Check that the AP-IP module and TapHome Core are on the same network/subnet
- Try different slave IDs (1, 4, or 255) — the correct value depends on the AP-IP firmware version and configuration
Outputs not responding to commands
- Verify the “WWW/IP control” option is enabled for each output in OptimaGSM Manager
- Use the Ropam Modbus Tester (
modbus_tester.exe) to verify that outputs respond to write commands independently of TapHome
Arming and disarming via TapHome
The Modbus protocol intentionally excludes direct arming/disarming registers for security reasons. A workaround using I/O mapping is available:
- Arming control: Configure an output (coil) to be logically mapped to an input in the panel. Set the input type to ARM, DISARM, ARM-only, DISARM-only, or CANCEL alarm as needed
- Status monitoring: Configure output(s) to be triggered by system status in bistable mode (e.g., Output 3 for “Full arm”, Output 4 for “Alarm”). Read the coil status via Modbus to determine the system state
