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!

First-ever AI movie hits theaters as Hollywood grapples with AI use

https://www.cbsnews.com/news/gods-dont-give-gifts-first-fully-ai-movie-theaters/
1•satvikpendem•36s ago•0 comments

Show HN: Bay Area tech jobs near Caltrain and BART stations

https://hypetrain.fyi
1•0x676c•50s ago•0 comments

What's your optimal Claude model setting?

1•novlrdotcom•51s ago•0 comments

Adobe Acrobat 2020 owners hit by a sudden licence problem

https://www.neowin.net/news/adobe-acrobat-2020-owners-hit-by-a-sudden-licence-problem/
1•dutchvanderlind•5m ago•0 comments

Ladies of the Kasbah, the Story of Ireland's Most Infamous Brothel

https://garethstack.wordpress.com/2026/12/05/ladies-of-the-kasbah-the-story-of-irelands-most-infa...
2•dbspin•5m ago•1 comments

America's Elite Colleges Breed High-Status Careers–and Misery

https://www.motherjones.com/politics/2025/09/elite-ivy-league-colleges-endowment-inequality-caree...
1•aanet•7m ago•0 comments

Show HN: Open Academy, a structured way to learn anything with AI

https://openacademy.dev/
1•Jonathanvw•7m ago•1 comments

Tell HN: Alan Kay's domain, squeakland.org, redirects to a suspicious website

1•JMiao•7m ago•0 comments

Three-Dimensional Time: A Mathematical Framework for Fundamental Physics

https://www.worldscientific.com/doi/10.1142/S2424942425500045
1•bookofjoe•9m ago•0 comments

You can play games on X

https://twitter.com/TAbrodi/status/2128956331126079893
2•rohitpaulk•16m ago•2 comments

mmap

https://wizardzines.com/comics/mmap/
1•vismit2000•19m ago•0 comments

Type-challenges: Collection of TypeScript type challenges

https://github.com/type-challenges/type-challenges/tree/main
2•denysonique•19m ago•0 comments

Update on American Bar Association website outage

https://www.americanbar.org/
1•droidjj•20m ago•0 comments

The Riemann Hypothesis: Everything You Need to Know [video]

https://www.youtube.com/watch?v=aKGqxkxaKFM
2•amichail•20m ago•0 comments

Do cryptographers trust they can prevent "Harvest Now, Decrypt Later"?

1•steinwinde•22m ago•0 comments

Ask HN: Have you ever been accused by bots to be a bot?

2•gioscarab•27m ago•0 comments

Post-quantum cryptography in practice: SSH, TLS, Go, PostgreSQL

https://almaforge.com/learn/post-quantum-cryptography-ssh-tls-go-postgresql/
2•sibman•28m ago•2 comments

How Silicon Valley uses 'effective altruism' for moral laundering

https://fortune.com/2026/12/05/silicon-valley-effective-altruism-moral-laundering/
4•gwu78•29m ago•0 comments

JDM Gentleman's Agreement: Why Iconic Japanese Cars Are Limited to 276 HP

https://carbuzz.com/features/jdm-gentlemans-agreement-japanese-cars-276-hp/
1•tosh•30m ago•0 comments

Optimizing beyond the compiler with kernel-checked equivalence proofs

https://tacitresearch.com/blog/proved-faster-machine-code/
2•miguel_dz•30m ago•0 comments

Curveslop – explore how costly it is to break weak ECC

https://curveslop.com/
2•ccamrobertson•32m ago•0 comments

Gen Zs and millennials are redefining career progression on their own terms

https://www.deloitte.com/global/en/insights/topics/talent/gen-z-and-millennial-workforce-trends.html
3•andsoitis•32m ago•0 comments

Jensen Huang left many questions unanswered when lawmakers queried Nvidia CEO

https://www.reuters.com/world/us/us-lawmakers-release-transcript-nvidia-ceo-huangs-tuesday-testim...
5•nephihaha•35m ago•0 comments

Microsoft Patents AI That Can Rewrite Your Words Live – and Make Your Lips Match

https://www.computerworld.com/article/4244752/microsoft-files-patent-for-ai-that-can-alter-what-p...
1•mrkn1•35m ago•0 comments

Show HN: Gojent – A small typed agent runtime for Go

https://gojent.com/
1•ijaidev•35m ago•0 comments

Show HN: HimitsuShell – Making shell scripts invisible even to kernel tracing

https://github.com/HimitsuShell/HimitsuShell
1•mushstory•37m ago•0 comments

Please Turn Off Your GraphQL Introspection Before the Movie Begins

https://nullpt.rs/amc-graphql-introspection
2•lr0•38m ago•0 comments

No new Bitcoin puzzle cracked since July 2026

https://btcpuzzle.info/puzzles
1•jwpapi•39m ago•1 comments

What do we do with keys?

https://codon.org.uk/~mjg59/blog/p/what-do-we-do-with-keys/
2•edward•40m ago•0 comments

AI notetakers are spreading at work. The legal risks are growing

https://www.cnbc.com/2026/12/05/ai-notetaker-workplace-legal-risks.html
3•gwu78•43m ago•0 comments