Ropam elektronik OptimaGSM AP-IP Guide

AP-IP User & Instalation Manual
Ropam Elektronik
Tel. +48 12 272 39 71
Faks +48 12 379 34 10
Polanka 301
32-400 Myślenice, Polska
www.ropam.com.pl
biuro@ropam.com.pl
Document version : 1.0
2017-10-06
Instrukcja instalacji (DTR).

© 2017 Ropam Elektronik
WARNINGS
For safety reasons, this equipment should be installed only by qualified personnel.
Before proceeding with the installation, refer to the above instruction, the connection
must be performed without the power supply.
Do not power on the unit without connecting an external antenna (starting the device
without the antenna connected may damage the phone transmissions and void the
warranty!).
Do not interfere with construction or carry out repairs yourself.
Protect your electronics against electrostatic discharges.
In order to meet LVD and EMC requirements, the following must be observed: power,
installation, shielding - according to application. The device is a source of
electromagnetic waves, so it may interfere with other radio devices in specific
configurations.
Ropam Elektronik is not responsible for any malfunction of the GSM network and any
possible technical problems.
WEEE LABELING
Waste electrical and electronic equipment must not be disposed of with household
waste. According to the WEEE directive (EU Directive 2002/96 / EC), electrical and
electronic equipment used should be used separately. In Poland, it is prohibited to place
together with other wastes of worn equipment marked with a crossed-out wheeled bin
symbol in accordance with the regulations on waste electrical and electronic equipment.
The user who intends to dispose of this product is obliged to give the above mentioned.
to the point of collection of used equipment. Collection points are conducted, among
others. by the wholesale and retail sellers of this equipment and the municipal
organizational units engaged in waste collection activities. The correct implementation
of these obligations is particularly important in the case of hazardous equipment that has
a negative impact on the environment and human health.
The power supply unit is compatible with a 12V DC lead acid battery (SLA, VRL). It
should not be discarded after use, but must be disposed of in accordance with the
applicable regulations.
(European Union Directives 91/157 / EEC and 93/86 / EEC).

© 2017 Ropam Elektronik
Spis treści
General description. ........................................................................................................................... 2
Properties........................................................................................................................................ 2
Warnings......................................................................................................................................... 2
Description of the module................................................................................................................... 4
Construction and description. ......................................................................................................... 4
Assembly and installation................................................................................................................... 6
Basic requirements. ........................................................................................................................ 6
Connection and start-up of the AP-IP module................................................................................ 6
Configuration. ..................................................................................................................................... 9
Configuration: OptimaGSM Manager. ............................................................................................ 9
Configuration and status control: SMS. ........................................................................................ 12
System configuration: TCP / IP AP-IP module. ............................................................................ 13
Advanced configuration of the router............................................................................................ 15
Providing a fixed IP address. .................................................................................................... 16
System support - applications for mobile devices............................................................................ 18
RopamOptima application............................................................................................................. 18
Start-up...................................................................................................................................... 18
Configuration............................................................................................................................. 21
System demo ............................................................................................................................ 22
Wbudowany webserwer................................................................................................................ 23
System maintenance........................................................................................................................ 24
Technical parameters....................................................................................................................... 25
Version history.................................................................................................................................. 26
Information........................................................................................................................................ 27

Page 01
General description.
© 2017 Ropam Elektronik

Page 02
General description.
© 2017 Ropam Elektronik
General description.
Thank you for choosing Ropam Elektronik products and solutions. We hope that our equipment will
meet your requirements and will serve you reliably for years to come. Ropam Elektronik continues to
innovate its products and solutions. With the update function products can be enriched with new
features and keep up with the modern requirements for the protection of property systems and home
automation. We invite you to visit our website www.ropam.com.pl for information on current versions. If
you have any additional questions, please contact us by phone or email.
Properties.
OptimaGSM is a modular, hybrid control panel with GSM and IP communication. The control panel
integrates electronic intruder alarm systems and home automation with the use of SmartPLC technology,
ie communication on the 230V / AC power grid. The expansion of the PBX's capabilities is extended by
the TCP / IP communication module: AP-IP. The OptimaGSM and AP-IP control panel set is the first
control panel in the market with a built-in Web server for the user to control the system. The solution is
fully portable, i.e. works on any web browser, it is secure because it is based on a secure SSL connection
and does not require installation of any additional software. In addition to the embedded WebServer,
AP-IP supports applications for mobile devices for three operating systems: Android, IOS, Windows
Mobile. OptimaGSM and AP-IP headquarters is a modern and innovative IoT solution (IoT - Internet of
Things), that is access to home appliances, automation control via the Internet.
- compatibility: OptimaGSM, transforms the control panel into a modern IoT solution (translated 'Internet
of Things'),
- support for up to eight users simultaneously (TCP / IP clients),
- built-in WebSerwer based on HTML5 for managing and controlling the control panel from the level of
the web browser,
- WebServer: operation on any computer, tablet or smartphone with a web browser (HTML5),
- application support for mobile devices: Android, IOS, Windows Mobile,
- wired communication: Ethernet port: 10/100 BaseT, RJ45.
- wireless WLAN communication: Wifi in 802.11 b / g / n, 2.4 GHz standard, with panel antenna,
- advanced operating modes: WLAN - AccesPoint with DHCP server or DHCP client, ETH mode of
operation: DHCP client,
- encrypted TCP / IP transmission (SSL),
- encrypted WLAN transmission: WPA2-PSK,
- support for SMTP e-mail server (with SSL / TSL authorization),
- AP-IP is an independent communication channel for TCP / IP monitoring (except GPRS),
- possibility of programming using ETH or WLAN,
- PCB local module mounted on the PCB of the panel.
Warnings.
• For safety reasons, the device should only be installed by qualified installers.
• Before proceeding to the assembly, read the understanding of the above instructions, connection
activities should be carried out without the power supply connected.
• Do not interfere with the construction or carry out independent repairs.

Page 03
General description.
© 2017 Ropam Elektronik
• It is necessary to maintain possible antistatic protection measures to protect electronic circuits on
PCBs against electrostatic discharge ESD.
• In order to meet the requirements of LVD and EMC, the following rules must be observed: power
supply, installation, shielding - according to the application.

Page 04
Description of the module.
© 2017 Ropam Elektronik
Description of the module.
Construction and description.
Connector / element
Description / Function
ETH
RJ45 socket, ETHERNET port, 10/100 BaseT,
RS232TTL
4-pin connector for connecting the communication with the OptimaGSM
board using a 4-pin / RJ12 cable
Wifi antenna
Wifi panel antenna with 20 cm connector connected to the AP-IP board
UFL connector.
2x3pin connectors
connectors, pins for installing the module on the OptimaGSM board
Comments:
All connections and installation should be made while the motherboard power supply is off.
Incorrect installation of the AP-IP module in the motherboard may cause damage to the devices.
AP-IP is supported from: OptimaGSM v1.9, TPR-xx_OptimaGSM v1.3, OptimaGSM Manager 1.6.

Page 05
Description of the module.
© 2017 Ropam Elektronik
LED
Color
Description
WIFI
BLUE
• shines with continuous light = correct operation as AccesPoint
(DHCP server)
• blinks = correct operation as Client (DHCP client)
• no lights = Wifi disabled or incorrect data in Wifi settings (eg no /
SSID error, no WPA2 password or it is too short (minimum 8
characters)
INTERNET
YELLOW
• lights up = correct internet connection (ping works)
• no light = no internet access
FAIL
RED
• lights up = one of the failures specified in the configuration
• no light = no failure
COMM
GREEN
• blinks = correct communication with the control panel through the
RJ12 / 4pin cable
• lit = no communication with the control panel or unconnected cable
• no light = lost communication with the control panel (+ possibly
shines FAIL)
RJ45-Pwr
GREEN
• lights up = wired LAN (ETH) connector works correctly
RJ45-Tx/Rx
YELLOW
• no light = no wired LAN communication
• blinks = signaling of Tx / Rx transmission

Page 06
Assembly and installation.
© 2017 Ropam Elektronik
Assembly and installation.
Basic requirements.
The system should be installed in closed rooms with normal air humidity (RH = 90% max. Without
condensation) and temperature in the range of -10 ° C to + 55 ° C. When choosing a mounting
location, the following criteria should be followed:
- access to the Ethernet network, the ability to configure the network (router),
- a permanent public IP or equivalent Dynamic DNS service is required for remote access from the
Internet and the possibility of port forwarding on the router,
- WiFi coverage (attenuation of the walls of the room: wood / gypsum - about 5% -20%, brick /
ceramics: by 20% -50%, concrete / reinforced concrete: by 50% -80%, metal / steel: by 100%),
- driver availability for third parties and sabotage attempts,
- maintaining a safe distance from sources of possible interference (eg 230V / AC power buses -
buildings, radio transmitters, etc.).
Connection and start-up of the AP-IP module.
Connection of the AP-IP communication module.
1. The AP-IP module should be installed on the OptimaGSM mainboard in accordance with the
orientation and two sets of pins should be plugged into the sockets on the motherboard
(see photo below).
In the case of the version in the housing for a DIN rail (- D9M), the housing should be opened by
releasing the lateral hooks. Remove the control panel PCB, install
AP-IP module, assemble the whole in reverse order and lead out the RJ12 / 4pin cable and the aerial
FME wire.

Page 07
Assembly and installation.
© 2017 Ropam Elektronik
2. In case you used a Wifi connection, install a vertical Wifi antenna on the housing or cabinet,
3. If using an ETH connection, connect the UTP LAN cable to the ETH connector.
4. Connect the programming cable to the service computer: USB-MGSM or RS232-MGSM (selection
depending on available ports in the service computer).
5. Start the OptimaGSM Manager program (in the version dedicated to a given control panel version),
select the COM port for the communication cable, the connection will take place automatically.
6. Open the tab "Modules, TPR panels" to start "Identification" and detected modules, expanders
including AP-IP to be rewritten to the control panel resources and save the settings to the control
panel.
7. Configure the AP-IP module:
In the control panel, after upgrading from the lower version, there are no default settings for AP-IP and
TCP / IP key.
For security reasons, the WPA2 password must be changed on the site unconditionally.
8. After configuring the control panel with the AP-IP module, connect the control panel and the AP-IP
module with the 4pin / RJ12 cable:

Page 08
Assembly and installation.
© 2017 Ropam Elektronik
Comments:
For security reasons, the WPA2 password must be changed on the site (minimum 8 characters).
When updating the system from an older version, please:
- updating all elements to compatible versions,
- identification and programming of the current configuration program, dedicated to the latest
versions,
- verification and possibly changes in functions, LogicProcessor scripts,
- deleting and creating new users of the system (codes) and granting them access to IP.

Page 09
Configuration.
© 2017 Ropam Elektronik
Configuration.
The AP-IP module is based on a router with support for two Ethernet and WLAN networks connected
by NAT (Network Address Translation).
The addressing of individual subnets must be different, e.g. 192.168.1.x and 192.168.10.x (default for
WLAN).
Used ports (default):
- WebServer user: TCP port 443 (https: //),
- Router Administration Panel (LuCI): TCP port 444 (https: //),
- OptimaGSM Manager programming: TCP port 8882
Comments:
Ports to the router panel and TCP / IP programming are not recommended to be shared outside the
local network.
Configuration: OptimaGSM Manager.
AP-IP module configuration options.

Page 10
Configuration.
© 2017 Ropam Elektronik
Configuration of the Wifi option with OptimaGSM Manager: Wifi router settings are possible only
from the OptimaGSM Manager program (basic).
Wifi operating mode:
- Client: allows you to connect to another Wifi router (access point), work as a DHCP client, enter the
access data to the Wifi network on the site in the SSID and WPA2-PSK fields,
- AccesPoint: the module works as a Wifi access point, work as a DHCP server, in the SSID and
WPA2-PSK fields, enter authorization data for access devices, e.g. tablets, smartphones, PCs,
- disabled: disables Wifi interface, access to the web server only via ETH,
- SSID: field for entering the WLAN network name, in case of working as a Client of the existing
network name and in the case of working as AccesPoint broadcast by AP-IP (SSID name can not
contain a space character !!!).
- WPA2-PSK: the field for entering the Wifi password (minimum 8 characters) when working as a
Client must be compatible with the password of the access point.
Priority of sending e-mail, TCP / IP:
- AP-IP
- modem GPRS
the option sets the default basic connection for TCP / IP communication.
Capture image from IP cameras (RTSP protocol)
A function that allows you to capture images from IP cameras using the RTSP protocol.
- cooperation with IP cameras and DVR recorders, capturing RTSP stream (4),
- for creating photos for MMS (GPRS) or e-mail attachments (IP, internet),
The RTSP stream should be configured from the cameras / DVR. The RTSP path can be checked
using VLC. In the case of freeze frames, the frequency of images downloading can not be higher than
1 for 5s.
The AP-IP module settings window (configuration of access paths for IP cameras).

Page 11
Configuration.
© 2017 Ropam Elektronik
Notification settings window for outputs every 5s or simultaneously (MMS, e-mail).
Support for camera resolutions from:
CIF (352x288)
2CIF: 704x288
4CIF (704x576)
D1: (720x576)
HD 720P (1280x720)
HD 1080P (1920x1080)
In the case of supporting an additional stream (auxiliary) by an IP camera, this stream should
be selected as the base for downloading images.
The transmission quality for the auxiliary channel should be smaller than the main stream - it
will ensure correct compression of the downloaded images.
Recommended not greater than D1.
In order for the path to the camera to be interpreted correctly, the whole address should be
taken in quotation marks!
Example:

Page 12
Configuration.
© 2017 Ropam Elektronik
Signaling problems:
- no connection to Wifi network (as Client)
- no UTP / ETH interface cable
- no internet (10 unsuccessful PING queries)
Selecting this option will signal FAIL failures if they occur.
Reset module when no internet for 5 minutes.
the option generates an automatic reset and restart of the AP-IP module with the restart of all network
services.
Configuration and status control: SMS.
Checking the status and changing the AP-IP configuration, i.e. IP, SSID, and WPA2 password, is
possible by:
1. In the touch panel, in the user menu (main password, from v1.3 panels).
2. During connection with OptimaGSM Manager, programming using AP-IP
(the control panel must be in service mode, and the control panel ID must match, TCP / IP
key, communication password).
3. SMS commands:
Command
Description
#### LanStat
read the IP address of the AP-IP assigned for the
ETH wired connection (ETH DHCP client)
#### Wifi
returns Wifi network status: IP, SSID, WPA2, RSSI,
mode, internet
IP - assigned IP address,
SSID: the name of the Wifi network
WPA2 - Wifi network password
mode: set operating mode: client (0), accespoint (1),
off (3)
internet: there is / no
#### Wifi Mode
ap / client / off ssid: [network_identifier] wpa:
[password_path]
configuration of the Wifi network by SMS,
parameters of the command should be given as
command arguments, e.g. 5555 wifi mode ap ssid:
apip wpa: ropam,
SSID can not contain spaces!
#### apiprestart
the command restarts the AP-IP and restarts
services (AP-IP run time and network services: ~ 30
sec.)
#### apipdefault
restores AP-IP default settings (ETH: DHC client,
WLAN: Access Point, webserver
https://192.168.10.1)
Comments:
- default WebSerwer for Wifi connection - AccesPoint is: https: 192.168.10.1
- SMS commands require authorization with the main code.

Page 13
Configuration.
© 2017 Ropam Elektronik
System configuration: TCP / IP AP-IP module.
If the AP-IP module is installed in the system and is connected to the Ethernet or Wifi network, it is
possible to program the panel using TCP / IP.
Programming requires:
- access to the network with the AP-IP system and the open port 8882,
- the ability to enter the service mode in the control panel,
- the control panel can not be in armed mode (armed mode),
- knowledge: ID of the control panel, TCP / IP key, communication password with the PC (or file with
the control panel configuration),
- TCP / IP remote programming option selected
The LAN / WiFi network parameters can be read out from the touch panel - user settings -> Internet
module (TPR-1x, TPR-2x, TPR-4):

Page 14
Configuration.
© 2017 Ropam Elektronik
Programming TCP / IP using AP-IP:
- start OptimaGSM Manager, enter the ID of the control panel, TCP / IP key, PC communication
password (or open the file with the system configuration),
- select from the connection mode: TCP / IP AP-IP module,
- press the 'antenna' remote connection button (the fourth icon from the left),
- start the control panel service mode during connection attempts (20), if the system does not have a
programmed touch panel, the service mode can be started by putting a jumper on connector X3 (third
vertical pair from the PCB edge), after programming the jumper must be removed!
- the OptimaGSM Manager program broadcasts an incoming TCP / IP connection with the control
panel ID and usually the connection is established automatically, if the control panel does not respond
automatically, the window for entering the control panel IP will be displayed.
(read IP address for ETH network is possible through: touch panel - user menu, SMS command,
on the OptimaGSM bottom bar during the TCP / IP connection set-up, the default IP for WLAN:
192.168.10.1).
Comments:
By default AP-IP has the following settings (in the original configuration of OptimaGSM 1.9 and
higher):
- AP-IP module programmed in the control panel configuration,
- configuration of the Wifi option from the OptimaGSM Manager level,
- operating modes: Wifi- AccesPoint with DHCP server (default IP address: https://192.168.10.1)
SSID: apip
WPA2: ropam_optimagsm
- ETH mode of operation: DHCP client,
- TCP / IP key = ID of the control panel (see sticker)
- communication password with PC: 111111
The above settings allow programming through the TCP / IP of the factory OptimaGSM control
panel!

Page 15
Configuration.
© 2017 Ropam Elektronik
Advanced configuration of the router.
The AP-IP router is based on the OpenWrt software with the LuCI graphic environment. The change of
advanced functions is possible after logging into the administration panel.
In the case of configurations from the LuCI level, the configuration option must be disabled from the
OptimaGSM Manager level.
Login to the LuCI administration panel:
- port 444 of the web server's IP address, e.g. https://192.168.10.1: 444
- 'router' icon in the user's application:
Login data:
login: root
password: ID of the headquarters (OptimaGSM)
(see sticker, file with system configuration)
Comments:
- advanced configuration requires knowledge of OpenWrt based network configuration and routers,
- in the installer and ftp zones with application notes there are examples of configuration changes, e.g.
permanent IP for ETH, changing the addressing of the ETH network, WLAN, change of ports for
WebSewrer and LuCI.

Page 16
Configuration.
© 2017 Ropam Elektronik
Providing a fixed IP address.
The procedure for assigning a fixed address for the ETH interface is shown below.
In some cases, it is necessary to give a fixed IP for the correct operation of the OptimaGSM system
(when there are problems with the assignment of addressing via DHCP).
To give a permanent IP for the required interface:
Log in to the exchange via the browser:
Go to the "Ustawienia (Settings)" tab:
Click the router icon:

Page 17
Configuration.
© 2017 Ropam Elektronik
And choose interface menu to change the IP address:
Editing a given interface launches the address change menu:
After correct configuration of addresses, you should save your swaps by clicking "Save and apply".
Table of contents
Other Ropam elektronik Control Unit manuals