Notes for installers¶
Facts from a test run on Axxon One 3.2.2.42 on Windows, with two virtual cameras (November 2026). Where something was not tried, it says so under "Not tried yet". Moving a camera (PTZ), presets and playback of recorded video were built from the Axxon One documentation and have not been tried on a real PTZ camera or a real recording: the virtual cameras have neither. On 1 December 2026 the same cameras were used through a Protequ server (adapter 1.0.0-rc.1, server 1.30.0-rc.1); what that showed is under "Tried through a Protequ server". On 3 December live video was seen again with adapter 1.30.0-rc.1.
Important behavior¶
- Arming is a state kept in Protequ. Arming a camera group, disarming it and resetting its alarm change
what Protequ shows and how it rates events. Nothing is sent to Axxon One, so Axxon One looks the same
whether a group is armed in Protequ or not. A camera is armed while any of its camera groups is armed, and
a camera that is in no group is never armed. The adapter stores the armed state and it survives a restart
of the device. If the stored data of the adapter is not kept when the adapter is replaced or updated, every
group starts disarmed, and Protequ reports that with a notice. The adapter image asks the installer for a
data volume for that state (image label
org.protequ.volumes), so a replacement keeps it from then on. The first replacement of an adapter that is already running still loses the armed state once, because the old container had no volume. An installer that does not read the label from the registry (an offline installation) may not create the volume. None of this has been tried on a real installation. - Arming needs the connection to Axxon One. Arming, disarming and the alarm reset change nothing in Axxon One, but Protequ refuses every command of a device that is offline, so these three are refused too while the connection to Axxon One is down.
- Motion and zone events of an armed camera are alarms. They are raised to an alarm and held until the alarm is reset. An arm or a disarm of a camera group also dismisses the standing alarm of its cameras, but only of a camera that has no other armed group: an alarm that another armed group still justifies stays. Protequ writes an alarm-cleared row for the group when a reset, an arm or a disarm dismissed an alarm that was standing, and none when nothing was standing. On a disarmed camera the events are information. Plates, faces, fire, picture faults and a lost signal are never changed by arming.
- An armed camera group shows the alarm of its cameras. An armed camera group shows an alarm while at least one of its cameras holds a standing alarm, and shows armed again when the alarm is reset or the last standing alarm is cleared. A disarmed group never shows an alarm. The alarm belongs to the camera and the group shows it when it is armed: a camera that is in group A (armed) and group B (disarmed) and holds an alarm shows the alarm on group B as soon as B is armed, even though the detection came while B was disarmed. If Protequ cannot save the alarm (a disk or volume that cannot be written), the alarm is still written to the audit and kept in memory, and the adapter log has one warning; it is lost only if the adapter restarts before a later save succeeds.
- Each import overwrites the groups of a camera. The groups Axxon One lists for a camera replace the groups someone added to it by hand in Protequ. The top group of the domain, the one that holds every camera, is not a camera group in Protequ, so no single command arms every camera.
- Do not edit the identifier fields. The identifier of a camera, detector, sensor input or camera group is filled in by the import and is how Protequ recognises it. For a camera, detector or sensor input capital and small letters count: the same text in another case is another device. A changed value is a different device, and the old one is deleted at the next import.
- Keep the Axxon One device when you import again. Do not delete it and add it again. A device added again, and a camera group that was deleted and created again in Axxon One, start disarmed. Protequ reports that with a software fault notice on the Axxon One device. An armed camera group that is no longer in Axxon One is not dropped: Protequ keeps its armed flag and repeats the notice at every connect while the group is missing, but a group that is not there protects no camera.
- The device restarts by itself after an import. The running device works with the cameras it was started with, so it needs a restart to work with the cameras the import created, and Protequ does it: on the test run the device was rebuilt right after the first import, so you do not restart it. Until that restart, the events of a new camera are written as unresolved device events on the Axxon One device, at warning level (see "Known limitation"). You do not have to do anything before the next import either: the checks of an import compare with the cameras Protequ holds when the import starts.
- Use the address of the Axxon One server, and a name only if the adapter can resolve it. The adapter runs
in a container.
localhostthere is the container itself and never reaches Axxon One, and a computer name must resolve from inside the container: on the test run the name of the Axxon One computer did not, and the device worked with its IP address. When Axxon One runs on the same computer as Docker Desktop, the namehost.docker.internalis Docker's name for that computer; it was not tried with this adapter. - Camera control (PTZ) and presets are built from the Axxon One documentation and were not tried on a real PTZ camera. The move, stop, go-to-preset and store-preset commands are offered on every camera, whether or not Axxon One has a PTZ unit for it, and each one asks Axxon One and fails with a text when it cannot be done. For a camera with no PTZ unit the operator reads "Axxon One could not start PTZ control for this camera (no telemetry unit found: Axxon answered HTTP 400, error 2: the parameters are specified incorrectly)": that is what the test server answered for its virtual cameras, and reading error 2 as "no unit" rests on that one answer. Anything else Axxon One answers is shown with its status and error number.
- How Protequ controls a camera. Protequ takes control as an Axxon One operator would, with a PTZ session of priority 3 (1 is the highest, 5 the lowest), and keeps it alive every 5 seconds. All operators of Protequ share the one session of a PTZ unit. An Axxon One operator with a higher priority takes the camera over: the command is then rejected with "the PTZ control session is not available". Protequ stops a move when the operator stops it, with a move of zero and then the release of the session, and in any case 20 seconds after it began, even if nobody stops it. If the connection to Axxon One is lost while the camera moves, the stop cannot be sent: the camera is left to Axxon One, which ends the session about 10 seconds after the last keep-alive. Whether that stops the camera has not been tried, so run the first tests supervised. The same holds when the adapter is stopped in the middle of a move and Docker ends it before it has sent the stop (Docker gives a container 10 seconds by default; the adapter may need up to 13 seconds when Axxon One answers slowly).
- The account needs PTZ rights. The role of the account must allow PTZ control of the camera, with a PTZ priority (not "no access"). Without them Axxon One refuses the request and the command fails with "the account has no PTZ rights". Such a refusal does not put the device offline and does not start the five-minute wait: only the checks of the connection do.
- Two video channels of one encoder can share one PTZ unit. If Axxon One lists the same PTZ unit for both, a stop or a preset on either camera stops the movement of the unit, whichever camera started it.
- Presets. Preset N in Protequ is position N-1 in Axxon One: Protequ preset 1 is Axxon One position 0. The numbers are 1 to 256. Going to a preset first stops the camera if it is moving. Storing a preset names it "PQ N". What Axxon One does when the position already holds a preset has not been tried: it may replace the preset or delete its name.
- Playback of recorded video (built from the documentation, not tried on a real recording). Protequ first asks Axxon One which times are recorded. It starts at the requested time when that time is recorded, at the start of the next recording when it falls in a gap, and tells the operator "No recorded footage at or after the requested time" when nothing is recorded from then on. Seeking starts the video again at the new time; pause and resume are done by the client; the speed cannot be changed and there is no frame step. It needs an archive with recording switched on for that camera (the test cameras had none: their recording was off), the RTSP server, and an account with access to the archive; without that access the command fails with "the account has no archive rights", and the device stays online.
- A stopped import changes nothing and says why only in the adapter log. Protequ shows the import as failed without a reason; the log has the message. To accept a renamed or restored server, delete the devices in Protequ and import again (the connection guide has the steps).
- A busy Axxon One server. When Axxon One answers that it has too many requests, Protequ keeps the connection through the first two such answers in a row (it checks every ten seconds by default) and counts the third as a lost link.
- An Axxon One server that does not answer delays only its own device. Each Axxon One device in Protequ waits for its own requests. A server that hangs does not delay the status check or the snapshot of another Axxon One device. Within one device the requests go one at a time, so a status check that hangs delays that device's own snapshot.
- If Protequ cannot write an event, the command still succeeds. When an arm, a disarm or an alarm reset cannot write its event, or a camera state, the change is kept and shown, the command is reported as done, and the adapter log has one warning. A missing event is then missing from the audit, and a camera state that could not be shown may stay as it was until the next change.
- A refused account is not tried again for five minutes. This keeps a mistyped password from locking the account. After you correct the password, restart the device. The wait may otherwise run to its end.
- Live video is the picture only. There is no sound. A camera with a second, smaller video stream plays it when the small picture is asked for; a camera with one stream plays that stream.
- The video address holds the account. Protequ gives its video service an address that contains the account name and password, and the video service may keep it in its configuration. It also keeps a stream until it removes idle streams itself, even after the connection to Axxon One is lost. Treat the configuration of the video service as a secret.
- A snapshot can be up to 30 seconds old. Axxon One renews the picture it hands out about every thirty seconds. It is not the picture of the moment you press the button.
Known limitation¶
- Events from Axxon One reach Protequ on the cameras: motion, line and zone rules, loitering, plates and faces, fire and smoke (as a pre-alarm), picture faults, audio loss and its end, a lost and a restored signal, and whether the camera records (shown on the camera, not written as an event). Axxon One alarms, sensor inputs and damage to the archive are not delivered as typed events. An event type Protequ does not know (for example people counters, queue, pose, water level and list-match detectors, and Axxon One alarms, which arrive as unknown device events) is written as an unknown device event, at warning level, with the text Axxon One sent. The adapter folder lists those codes (taxonomy-gaps.md) and what would turn each into a proper event.
- Switching a camera off and on in Axxon One is not shown in Protequ. When a camera was switched off and on in the Axxon One client, the adapter received four messages without a type and wrote four unknown device events ("Unknown event 'axxon:'") on the Axxon One server device; the cameras did not show the change. What Axxon One sends for it was not recorded, so it is not known which message carries the state.
- The first start of a new device writes software fault events. For each camera group the adapter writes a software fault at error level ("Group ... has no stored armed state and started disarmed"), and one warning that the event sender of the domain could not be matched to a device. On a new device this is expected and not a fault; the groups simply start disarmed.
- The adapter leaves out only these things, counts each of them, and lists them in its event ledger (event-dispositions.yaml): the track list telemetry of the object tracker; the end of a line, zone, loitering, plate, face or scene-change detection (its start is written, its end only returns the camera to rest); the state of Axxon One layouts, camera groups and relations; the first state the adapter sees of an object, and a state that did not change (Axxon One sends every state again at each connect); and a lost signal of a camera that already shows it lost, and a restored signal of a camera that did not show it lost (the same repeat). Everything else it receives is written, as a proper event or as an unknown device event.
- Axxon One tells at every connect whether each of its objects (a camera, an IP device, a detector, a server, a unit) is enabled, and which arm state a camera has in Axxon One. Protequ remembers the last state of each object while the adapter and the device run. A change is written as an unknown device event on the Axxon One device, at warning level, with the text Axxon One sent and the time it gives, for example axxon:ObjectActivatedEvent:deactivated for a camera or detector that was switched off. A change made while the connection was down is written when it connects again. A change made while the adapter or the device was restarted is not written: the first state after a restart is the starting point again. Arming in Protequ does not depend on the arm state in Axxon One; a change of that state is only written to the audit. An object that is switched on and off all the time writes one row per change, with no limit. Axxon One may also leave out a state that is "off" (this was not seen): every disabled object would then be written at each connect, which is noisy but never silent. None of this was seen live: the test server sent these states only at connect.
- When a camera loses its signal, Protequ removes the two video streams of the camera. The adapter writes the lost-signal row first and waits at most ten seconds for each removal.
- Every detection is one row in the audit. A detector that fires all the time (for example motion on a busy scene) writes a row for every detection, and the end of a motion detection is a row too. Protequ does not merge or thin them out; set the detector up in Axxon One so that it fires when it should.
- At every connect Axxon One sends the detections of the last seconds again. A detection Protequ has already written is not written again, as long as the device and the adapter keep running. After a restart of the device or of the adapter, the detections of the last 15 seconds or so before the connect are written once more. On a camera of an armed camera group that second copy is a second alarm row, and it latches the alarm again, so an operator who had reset the alarm sees it come back.
- A shooter detector is written as a safety event (critical) when Axxon One sends anything that is not the end of a detection: its start, a shooter event that has no end, a message with a state the adapter does not know, or a message with no state. Missing a shooter is the worse mistake, so a malformed shooter message raises a critical row for an operator to review. Only an end is written as an end. The test server has no shooter detector, so the way Axxon One sends a shooter event that has no end was never seen. Try a real shooter detector before this adapter is relied on for it.
- If the connection for the events is lost, the device goes offline and Protequ connects again, and the events of that time are lost. A connection that dies without a sign (a firewall that drops it) should be noticed after about 40 seconds; this was not tried.
- Events that happen while Protequ is not connected to Axxon One are lost and not recovered afterwards. When the connection is lost, every camera shows its resting state again (armed, its alarm, or idle).
- A camera added by an import gets its events on the camera only after the Axxon One device is restarted (not at the next connect). Before the restart, the events of that camera are written as unresolved device events (pq.event.device.unresolved) on the Axxon One device, at warning level. The same happens for every camera that Axxon One has and Protequ never imported: its events, and its lost signal, are written as unresolved device events at warning level, so a busy camera that is not imported fills the audit with warning rows. Only a restored signal and a recording state of such a camera are not written (they are repeats of its state). Import every camera whose events matter.
- A camera that is disabled in Axxon One sends no events at all, not even a lost signal (the Axxon One documentation says so), so Protequ writes nothing for it. Its being switched off is written only if Axxon One sends the state of the camera when it changes (see above; not tried).
- A detector can have several detections open at once. Protequ does not pair a detection with its end: the first end sets the camera and the detector to rest, so they may show rest while another detection is still open, for up to a minute. The audit is not affected: every start is a row, and so is every end that has a cleared event.
- Protequ remembers whether a camera has lost its signal only while the adapter runs. After a restart of the adapter, a camera that is still dark gets a second lost-signal row, with the time Protequ received it, and a camera that came back while the adapter was down keeps a lost-signal row that is never cleared.
- How Axxon One numbers a detection that has only one message (no start and end) is not known. Apart from the shooter detector, such a message is written as an unknown device event with the text Axxon One sent, not as the event of its type.
- If Axxon One refuses the connection for the events (it answers 401, 403 or 404 to it) while it accepts the other requests, Protequ treats the server as unreachable: the device stays offline and the adapter tries again at its usual backoff, reading the whole camera list each time, with no waiting time in between. Fix the account or the path; the adapter log says the event connection failed.
- The events of a plate, a face or a zone rule do not carry the rectangle of the detection, the plate text or the country yet. The real message of a zone rule holds the rectangle; no plate message was ever seen.
- The events page lists everything a camera group, a detector and a sensor input can carry in Protequ. Detectors show whether they detect; they and sensor inputs write no event of their own.
- Camera control, presets and playback have not been tried on real equipment (see "Not tried yet"). The speed of a playback cannot be changed and there is no frame step.
- The connections are not encrypted. The account and password cross the network in clear text.
- Sensor inputs of the cameras are imported, but their changes are not shown.
- Not part of this release: switching relay outputs, triggering events in Axxon One, bookmarks, exporting video, reviewing alarms, macros, layouts and video walls, managing Axxon One users, and setting the clock of the Axxon One server.
- A camera that Axxon One loses and gets back under another identifier is a new camera in Protequ.
- An account that sees only some cameras makes the import delete the rest. The import warns in the adapter log. It does not stop, unless the account sees none (or fails one of the checks below).
- The import stops and changes nothing when the camera list is empty, when a camera in the list has no identifier, when the camera list does not add up (the paged read and one single request differ), when the group tree has no group or not exactly one top group, when the one top group of the answer is a camera group Protequ already holds, or when none of the cameras, detectors and sensor inputs Protequ holds is in the new list (a renamed or restored Axxon One server; remove the devices first to confirm, then import again). Camera groups do not take part in that last check, because they keep their identifiers when a server is renamed. The reason is in the adapter log only. When an import goes through, the log has one line with the numbers found and the numbers held before, for every kind of device, and one more line that says how many devices of each kind it deletes and adds (a warning when it deletes any). The checks that compare with what Protequ holds cannot work on the very first import, because nothing is stored yet: an account that sees too little imports what it sees.
- If the adapter cannot read what Protequ holds from the Protequ server (the Protequ server answers with an error, is not reachable, or gives no tree), the import stops before it asks Axxon One anything, and the adapter log has the reason. A stored camera group whose identifier differs from the one Axxon One sends only in capital and small letters (only a hand edit can make one) is counted as kept by the line that says what the import deletes, although the import replaces it.
- Several Axxon One servers in one domain are not supported. Protequ writes a warning to the adapter log when it connects. The import treats the domain as one server: if Axxon One leaves the cameras of an offline server out of its camera list, which has not been tried, the import deletes them from Protequ. Use domains with one server until this has been tried.
- On a new installation, Protequ writes one software fault notice per camera group right after the first connect that follows the import ("started disarmed", because nothing was stored for the group yet). This is expected. After it, the group is known and the notice does not come again.
- Do not arm or disarm a camera group while the adapter is being stopped or updated. The framework may close its store before the command is saved without telling the adapter, so the command can report success and the group returns to the state it had before the command at the next start, with no notice. Check the state after an update or restart.
Tried through a Protequ server¶
Run on 1 December 2026 with Protequ server 1.30.0-rc.1, adapter 1.0.0-rc.1, Axxon One 3.2.2.42 on the same Windows PC (the adapter reached it as host.docker.internal), and the two virtual cameras.
- Live video of both cameras played in the browser (CCTV wall) through the Protequ server. With adapter 1.30.0-rc.1 one camera was shown again on 3 December.
- Arming camera group A from Protequ showed the group and its camera as armed, with the audit text "System armed remotely" and nothing sent to Axxon One.
- One motion detection of the detector (AVDetector.2) on a camera reached Protequ as a motion event while the adapter was connected.
- A move command (PTZ) on a camera without a telemetry unit failed with the text "Axxon One could not start PTZ control for this camera (no telemetry unit found ...)", and a playback request on a camera without an archive failed with "No recorded footage at or after the requested time". Neither made the adapter fail.
- A wrong password was sent twice (Axxon One answered 401). The adapter wrote that Axxon One did not accept the account and held every further attempt for five minutes.
- After the PC changed its network, the device could not reach its old address and kept retrying; changing the address to host.docker.internal and starting again fixed it.
Not tried yet¶
- Axxon One's lockout rules: only two rejected logins were sent (see above), and no lockout was seen.
- A domain with more than 1000 cameras, and whether Axxon One cuts a request for more than 1000.
- An account with limited rights: what it really sees of the camera list, the camera groups and the server status. The import stops on the answers that could be built for the tests (no camera, no top group, several top groups, one top group that Protequ already holds as a camera group), but what Axxon One sends such an account was not seen, and on the first import, when nothing is stored, no check can stop it. The ways the Protequ server can fail to give what it holds (an error, no answer, no tree) were tried only against a stand-in for it. If the server refuses the status check, the device does not connect: the log says Axxon One did not accept the account, and Protequ waits five minutes before it tries again.
- A second import, and deleting the devices of a renamed or restored server before importing again. The restart after an import was seen once, on a first import; whether the events of the new cameras then reach the cameras was not reported.
- A camera with two video streams, a camera that sends H.265, and a sensor input on a real server (the test cameras have none).
- Switching the RTSP server off. That the video window then stays blank is how the video service works, and was not tried on a server.
- Encrypted connections, a server with more than one node, Linux, and other Axxon One versions.
- Events other than motion and zone detections, signal and recording state: the test server sent no lost signal, fire, plate, face, picture fault, shooter or alarm, so those were tried with made-up messages only. While Protequ was connected, only one motion detection was seen (see "Tried through a Protequ server").
- A change of the arm state of a camera made in Axxon One while the adapter is connected, and the value of a camera that is not armed in Axxon One. Switching a camera off and on was tried; see "Known limitation".
- A connection for the events that dies without a sign, and Axxon One versions other than 3.2.2.42.
- Whether a camera keeps its identifier after Axxon One restarts, or after it is renamed, removed and added again.
- Moving a camera, presets and playback of recorded video on real equipment: the list below.
Bench checklist for the first real PTZ camera and archive¶
What you need: a camera that Axxon One controls through a PTZ unit, an account with PTZ rights, a camera that
records to an archive (for items 15 to 20), an Axxon One client open on the same camera (it can take the camera
over at a higher priority, which is part of the test), and the adapter log at Trace level (it shows every
request and its status, never the answer). Write down every result, with the adapter's friction-log.yaml as
the model for an entry. Run the first tests supervised and be ready to stop the camera in Axxon One.
Do items 1 to 6 first, in this order, and watch the camera:
- The stop. Send one move with pan 0.3 only (
pq.command.camera.ptz.move), thenpq.command.camera.ptz.stopafter about 2 seconds. The camera must stop on the move of zero, before the session is released (the Trace log shows the move with pan=0&tilt=0 and then the release), and every answer must be 200 with noerror_code. If the camera keeps moving until the release, or does not stop at all, the way Protequ stops a camera has to change. - The direction and the range. The same with pan -0.3: which way the camera turns for a positive and for a negative value, and whether values from -1 to 1 are right or the camera wants 0 to 100 (the info answer of Axxon One lists 0 to 100).
- A move that is never stopped. Send a move and no stop. Protequ must stop the camera after 20 seconds.
- Zoom. Zoom 0.3, then stop. Zoom is a request of its own.
- Presets. Store preset 1, move the camera away, go to preset 1 (Axxon One position 0). The camera must come back.
- Last: the lapse. With a move running, cut the network between Protequ and Axxon One, or kill the adapter, and time how long the camera keeps moving. The camera moves until Axxon One ends the session, so do this one last.
Then, while the camera is at hand:
- The priority Axxon One gives the account (Protequ asks for 3), and what the operator sees when an Axxon One client with a higher priority takes the camera (error 3, shown as rejected).
- The type of the session id, a number or a text (Protequ keeps it as it is).
- Whether pan and tilt and zoom may share one session (Protequ moves both in one session, as two requests).
- What storing a preset does on a position that already holds one (replace it, or delete its name), that the positions start at 0, and the highest position a camera takes.
- Whether going to a preset works in the session that a move used before, and twice in a row.
- Which unit Protequ drives when Axxon One lists several for one camera (it takes the first in text order,
so
TelemetryControl.10comes beforeTelemetryControl.2); that a camera whose list is empty has the unitTelemetryControl.0; and that error 2 on a request for control always means "no unit". - The status and body Axxon One answers a failed PTZ request with (Protequ handles an error code and a bare status, and does not know which one a real server sends).
- How long Axxon One needs to answer a PTZ request (Protequ gives up on a request after 4 seconds).
- The time format the archive link accepts (Protequ writes year, month, day,
T, hour, minute, second, six digits of fraction and aZ, in UTC), and whether the speed in the link may be left out (Protequ always writesspeed=1). - Which archive the link plays when a camera records to more than one (Protequ reads the recorded times of the default archive).
- What Axxon One does with a start inside a gap between two recordings (Protequ starts at the next recording).
- Whether a 400 answer to the request for the recorded times always means "no archive", and which form of
that request a camera with an archive answers with 200 (Protequ asks the form with
hosts/first, and the form of the documentation after a 404 or a 400). - Which end of the history Axxon One cuts when it has more than 100 recorded intervals, and in which order it lists them.
- That the RTSP server plays archive links at all, through the video service into the browser.