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!

Data centers paid only 38% of the infrastructure costs linked to their growth

https://www.planetizen.com/news/2026/11/138950-data-centers-need-power-lower-income-rural-residen...
3•paimapi•5m ago•1 comments

Jagex creators of RuneScape MMO suffer data breach

https://secure.runescape.com/m=news/november-28th-downtime?oldschool=1
1•NewLogic•9m ago•1 comments

Wizard Zine Comic: Threads

https://wizardzines.com/comics/threads/
1•vismit2000•9m ago•0 comments

Fraud, Genocide, Censorship – Inside Wix Corruption

https://antizionistjews.substack.com/p/fraud-genocide-censorship-inside
4•runarberg•16m ago•0 comments

Noam Chomsky: The False Promise of ChatGPT

https://www.nytimes.com/2023/03/08/opinion/noam-chomsky-chatgpt-ai.html
2•Anon84•16m ago•0 comments

Ask HN: Is ChatGPT output format for chats purposely nerfed?

1•MrCoffee7•21m ago•1 comments

I Recreated Google Reader

https://reader.antderosa.com/
1•aderosa•22m ago•0 comments

Tennis Scorigami: Exploring the Universe of Tennis Scores

https://tennisscorigami.com/
1•jlarks32•24m ago•1 comments

Will We All Go Together When We Go?

https://quillette.com/2026/11/23/will-we-all-go-together-when-we-go-ai-alignment-scott-alexander-...
2•Anon84•28m ago•0 comments

Google DeepMind uses Gemini 4 agents to speed up quantum algorithm by up to 290x

https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/
1•ComputedCamp995•29m ago•0 comments

Cryptography Incident Review Group

https://cirg.org/
1•heavensteeth•31m ago•0 comments

What Happened to Shareware?

https://deadparrotbbs.com/what-happened-to-shareware/
2•linuxkernal•31m ago•1 comments

Nvdriver: a Rust Nvidia driver with unlocked V100 memory clocks

https://github.com/QuixiAI/nvdriver
1•khalidkhair•33m ago•0 comments

Show HN: Compunity – Local LLM with Monitoring

https://compunity.ai/
1•MasihMinawal•33m ago•0 comments

Usage Is the Bottleneck Now

https://klio.org/vibe-code-usage/
1•mkozlows•37m ago•0 comments

Aschenbrenner's Situational Awareness Tells Investors It Lost 65% in 3rd Quarter

https://www.wsj.com/finance/investing/aschenbrenners-situational-awareness-tells-investors-it-los...
20•vismit2000•44m ago•5 comments

Find files anywhere, updated for 2026

https://amitp.blogspot.com/2026/11/find-files-anywhere-updated-for-2026.html
2•ibobev•48m ago•0 comments

The Cabinet of Keyboard Curiosities

https://www.datagubbe.se/keycurcab/
2•ibobev•49m ago•0 comments

Understanding HTTP Status Codes

https://www.youtube.com/watch?v=xPie3BrQvGw
2•spookily4136•51m ago•0 comments

Buttle Draw

https://neal.fun/battle-draw/
5•lpeancovschi•57m ago•2 comments

Engineers Designed a Mission to One of Jupiter's Icy Moons

https://spectrum.ieee.org/jupiter-europa-clipper-mission-jpl
1•pseudolus•58m ago•0 comments

Flight of the Bug Bots

https://www.science.org/content/article/when-will-insect-size-robots-be-able-fly-beyond-lab
1•gmays•1h ago•0 comments

A printable one-page ladder for chasing unpaid invoices

https://4600859971805.gumroad.com/l/gicui
1•lateinvoice•1h ago•0 comments

Indoor Geolocator – Locate Indoor Photos via OCR, DINOv2, OSM/Wikidata

https://github.com/Ezharjan/indoor-geolocator
1•hekikaf591•1h ago•0 comments

Magi-2: A 480B Frontier Video Generation Model

https://sand.ai/blog/magi-2/
2•gmays•1h ago•0 comments

Verified Garbage: An experimental formally verified cryptography library

https://verified-garbage.dev/posts/announcing-verified-garbage/
4•mkeeter•1h ago•0 comments

Systemd 263-rc1 ships initial Rust code

https://www.phoronix.com/news/systemd-263-rc1
2•Skyfall106•1h ago•1 comments

OpenCode (Rune) desktop client

https://github.com/anomalyco/opencode-rune
1•qainsights•1h ago•1 comments

Just Pick the Smarter Model

https://www.seangoedecke.com/just-pick-the-smarter-model/
3•U1F984•1h ago•1 comments

Show HN: I made Horizontal News, a column-based Hacker News reader

https://hzn.jero.zone
5•jer0me•1h ago•1 comments