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!

DX12.0 and Vulkan 1.0 were designed for ~15 year old GPUs

https://twitter.com/SebAaltonen/status/2087870023557697856
1•ksec•47s ago•0 comments

One of the Most Important Policy Decisions of Our Lifetime

https://www.nytimes.com/2026/08/14/opinion/ai-policy-tax-technology.html
1•reasonableklout•6m ago•0 comments

Show HN: HN Without AI Stories

https://hnnoai.readpipe.org/
1•zorked•10m ago•0 comments

manim: Framework for Creating Mathematical Animations

https://github.com/manimCommunity/manim
1•pykello•13m ago•0 comments

Coreboot Overclocking Arrives on MSI's Z690 and Z790

https://hwbusters.com/news/coreboot-overclocking-arrives-on-msis-z690-and-z790-experimental-and-u...
1•pietrushnic•13m ago•1 comments

No Plan Survives Contact with the Enemy (Reality)

https://blog.exe.dev/planning
1•tosh•13m ago•0 comments

Causation in Climate Change: ICJ)'S Climate Change Advisory Opinion Re Tort Law

https://opiniojuris.org/2026/03/03/causation-in-climate-change-the-international-court-of-justice...
1•bryanrasmussen•13m ago•1 comments

Healthcare Palantir Prototype

https://tmg.marcokittel.de
1•evlute•14m ago•1 comments

Show HN: Chemistry AI – step-by-step chemistry solver

https://chemistryai.chat
1•realisticaigen•16m ago•0 comments

Jason Arday, professor at centre of Cambridge plagiarism row, found dead

https://www.theguardian.com/uk-news/2026/aug/14/jason-arday-found-dead-after-resigning-from-cambr...
2•jimnotgym•16m ago•0 comments

Show HN: Homelander – free desktop app that applies for apartments in Germany

https://www.youtube.com/watch?v=udNWQz3WNBI
1•b1z0n•17m ago•0 comments

Charity and Sylvia: The Extraordinary Claims of Rachel Hope Cleves

https://buttondown.com/thene/archive/charity-and-sylvia-the-extraordinary-claims-of/
1•bryanrasmussen•18m ago•0 comments

OpenAI updates its Privacy Policy to include ads

2•1equalsequals1•19m ago•0 comments

Qwen3.8 27B Coming to Cerebras

https://twitter.com/cerebras/status/2088419572416147582
1•Moduke•23m ago•1 comments

Django is moving to an annual release cycle

https://www.djangoproject.com/weblog/2026/aug/10/annual-release-cycle/
3•JodieBenitez•27m ago•0 comments

Using GCC's Nested Functions with Wide Pointers and No Trampolines II

https://uecker.codeberg.page/2026-07-14.html
1•uecker•28m ago•0 comments

Show HN: Sandbox the install step of any NPM package

https://www.npmjs.com/package/@kenwea/mcp
1•Myzura•29m ago•0 comments

State media control influences large language models

https://www.nature.com/articles/s41586-026-10506-7
1•theanonymousone•33m ago•0 comments

René Goscinny

https://en.wikipedia.org/wiki/Ren%C3%A9_Goscinny
2•wolfi1•37m ago•0 comments

Copyright Is Brain Damage

https://www.youtube.com/watch?v=XO9FKQAxWZc
2•theanonymousone•37m ago•0 comments

Tell HN: My open-source form builder has reached ~7k registered users

1•darkhorse13•39m ago•0 comments

Tropical Storm Lala forecast to bring hurricane conditions to Hawaii Saturday

https://www.hawaiinewsnow.com/2026/08/15/tropical-storm-lala-forecast-bring-hurricane-conditions-...
1•saisrirampur•40m ago•0 comments

High-performance single-GPU inference for selected model checkpoints and GPUs

https://github.com/Neroued/ninfer
1•davedx•42m ago•0 comments

The pursuit of excellence does not need justification

https://twitter.com/mitchellh/status/2074225453217505494
1•tosh•51m ago•0 comments

New findings throw light on enduring Sun mysteries

https://www.bbc.com/news/articles/c934wqpd74xo
1•porridgeraisin•53m ago•0 comments

Ukraine Finds Nvidia AI Chip in New Russian Missile

https://www.kyivpost.com/post/82225
4•jnord•55m ago•0 comments

Vulnerability giving attackers full control of Macs is under active exploitation

https://arstechnica.com/security/2026/08/vulnerability-giving-attackers-full-control-of-macs-is-u...
1•jnord•56m ago•0 comments

Suspecting court of using AI, man injected prompts in filings to try to win case

https://arstechnica.com/tech-policy/2026/08/suspecting-court-of-using-ai-man-injected-prompts-in-...
6•jnord•56m ago•0 comments

AI agents aren't legally responsible for harm they cause. So who is?

https://www.theguardian.com/technology/2026/aug/13/ai-agents-arent-legally-responsible-for-any-ha...
2•theanonymousone•56m ago•1 comments

Chinese firm to launch Arctic shipping route

https://news.rthk.hk/rthk/en/component/k2/1866196-20260814.htm
3•ksec•59m ago•0 comments