Skip to main content
GNS Technology logo

Technical whitepaper

Managed services built on the UniFi official API and GNS AI analytics

How GNS CARE works: we read device activity logs through the official UniFi API, send them over an encrypted channel to our own cloud platform and use SIEM and anomaly detection to compare each device against its own baseline, acting before hardware fails. This paper covers the architecture, how it differs from traditional Hong Kong IT maintenance, the practical benefits and public overseas practice.

The point of monitoring is not to record failures afterwards, but to find them before they happen.

  • Traditional maintenance reacts after a failure; we compare API telemetry against a baseline and arrange the fix beforehand
  • No agent to install on your network and no inbound ports to open
  • Logs travel encrypted, and only authorised engineers can read them
  • The same model covers UniFi networking, CCTV, door access and intercom
UniFi Network flow logs with per-connection risk scoring, source, destination and signature

Summary

Traditional IT maintenance is reactive: you report a fault, an engineer attends, and by then the failure has already happened. That model still works when hardware is sparse and systems are unrelated — but when one company depends on Wi-Fi, CCTV, door access and intercom at the same time, a single failure is enough to stop operations.

This paper describes a different starting point: collect device activity logs first, then compare them against a baseline. We read device logs through the official UniFi API, send them over an encrypted channel to our own cloud platform, correlate them in a SIEM (security information and event management) around the clock, and then hand the result to an AI platform we build and run ourselves. It combines those correlations with each device’s long-term baseline to name the units that are about to fail, suggest what to change in placement or configuration, and order the replacements before the hardware actually dies. When a drive, a power supply, a link or wireless coverage starts drifting away from normal, the signal reaches us before the customer notices, and we arrange the repair or the replacement up front.

This paper covers:

  • Three structural limits of traditional IT maintenance in Hong Kong
  • Traditional break-fix, plain remote monitoring and GNS CARE compared
  • Our five-layer architecture
  • The fields the official API actually exposes for each kind of device
  • How a customer adds devices to the GNS managed list
  • The workflow from signature to steady-state managed service
  • Six practical benefits for a business
  • Public practice in overseas markets
  • Frequently asked questions

The problem

Three structural limits of traditional IT maintenance

None of these are about how skilled the provider is — they are limits of the reactive model itself.

  1. It only starts after a failure

    The trigger for break-fix maintenance is your phone call. Before that call the provider knows nothing about the state of the equipment; after it, the time goes into recovery rather than prevention.

  2. It only sees this moment

    An on-site inspection is a snapshot: if the unit powers on and connects while the engineer is standing there, it passes. Drive read errors, power-supply voltage swings and roaming failures never appear in that snapshot.

  3. Warranty and engineering sit in different places

    One supplier covers the hardware, another maintains the network, and the records live in separate systems. When a problem crosses that boundary, the time goes into coordination rather than repair.

Comparing the models

Traditional on-site maintenance, plain remote monitoring, GNS CARE

The difference is not the price. It is when the problem is found, and what the decision to replace is based on.

Traditional on-site maintenance, plain remote monitoring, GNS CARE
Traditional on-site maintenance Charged per visit Plain remote monitoring Instant alerts only GNS CARE API telemetry + SIEM
How data is collected
Source of data Traditional on-site maintenance On-site inspection only Plain remote monitoring Live device status GNS CARE Device activity logs via the official API
Agent installed on your network Traditional on-site maintenance Not needed Plain remote monitoring Usually required GNS CARE Not needed (read directly through the official API)
Data retention Traditional on-site maintenance Job records only Plain remote monitoring Short term GNS CARE Long term, for trend comparison
When a problem is found
Trigger Traditional on-site maintenance Your call Plain remote monitoring A live value crossing a threshold GNS CARE A baseline drift
Drive health Traditional on-site maintenance Known only after failure Plain remote monitoring Live values only GNS CARE Trend tracked, replacement scheduled early
Correlation across devices Traditional on-site maintenance Not included Plain remote monitoring Not included GNS CARE Included
How often anything is checked Traditional on-site maintenance Annually, or on each call-out Plain remote monitoring 24/7 alerting GNS CARE 24/7 correlation plus a monthly report
Action and records
Replacement decision Traditional on-site maintenance After failure Plain remote monitoring After an alert GNS CARE Before failure (Complete tier swaps within 24 hours)
Monthly written report Traditional on-site maintenance Not included Plain remote monitoring Partial GNS CARE Included
Auditable event record Traditional on-site maintenance Not included Plain remote monitoring Not included GNS CARE Included

Architecture

Five layers, from device logs to replacing before failure

Every layer deliberately avoids putting third-party software inside your network.

Layer 1: the official API

Device activity logs, alerts and status read through the official UniFi API — no agent installed on your network and no inbound ports opened.

Layer 2: encrypted transport

Logs travel over an encrypted channel to our cloud platform, and are encrypted in storage as well. Only authorised engineers can read them.

Layer 3: our own cloud platform

A platform we operate ourselves holds the telemetry, isolated between customers, and keeps the history that trend comparison needs.

Layer 4: SIEM and anomaly detection

The SIEM correlates events across devices while anomaly detection compares each device against its own long-term baseline. Only when both agree does it become a signal we act on.

Layer 5: our own AI platform

An AI platform we build and operate takes over here: it combines the SIEM correlations with each device’s long-term baseline to name the units about to fail, order the replacements, and suggest what to change in placement or configuration.

What the official API exposes

What we actually read from each kind of device

Every field below comes from Ubiquiti developer documentation (Network API v10.4.57, Protect API v7.3.60, Site Manager API v1.0.0). Nothing here comes from an agent we install or from guesswork. The first five categories list ten or more fields each; the last entry sets out honestly what the official API does not publish.

  1. Wireless access points — Network API

    Device identity and state: id, name, model, macAddress, ipAddress, state (ONLINE, OFFLINE, UPDATING, CONNECTION_INTERRUPTED and others), firmwareVersion, firmwareUpdatable, supported, interfaces (ports, radios). Radio: channel, channelWidthMHz, frequencyGHz, wlanStandard. Live statistics: cpuUtilizationPct, memoryUtilizationPct, uptimeSec, loadAverage1Min/5Min/15Min, lastHeartbeatAt, nextHeartbeatAt, uplink.

  2. Gateways and firewalls — Network API and Site Manager API

    Device: id, name, model, macAddress, ipAddress, state, firmwareVersion, firmwareUpdatable, supported, adoptedAt, configurationId, provisionedAt, uplink. Live statistics: cpuUtilizationPct, memoryUtilizationPct, uptimeSec, loadAverage1Min/5Min/15Min, lastHeartbeatAt, nextHeartbeatAt. Firewall policies: action, source, destination, ipProtocolScope, connectionStateFilter, ipsecFilter, loggingEnabled, schedule, enabled, index. Site Manager host: hardwareId, type, owner, isBlocked, registrationTime, lastConnectionStateChange, latestBackupTime, reportedState. ISP line: avgLatency, maxLatency, packetLoss, uptime, downtime, download_kbps, upload_kbps, ispName, ispAsn.

  3. Switches — Network API

    Device: id, name, model, macAddress, ipAddress, state, firmwareVersion, firmwareUpdatable, supported, interfaces. Ports: idx, connector, state, speedMbps, maxSpeedMbps. PoE: enabled, standard, state, type, plus a POWER_CYCLE action to re-power one port. Stacking and aggregation: switching/lags, switching/switch-stacks, switching/mc-lag-domains. Live statistics: cpuUtilizationPct, memoryUtilizationPct, uptimeSec, loadAverage1Min/5Min/15Min.

  4. Cameras — Protect API

    Identity and state: id, name, modelKey, type, guid, mac, state. Video: videoMode, hdrType, activePatrolSlot. On-screen text: osdSettings (isNameEnabled, isDateEnabled, isLogoEnabled, isDebugEnabled, overlayLocation). Status LEDs: ledSettings (isEnabled, welcomeLed, floodLed). Audio: isMicEnabled, micVolume. Smart detection: smartDetectSettings (objectTypes, audioTypes). Capability flags: featureFlags (hasHdr, hasMic, hasSpeaker, hasLedStatus, supportFullHdSnapshot, videoModes). Also lcdMessage and hasPackageCamera. Actions: snapshot, rtsps-stream, ptz/goto and talkback-session.

  5. Recorders (NVR) — Protect API

    Identity and state: id, name, modelKey, type, guid, mac, state. Arming: armMode (status, armProfileId, armedAt, willBeArmedAt, breachDetectedAt, breachEventCount, breachTriggerEventId, breachEventId). Doorbell settings: doorbellSettings (defaultMessageText, defaultMessageResetTimeoutMs, customMessages, customImages). Event push: /v1/subscribe/events streams each event (motion, smartDetectZone, smartDetectLine, smartDetectLoiter, smartDetectAudio, nfcCardScanned, fingerprintIdentified and more); /v1/subscribe/devices streams device additions, changes and removals. The same API covers sensor, light, chime, siren, speaker, fob, relay, bridge, alarm-hub and link-station.

  6. Not published: door access and intercoms, NAS, cabling

    Ubiquiti developer platform publishes Network, Protect and Site Manager only (plus mobility, innerspace and carrier-fabric), so Access and Talk have no public API. In our telemetry a reader or intercom therefore appears only as a connected client and a switch PoE port: macAddress, ipAddress, type, connectedAt, uplinkDeviceId, port state, speedMbps, maxSpeedMbps, and PoE enabled/standard/state/type.

How your devices join the GNS managed list

Management starts with one approval, takes about ten minutes, and needs no third-party software on your network and no inbound port opened to the internet.

  1. You invite the GNS account from UniFi Site Manager as a member of your management team.
  2. You confirm the invitation in the UniFi interface.
  3. The GNS account then appears in your organisation member list, with the permissions you choose.
  4. Our platform reads the device inventory and activity records through the official API and records a first baseline.
  5. What it reads travels to our cloud platform over an encrypted channel, isolated from every other customer.
  6. You can remove GNS from the same screen at any time; once removed we lose read access immediately.

The six steps with screenshots are in the managed service centre, under “Add GNS to your UniFi management team”: see the six steps.

How it starts

From signature to a steady-state managed service

The first month is where the baseline is built, and alert thresholds are still being tuned.

  1. Site survey and baseline

    We review the site, the device list and the current configuration, and record the initial state of every device as the baseline to compare against later.

  2. Take over and enable telemetry

    We take over UniFi management, enable official API collection and encrypted transport, and set alert thresholds and notification paths.

  3. First month of observation

    Alerts are reviewed closely and thresholds tuned to cut false positives, while backlogged firmware and configuration issues are cleared.

  4. Steady-state managed service

    A report follows every month, alongside hardware health, event handling and any on-site replacement the tier includes.

Practical benefits

Six practical benefits for a business

The benefit is not that monitoring exists — it is when the problem is found.

Less unplanned downtime

Problems are handled before they become failures. Even when hardware does eventually fail, the swap is already arranged instead of starting when the till or the door stops working.

Longer hardware life

Drive, fan and power-supply wear shows up in the trend, so replacement is decided by condition rather than by failure.

Security events surface earlier

Device logs are correlated, so unusual logins, unexpected configuration changes and new devices coming online all leave a trace.

Predictable budget

A fixed monthly fee priced per device endpoint means a hardware failure does not land as a surprise in one quarter’s accounts.

Auditable records

Devices, events and the action taken are all recorded, and the hardening add-on adds a monthly security audit report, which makes answering management, audit or compliance questions straightforward.

Root cause, and a suggested fix

The AI platform does more than raise an alert: it points at the likely cause and a workable fix — repositioning an AP, separating high-traffic devices, replacing a drive that is wearing out — so each intervention also lowers the odds of the next failure.

Overseas markets

Public practice in overseas markets

These are industry practices that can be checked in public sources, not customer case studies. Local project references are available at the site survey.

  1. An RMM platform as the core of the service

    Managed service providers in North America and Europe run their service on an RMM (remote monitoring and management) platform that collects device status and alerts centrally. Public vendors include Datto, N-able, Kaseya and Auvik. In those markets this is the standard configuration rather than an add-on.

  2. Official APIs are replacing agents

    Hardware vendors have been publishing official APIs so that providers can read telemetry directly, rather than installing resident software on customer networks. The UniFi official API we use follows the same direction.

  3. Per-device, per-month pricing

    Managed services in Australia, the UK and the US are commonly priced per device per month, bundling preventive maintenance, updates and support into one fixed fee instead of charging per visit. GNS CARE is priced the same way.

  4. The gap between downtime cost and preventive maintenance

    Public industry research — Uptime Institute’s annual outage analysis, for example — consistently puts the hourly cost of unplanned downtime far above the cost of preventive maintenance. That gap is the main reason the managed model became standard in Europe and North America.

Sources and notes

Third-party material referenced here is public information, used as industry background.

  • Ubiquiti developer platform and API documentation: Network API v10.4.57 (developer.ui.com/network/v10.4.57), Protect API v7.3.60 (developer.ui.com/protect/v7.3.60) and Site Manager API v1.0.0 (developer.ui.com/site-manager/v1.0.0); the fields listed here are those published as of September 2026
  • Ubiquiti support documentation: help.ui.com
  • Uptime Institute: annual outage analysis
  • Public product documentation from RMM vendors: Datto, N-able, Kaseya, Auvik
  • CompTIA: MSP community and public reports

Scope, monthly fees and SLAs in this paper are indicative; the formal quotation governs.

FAQ

About the managed model and this paper

These are the questions customers ask most often when evaluating a managed service.

How is GNS CARE different from ordinary IT maintenance?

Ordinary maintenance starts after a failure; ours starts before one. We continuously read device activity logs through the official UniFi API, send them to our own cloud platform, and use a SIEM to correlate events around the clock and compare each device against its own long-term baseline. When a drive, a power supply or a link starts drifting, we arrange the repair or swap rather than waiting for your call.

What is a SIEM, and why is it needed?

SIEM stands for security information and event management. It collects events from many devices in one place and looks for relationships between them. One alert may be noise, but when failed logins, a configuration change and a new device all appear together, correlation shows a single event to handle rather than three unrelated blips.

You read data through an API — can you see our business data?

The API reads UniFi management data only: device status, activity logs, alerts and configuration. The managed service never needs access to files, email or line-of-business systems, and it does not read CCTV footage. What we collect is device health and event records. Logs travel encrypted and only authorised engineers can read them.

Does anything need installing on our network, or any ports opening?

No. Because we read the data through the official UniFi API, there is no agent on your network and no inbound port to open, which also keeps the managed service from widening your attack surface.

If nothing ever goes wrong, is the monthly fee wasted?

You are paying for continuous comparison and for response capacity that is already in place: the device baselines, alert thresholds, update schedule, event records and the one-hour response commitment all accumulate in the quiet months. A month without failures is that machinery working.

Will anomaly detection produce a lot of false alarms?

Tuning thresholds is what the first month of observation is for. We compare each device against its own long-term baseline rather than one fixed number, and an engineer confirms before anything is booked in. Only when correlation and anomaly detection agree does it become a signal we act on.

Why is there a minimum 12-month term?

Trend comparison needs history: drift in drives, power supplies and wireless coverage usually takes months to show a direction. The first month builds the baseline, the rest accumulates the trend, so 12 months is the shortest period over which managed and unmanaged can honestly be compared. The fee is fixed and continues month to month after the term.

Which tier fits your network?

Bring your device list and floor plan. We will survey the site for free, then recommend a tier and a fixed monthly fee.

Chat on WhatsAppEmail us