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!

Scott Jenson: Are we going to use the same Desktop UX forever? [video]

https://www.youtube.com/watch?v=V7AfAcQwLW0
1•tripdout•17m ago•1 comments

RSA-896

https://saweis.net/posts/rsa-896.html
3•madars•20m ago•1 comments

Lattice enumeration: O(R^N) complexity reduced to O(R^2) with no floating point

https://github.com/Andrew-J-Morris/orthotropic-parity-and-discrete-pi
1•MorrisAndrewJ•22m ago•0 comments

Using system-one models inside high-throughput data pipelines

https://www.southbridge.ai/blog/jev-entity-resolution
2•hrishi•26m ago•0 comments

TanStack supply-chain attack exposed ~170 private CrowdSec repos

https://www.crowdsec.net/blog/tanstack-supply-chain-attack-analysis
4•fourfire•31m ago•1 comments

Is It a Flatpak? Is It an AppImage? No It's AppJail

https://www.youtube.com/watch?v=EBSMHBC0Phc
2•DtxdF•35m ago•1 comments

AI Bubble: 'They're coming to the end of this' – Eli the Computer Guy [video]

https://www.youtube.com/watch?v=0YIczZDCgsM
2•baranul•36m ago•0 comments

Show HN: Bastardica – Create bastard web fonts

https://bastardica.mitpit.com
2•MitPitt•37m ago•0 comments

Comparing reflection capabilities of C++, Zig and C3

https://nyr24.github.io/blog/reflection-comparison/
3•ManuLinares•39m ago•0 comments

Do you separate the reviewer's window from the author's

3•Marvin_RunAI•46m ago•1 comments

The Giza Project

https://giza.fas.harvard.edu/
2•Mr_Minderbinder•47m ago•0 comments

Why are AI leaders calling for a slow down? [audio]

https://www.cbc.ca/listen/cbc-podcasts/209-front-burner/episode/16237327-why-are-ai-leaders-calli...
1•BiraIgnacio•48m ago•0 comments

End the H-1B Program

https://end-h1b.com/
10•sergiotapia•48m ago•11 comments

A2E AI – an all-in-one AI video generator for text, images and avatars

https://textideo.com/model/a2e-ai
1•Yummiy•49m ago•0 comments

Pdfcn: Beautiful pdf components, built on Takumi and Forme, by Shadcn

https://github.com/shadcn-labs/pdfcn
3•nateb2022•1h ago•1 comments

Open-source free meme generator, friendly for AI agents and humans

https://github.com/terryds/memegenscript
1•terryds•1h ago•2 comments

Pure Code: What remains with developers after AI writes the code?

https://pure-code-essay.vercel.app/
2•kofdai•1h ago•0 comments

Ask HN: Are LLMs the antithesis of Hegel's universal spirit?

1•Avicebron•1h ago•0 comments

How to handle manager adding AI bs to our codebase/designs etc.

3•LandOfMightDev•1h ago•2 comments

Lisp.md: System Instructions for Lisp

http://funcall.blogspot.com/2026/09/lispmd-system-instructions-for-lisp.html
1•prestonlibby•1h ago•0 comments

How the Berkeley Overmind won the 2010 StarCraft AI competition (2011)

https://arstechnica.com/gaming/2011/01/skynet-meets-the-swarm-how-the-berkeley-overmind-won-the-2...
2•promiseofbeans•1h ago•1 comments

Portable Fruit Blender

https://www.instructables.com/Portable-Fruit-Blender/
1•sudo_cowsay•1h ago•0 comments

Trump to Name AI Czar While Rejecting Safety Risks as a Hoax

https://www.bloomberg.com/news/articles/2026-09-19/trump-to-name-ai-czar-while-rejecting-safety-r...
4•sbulaev•1h ago•0 comments

PhotoGIMP – The Photoshop Like Experience on GIMP

https://photogimp.com/
2•the-mitr•1h ago•0 comments

Bret Victor: Inventing on Principle (2012) [video]

https://vimeo.com/906418692
1•anpep•1h ago•0 comments

The National ID Nobody Voted For

https://thedreydossier.substack.com/p/the-national-id-nobody-voted-for
4•kickofline•1h ago•0 comments

More Floating Point Alternatives

https://wizardzines.com/comics/floating-point-alternatives/
2•vismit2000•1h ago•1 comments

AI investment, govt borrowing drive global cost of capital higher: Goldman Sachs

https://www.tribuneindia.com/news/business/ai-investment-government-borrowing-drive-global-cost-o...
2•vismit2000•1h ago•0 comments

Perception of Time Is, in Fact, Warped

https://www.noemamag.com/your-perception-of-time-is-in-fact-warped/
2•miqkt•1h ago•0 comments

Ten days that changed the course of AI

https://www.reuters.com/business/media-telecom/ten-days-that-changed-course-ai-2026-09-19/
2•Andrex•1h ago•0 comments