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!

Review: Goodnight, Goodnight, Construction Site, by Sherri Duskey Rinker

https://www.thepsmiths.com/p/review-goodnight-goodnight-construction
1•jger15•1m ago•0 comments

Conflict-Freedom as a Progress Condition

https://arxiv.org/abs/2505.03627
1•otrack•2m ago•0 comments

Meat allergy is on the rise – what scientists want to know

https://www.nature.com/articles/d41586-026-02362-2
1•geneticdrifts•2m ago•0 comments

Why does everyone suddenly hate data centers?

https://kenlacorte.substack.com/p/why-does-everyone-suddenly-hate-data
1•duck•5m ago•0 comments

AI First Ethical Code

https://lastcopy.ai/code/70
1•itsthecourier•11m ago•1 comments

Gmail support for sending from third-party email addresses ends January 2027

https://support.google.com/mail/answer/17101213?hl=en
1•RagingCactus•13m ago•0 comments

Buildline – one timeline for cargo, ninja, Webpack, tsc, Bazel

https://github.com/nabsei/buildline
1•nabsei•13m ago•0 comments

Anger over Data Centers Is Fueling a New Political Movement

https://www.politico.com/news/magazine/2026/08/02/the-new-luddites-01017824
1•mapping365•14m ago•0 comments

How OpenAI built a realtime system for responsive voice AI in six months

https://openai.com/index/continuous-voice-interaction-with-gpt-live/
1•juberti•14m ago•0 comments

Compiler-Grounded Hierarchical Diagnosis for LLM Triton Kernel Optimization

https://arxiv.org/abs/2607.23089
1•matt_d•15m ago•0 comments

I learned to stop worrying and love the bomb (at least a little)

https://beeb6502.com/blog/how-i-learned-to-stop-worrying-and-at-least-like-the-bomb-a-bit/
1•idw•15m ago•0 comments

21-year-old Quebecer creates new social media platform to stop doom scrolling

https://www.cbc.ca/news/canada/montreal/new-social-media-app-to-defeat-doom-scrolling-9.7289312
1•hettygreen•16m ago•0 comments

NIIN: NVSHMEM Implemented In NCCL

https://github.com/NVIDIA/nccl/tree/staging/contrib/niin
1•matt_d•19m ago•0 comments

Its super freaking cool, I hope

https://lee-ai.com/
2•eschwalme•22m ago•0 comments

Evaluating job search ranking with LLM judge

https://corvi.careers/blog/search-eval-llm-judges-ndcg/
1•sp1982•24m ago•0 comments

The Best Parenting Hack Is Being Rich

https://www.theatlantic.com/family/2026/08/parenting-advice-education-income/688138/
1•fortran77•27m ago•2 comments

Show HN: Spellfolio – my stock market game with news events and inside info

https://www.spellfolio.com/
1•pandaman28•29m ago•0 comments

Pangram – AI Detector

https://www.pangram.com
2•bartekurbanski•33m ago•1 comments

Trump blasts Exxon, Chevron for making 'too much money,' demands lower prices

https://www.reuters.com/business/energy/trump-demands-lower-gas-prices-oil-companies-chides-chevr...
2•petethomas•33m ago•0 comments

KDE Itinerary

https://apps.kde.org/itinerary/
1•0x54MUR41•33m ago•0 comments

Interviewing Engineers in the AI Era: Lessons from a Year of Rebuilding

https://www.coinbase.com/blog/interviewing-engineers-in-the-ai-era-lessons-from-a-year-of-rebuilding
1•dukebartnik•39m ago•0 comments

I built RoleMetric to understand why my resume was getting filtered out

https://www.rolemetric.com/
1•AndrewLeeAstyne•40m ago•0 comments

OpenAI rebuilt ChatGPT's voice stack so GPT-Live can listen while speaking

https://runtimewire.com/article/openai-gpt-live-voice-stack-full-duplex
2•devy•40m ago•0 comments

How to quickly distribute a VoIP phone line to your house

https://www.voipmyhouse.com/
2•navigate8310•42m ago•0 comments

Pcarrier – The Most Complete Software Suite

https://pcarrier.com/marketing
1•cdrnsf•42m ago•0 comments

Nvidia-Labs OO Agents: Native Python Object-Oriented Agents

https://arxiv.org/abs/2607.20709
1•javaeeeee•43m ago•1 comments

US regulators cite 'circular' risk in investments used by KKR and Apollo

https://www.ft.com/content/4de8bfa8-9eb3-4d70-bd17-273a6834dd41
2•petethomas•44m ago•0 comments

GUI Toolkit from Scratch

https://github.com/onuelito/libaui
2•onuelito•48m ago•2 comments

Show HN: I built a Neovim plugin to answer questions about your config

https://github.com/michtesar/how.nvim
1•neuropacabra•49m ago•0 comments

Show HN: Texpile, an open-source desktop LaTeX editor with a visual mode

https://github.com/texpile/texpile
1•asyncfun•50m ago•0 comments