frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Golang UniFi Network and Protect API CLI and Client

https://github.com/ClifHouck/unified
4•cliffy•1y ago
Ubiquiti recently added HTTPS REST APIs to their Network and Protect applications. While exploring what was available, I came across a pair of interesting endpoints that promised to stream Protect events like detections, motions, doorbell rings, etc. over a Websocket connection.

My UniFi doorbell works great, but I frequently miss the sound of the doorbell because the main chime is far from my workstation, plus I prefer to mostly silence my phone while I'm working. Physical UniFi Chimes are available, but are usually out of stock, and their price seems to keep going up! So my initial motivation was to write enough of a client to enable a doorbell application which would play a sound whenever a "ring" event was emitted by Protect's API.

A few dozen commits later, I found I had built a half decent client and CLI command utility for talking to the Network and Protect APIs. So I'm pleased to announce the initial v0.1.0 release of `unified`:

`unified` is a command line utility (and Golang client) for talking to UniFi Network and Protect APIs.

You can check out the code at: https://github.com/ClifHouck/unified

v0.1.0 supports the following:

UniFi Network API V1 is fully supported as of Network application version "9.1.120".

UniFi Protect API V1 is only partially supported, with the following endpoints supported:

- `/v1/meta/info`

- `/v1/subscribe/devices`: only partial type support.

- `/v1/subscribe/events`

- `/v1/cameras/`

- `/v1/cameras/{id}`

But I'm committed to working towards full Protect API V1 support.

I think there's a lot of potential for interesting uses of these APIs. Hopefully someone besides me finds this useful.

Disclaimer: This client is not in any way affiliated with Ubiquiti. I do not take any responsibility for any harm that may come to your device(s) by utilizing this client. Use at your own risk!

Investigating Flock: America's Mass Surveillance Company [video]

https://www.youtube.com/watch?v=S3MQLlMbS-Y
1•Bender•48s ago•0 comments

We Have a Third Eye (and It's Not Metaphysical) [video]

https://www.youtube.com/watch?v=6LP3n9V7H_8
1•Bender•1m ago•0 comments

See How Prufrock Continuously Mines (90 second video)

https://www.youtube.com/watch?v=YY2mW1SrTVI
1•rmason•3m ago•0 comments

The Fastest-Growing Risk to Air Travel Is Probably in Your Pocket

https://www.wsj.com/business/airlines/the-fastest-growing-risk-to-air-travel-is-probably-in-your-...
1•fortran77•4m ago•1 comments

Designing a programmable runtime for agent orchestration

https://randomlabs.ai/blog/onyx
1•Aditya_Swam•4m ago•0 comments

Libtsgo: TypeScript-Go embedded in C and C++

https://github.com/greergan/libtsgo
1•greergan•5m ago•0 comments

Wandr Benchmark: Evaluating Research Agents That Must Search Wide and Deep

https://research.perplexity.ai/articles/wandr-benchmark-evaluating-research-agents-that-must-sear...
1•gmays•5m ago•0 comments

Reading Between the Dots: Decoding Hidden Computation Across Filler Tokens

https://arxiv.org/abs/2607.03502
1•kristianp•5m ago•0 comments

Gajim 2.5.0 has been released – GTK XMPP/Jabber Chat Client – Communication

https://gajim.org/posts/2026-07-15-gajim-2.5.0-released/
1•neustradamus•7m ago•0 comments

Cornell's Interactive Wall of Birds

https://academy.allaboutbirds.org/features/wallofbirds/?_hsmi=428996456
1•yareally•11m ago•0 comments

Measuring the NetNut takedown: 28% of its IPs are still reachable on Bright Data

https://layer3intel.com/blog/measuring-the-netnut-takedown
2•Rasbora•11m ago•0 comments

(How) Market Giants Lose to Challengers

https://louis-andre.net/journal/giants-and-challengers
1•Lalabadie•15m ago•0 comments

Simulating Historical Communication Networks in Python

https://programminghistorian.org/en/lessons/simulating-historical-communication-networks-python
1•SiempreViernes•17m ago•0 comments

Humans vs. LLMs: Can You Beat Humanity's Last Exam?

https://humans-vs-hle.lizzie-siegle5086.workers.dev/
1•lizziepika24•18m ago•0 comments

Twitter user investigating potential Fable distillation in DeepSeek V4 Pro

https://twitter.com/synthwavedd/status/2078514339552628880
1•porridgeraisin•20m ago•1 comments

Neil DeGrasse Tyson and Jaron Lanier on the AI Illusion

https://www.youtube.com/watch?v=a_ZKYH8v_do
3•root-parent•23m ago•0 comments

Offline voice assistant Apache-2.0 on Android, 1.2GB RAM, works in airplane

https://old.reddit.com/r/fossdroid/comments/1v0556y/fully_offline_voice_assistant_foss_apache20_no/
1•ipotapov•24m ago•0 comments

Vektorgeist: Vibe Coders, Assemble

https://vektorgeist.com/
1•VektorGeist•24m ago•0 comments

Ship a clean GitHub README from any repo

https://makemyreadme.com
1•nikitafaesch•26m ago•1 comments

Append filler tokens, answer harder questions

https://twitter.com/kaleybrauer/status/2078185882926846044
1•theroadnotbacon•27m ago•1 comments

Elon Musk Runs from Interview at Last Minute as SpaceX Stock Crashed [video]

https://www.youtube.com/shorts/TFpF7ZzHc3w
7•root-parent•35m ago•2 comments

Supplement that binds to microplastics may remove them from our body

https://www.newscientist.com/article/2580139-supplement-that-binds-to-microplastics-may-remove-th...
2•littlexsparkee•39m ago•0 comments

One probable outcome of an open-weight-model-dominant world is full AI communism

https://xcancel.com/deanwball/status/2078133895766114412?s=46
3•rvz•39m ago•2 comments

Databricks hits $188B valuation, extending its run as AI's favorite second act

https://techcrunch.com/2026/07/17/databricks-hits-188b-valuation-extending-its-run-as-ais-favorit...
3•Brajeshwar•42m ago•0 comments

Frame: A New X11 Server Implementation Written in x86_64 Assembly

https://www.phoronix.com/news/Frame-X11-Server-Assembly
3•Bender•42m ago•1 comments

Gnome OS Safe Mode Improving the System Reliability

https://www.phoronix.com/news/GNOME-OS-Safe-Mode
2•Bender•43m ago•0 comments

Micro-drone achieves first insect kill on the way towards eradicating mosquitoes

https://www.tomshardware.com/tech-industry/drones/autonomous-micro-drone-achieves-first-air-to-ai...
2•rmason•44m ago•0 comments

North Sea hits record 20.4°C amid marine heat wave

https://nltimes.nl/2026/07/17/north-sea-hits-record-204degc-amid-marine-heat-wave
6•tcp_handshaker•45m ago•0 comments

How to Dox Anyone

https://xcancel.com/i/article/2073823066111590866
3•illliillll•45m ago•1 comments

SpaceX and the myth of independent Wall St research

https://www.ft.com/content/ce345155-d897-4f49-b7c8-13680e3b5434
7•JumpCrisscross•51m ago•0 comments