Материал из for iRidium developers
Перейти к: навигация, поиск
Эта страница является переводом страницы IRidium Gate. Перевод выполнен на 100%.

Other languages:
English • ‎русский

iRidium Gate

abandonware, the substitute - iRidium Server

iRidium Gate - it is a software data gateway. It solves the problem of multi-client connection for some automation equipment. It unites several connections with equipment in one data stream.

the documentation is updated 20.2.2016


Use:

  • Connection of several clients to equipment which does not support the multi-client function: KNX IP interfaces and routers, Domintell DETH02
  • Connection of control panels via Wi-Fi or 3G to equipment connected to PC through the СОМ-port, TCP-to-RS232 conversion
  • Solving the problem of "frozen" KNX routers when losing connection: stable connection with KNX



Requirements:

  • iRidium Gate can be installed for free on any Windows 7/8 based PC. There are no any special requirements bu to have an up-to-date network card. For example, you can use Intel NUC PC.


Operation Principles

iRidium Gate receives data from control panels and sends them to equipment. It can convert data from TCP to UDP/RS232 or transfer the data without any changes. Gate just transfers data. It cannot save them or remember the state of variables.

When setting up Gate you form the receiving and the sending parts of the gateway: the port of data receipt, the address and the port of equipment where the data is required to be transferred.

You can create several gateways with different settings.



iRidium Gate for KNX

  1. add "TCP to UDP Gate" in iRidium Studio
  2. indicate the address and port of iRidium Gate in the "TCP to UDP Gate" settings in iRidium Studio
  3. set up iRidium Gate:
    1. indicate the type of the driver which will connect to the gateway
    2. indicate the port to which control panels will connect
    3. indicate the address and port of the KNX IP interface where Gate will transfer data
  4. add iRidium Gate in Windows autostart


1 Set up work via the gateway in the visualization project:

Gate InsertGate.png
Gate SetupGateInProgect.png
  • add "TCP to UDP Gate" to the KNX driver
  • indicate the IP-address of the PC with running iRidium Gate - you can learn it in the network settings (it is recommended to use the static IP-address). Then indicate the ТСР port of connection to Gate on this PC. The port can be selected in Gate settings
    • Host - the IP-address of the PC with running Gate
    • Port - the port of connection to the PC with running Gate. You can use a random port after making sure that it is not occupied by another application


2 Set up the gateway for data transfer in iRidium Gate

To create a new gateway in iRidium Gate, click "Add Gate":

Gate AddNewGate.png

In the gateway settings indicate:

Gate SetupNewGate.png

Раздел "Gate"

  • Name: the name, at random
  • Comment: the description, at random
  • Autostart - to start automatically at launch of the Gate application


The "Server" section - setting up data receipt from control panels

  • Type: the type of the driver from which data will come
  • Transport: the transport protocol of transferring data to the gateway
  • Port: the port of connection of clients to the gateway - the same one you selected in the iRidium project
  • Max Connections: the maximum number of clients concurrently connected to the gateway


The "Device" section - setting up connection to the KNX IP interface

  • Type: the type of controlled equipment
  • Transport: the transport protocol used by equipment for data receipt
  • Host: the address of the KNX IP interface
  • Port: the port of connection to the KNX IP interface (3671)
  • Idle: the waiting time until the second attempt of connection at emergency disconnection from the router (60000 or 120000 ms)



iRidium Gate for Global Cache

  1. indicate the address of the PC with iRidium Gate instead of the Global Cache address in iRidium Studio
  2. set up iRidium Gate:
    1. indicate the type of the driver which will connect to the gateway
    2. indicate the port to which control panels will connect
    3. indicate the address and port of the KNX IP interface where Gate will transfer data
  3. add iRidium Gate in Windows autostart


1 Set up work via the gateway in the visualization project:

Gate InsertGate AV.png
  • indicate the IP-address of the PC with running iRidium Gate - you can learn it in network settings, it is recommended to use the static IP-address
    • Host - the IP-address of the PC with running Gate
    • Port - the port of connection to the PC with running Gate. You can use a random port after making sure that it is not occupied by another application. Global Cache can use up to 3 ports, see IR output, Serial 1, Serial 2 settings


2 Set up the gateway for data transfer in iRidium Gate

in case with Global Cache you are required to set up from 1 to 3 gateways as Global Cache can receive data via three TCP ports: 4998 - relays and IR commands, 4999 - СОМ-port 1, 5000 - СОМ-port 2. Each port has to be processed by a separate gateway.

To create a new gateway in iRidium Gate, click "Add Gate":

Gate AddNewGate.png

In the gateway settings indicate:

Раздел "Gate"

  • Name: the name, at random
  • Comment: the description, at random
  • Autostart - to start automatically at launch of the Gate application


The "Server" section - setting up data receipt from control panels

  • Type: the type of the driver from which data will come; Direct - to send directly
  • Transport: the transport protocol of transferring data to the gateway
  • Port: the port of connection of clients to the gateway - the same one you selected in the iRidium project
  • Max Connections: the maximum number of clients concurrently connected to the gateway


The "Device" section - setting up connection to Global Cache

  • Type: the driver type
  • Transport: the transport protocol used by equipment for data receipt
  • Host: the Global Cache address
  • Port: the port of connection to Global Cache (4998, 4999, 5000)



Start and Autostart of iRidium Gate

1 Select the gateway and click Start on the side panel of the application to start data transfer:

Gate RunGate.png
  • The gateway status "Run" - it is ready for data transfer.
  • "Client" - the list of control panels connected to the gateway. Select "Status" in the right-click menu to see all connected panels.


2 To launch iRidium Gate automatically at Windows start, drag the application tag in the Autostart folder in the Start menu.

Gate MoveToAutorun.png
Make sure the "Autostart" flag is on in the gateway menu. Otherwise, Gate will be launched but the gateways in it will be off.


3 To connect via the Internet, set up the Port Forwarding service on the Internet router.

When the service is set up, you can connect to Gate using the external port and public address of the router. you can learn the public IP-address of your router with the help of online services, for example, here.