Skip to content

Connecting the hardware

This chapter covers connecting Sieza Peridect+ control units to Protequ. A Peridect+ installation is a perimeter fence or underground cable with vibration detectors. The detectors hang on lines, and each line ends on a line controller inside a control unit. Protequ reads the state of every detector from the control units, and Protequ itself arms the partitions, holds the bypasses and raises the alarms.

How Protequ reaches it

Over an IP network, directly. Protequ connects to every control unit on its own, over HTTPS on the standard HTTPS port 443. Check with the supplier that the unit firmware answers HTTPS on that port. The unit answers; it never connects to Protequ by itself. There is no converter between Protequ and the unit.

Before you start

  • Every control unit is mounted, powered and reachable from the Protequ server over the network.
  • Every control unit runs a firmware with HTTPS. Ask the supplier if you are not sure.
  • The supplier has prepared every control unit for Protequ. The unit then accepts the signed requests that Protequ sends. Installers do not get this Protequ key and do not enter it anywhere.
  • You have the RTU key of every control unit from the supplier. The RTU key is a text of letters and digits in groups separated by dashes. Every unit has its own key. If you do not have it, open https://<unit IP address>/install/RTU_KEY.TXT in a browser: the unit shows its own key there.
  • The supplier configured the units with the manufacturer's configuration software. Protequ reads the lines, the ring partners and the wired inputs and outputs from the units.

On the equipment

  1. Give every control unit a fixed IP address on the site network. Note the address of each unit.
  2. Open TCP port 443 from the Protequ server to every control unit on every firewall in between.
  3. Make sure no other system polls the units at the same time. A unit serves one connection at a time, so a second system slows Protequ down or blocks it.
  4. Set the unit to its normal working mode for third-party systems, as the supplier configured it. Protequ never changes the unit mode.

In Protequ

  1. Create one Peridect+ system for each connected circuit of units.
  2. Add every control unit under it with its host, rtu_key and prefix. Save and wait until every unit shows online.
  3. Run device discovery on the Peridect+ system. Protequ reads every unit and adds its line controllers, its line inputs, its wired inputs and outputs, and one perimeter line for each line controller that reads a line. The detectors of the line (range) come from the segments in the unit configuration. When the unit configuration names the ring partner of a line, Protequ sets slave_lcp too.
  4. If discovery fails, check the log: it names the unit or the partition range and the reason. Discovery runs only when every unit is online and works normally. If a backup line controller has taken over a line, repair the line first. If a line controller that reads a line has no segment in the unit configuration, add the segment in the Sieza configuration software first. If a partition range covers a detector the line no longer has, fix the range first.
  5. Open every ring line. If slave_lcp is empty, set it to the line controller where the line ends. The log says why discovery left it empty, for example when two lines match the same partner.
  6. Add the partitions with their line ranges.
  7. On every control unit, turn on the statuses the customer wants to see, for example a network fault or a high temperature. All statuses are off at first; a status that is off goes only to the log.

Discovery adds an input or output only when the unit configuration marks its pin as wired, and removes one you created by hand on a pin that is not wired.

Run discovery again after a change of the lines or of the unit configuration. It keeps your names, a slave_lcp you set by hand when the unit configuration names no single partner, and the partitions.

You have from the equipment Device in Protequ Field
IP address of the control unit Peridect+ control unit host
RTU key of the control unit Peridect+ control unit rtu_key
Interface the supplier named Peridect+ control unit prefix: keep Sup unless the supplier says App
Line controller 1 or 2 in the unit Line controller lcp_index (discovery fills it)
Line input module: its bus address in the unit configuration Line input module address, for example 17 (discovery fills it)
Line controller where the line starts Perimeter line master_lcp (discovery fills it)
Line controller where the line ends in a ring Perimeter line slave_lcp (discovery sets it when the unit configuration names one partner; else set it by hand; empty for a line without backup)
Wired unit input or output Unit input / unit output input_index / output_index (discovery fills them)
Detector addresses on the line Perimeter line range, for example 101-102 (discovery fills it from the segments)
Detectors a partition watches Line range under the perimeter partition line and addresses, for example 1-200,300-310

Each detector keeps the address its line controller gives it, for example 101 and 102. A partition range lists addresses inside the range of its line only. Protequ ignores a detector outside the range of its line and refuses to bypass it. Discovery recognises a line by the line controller where it starts, so a line you create by hand keeps its settings when discovery runs. See the configuration page for the full field list.

Confirm it works

  1. Save the configuration. Protequ connects to every control unit. On the first connection Protequ asks you to trust the unit's certificate. Trust it once for each unit.
  2. Check that every control unit and every line shows online.
  3. Tap a fence section near a known detector. The line shows the detector number in alarm or prealarm after a short moment.

If it does not connect

  • The unit stays offline and the log mentions a certificate: trust the unit certificate in Protequ. This happens on the first connection and again when the unit certificate changes.
  • The unit stays offline and the log says the unit refused the signature: check the RTU key of that unit. If the key is right, ask the supplier whether the unit was prepared for Protequ.
  • The unit stays offline with no answer at all: check the IP address, port 443 on every firewall, and that the unit firmware has HTTPS.
  • The unit goes online and offline again and again: check that no other system talks to the unit.
  • The unit is online but a line stays offline: check that the line controllers on the line match the cabling, and that the line controller cable is connected.
  • An alarm shows on the wrong detector number: check which line controller the line starts on, and run discovery again so the line range matches the unit.
  • The log says a line "has range 1-2, but config.xml ... gives segments 1-3 ...; run device discovery": the segments in the unit configuration changed. Run device discovery on the Peridect+ system.