Star on GitHubStar2.4k stars

Case study

UniFi Protect API: decoding the updates WebSocket protocol

UniFi Protect API is a TypeScript client that decodes the controller's undocumented updates WebSocket protocol. Its documentation records the four-frame packet layout, eight-byte headers and payload formats, while the library turns the stream into typed camera and doorbell events.

Targets
Protocol
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Stars
411
Last commit
2026-11-08
Language
TypeScript

GitHub data as of 2026-11-09

Copy as MarkdownView JSONCite

Requirements & limits

  • Prerequisites: Node.js 22.20 or later and a UniFi Protect controller account are required.
  • License: ISC License.

Cite

BibTeX

@misc{unifi-protect-updates-protocol-case,
  title = {{UniFi Protect API: decoding the updates WebSocket protocol}},
  howpublished = {\url{https://github.com/hjdhjd/unifi-protect}},
  url = {https://github.com/hjdhjd/unifi-protect},
  urldate = {2026-11-06},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/unifi-protect-updates-protocol-case/}}
}

Plain text

UniFi Protect API: decoding the updates WebSocket protocol. https://github.com/hjdhjd/unifi-protect (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/unifi-protect-updates-protocol-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · hjdhjd/unifi-protect · Revision be179c3

More in Protocols

All 720 entries in ProtocolsProtocols case studies (645)

↑↓ move↵ open⌘↵ new tab