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!

1•kristohb•11s ago

Apple iPhone 20: Everything We Know About the Redesign Coming in 2027

https://www.cnet.com/tech/mobile/apple-iphone-20th-anniversary-edition-rumors-2027/
1•taubek•1m ago•0 comments

Rekor – immutable tamper resistant metadata ledger

https://github.com/sigstore/rekor
1•gregsadetsky•2m ago•0 comments

Application Gatekeeping: An Ever-Expanding Pathway to Internet Censorship

https://www.eff.org/deeplinks/2025/11/application-gatekeeping-ever-expanding-pathway-internet-cen...
1•thunderbong•2m ago•0 comments

WordPalette – Generate a brand palette and visual identity from a word or image

https://wordpalette.github.io/
1•javatuts•3m ago•0 comments

Quantum computing startup says it will leapfrog everybody

https://arstechnica.com/science/2026/06/quera-promises-thousands-of-error-corrected-qubits-by-2029/
1•samizdis•5m ago•0 comments

This will save you hours on your CCNA/CCNP

https://old.reddit.com/r/ccnastudygroup/comments/1uh7eop/this_will_save_you_hours_learning_for_yo...
6•salad_vr•6m ago•3 comments

The Apple Disk II Controller Card

https://www.bigmessowires.com/2021/11/12/the-amazing-disk-ii-controller-card/
1•stmw•7m ago•0 comments

I have made a simple CLI and would like feedback

https://github.com/Tophatguard/KRSH
1•Tophatguard•7m ago•0 comments

Claude in Microsoft Foundry is now generally available

https://claude.com/blog/claude-in-microsoft-foundry
1•Xtrah•7m ago•0 comments

No Code Exec? No Problem Living the Age of VBS, HVCI, and Kernel CFG (2022)

https://connormcgarr.github.io/hvci/
1•Retr0id•8m ago•0 comments

Light Switch "Wakes Up" Sleeping Cancer Cells

https://www.optica-opn.org/home/newsroom/2026/june/light_switch_wakes_up_sleeping_cancer_cells/
1•visha1v•8m ago•0 comments

KitForge–generate an AI agent manifest; scaffold with enforced approval gates

https://www.agent-kits.com/kitforge
1•stoicstoic•9m ago•0 comments

A Solution to A.I.'S Growing Power Demand: Homes

https://www.nytimes.com/2026/06/24/business/energy-environment/ai-data-centers-tesla.html
1•visha1v•10m ago•1 comments

Gene Sequence: e2e CRISPR gRNA design pipeline – sequence to 3D model in ~5s

https://crisprr.bio/
1•pranay_joshi•11m ago•0 comments

Candle marked from 1 to 30 EUR, priced at 30 EUR

https://driesdepoorter.be/product/burningmoney/
2•driesdep•13m ago•0 comments

Guide to Using Large Language Models and Generative AI in Economic History

https://www.nber.org/papers/w35374
1•paulpauper•13m ago•0 comments

Scott Wheeler on Stephen Sondheim

https://www.thefp.com/p/great-americans-stephen-sondheim
1•paulpauper•14m ago•0 comments

Prism: An Impure Functional Language with Typed Effects

https://www.stephendiehl.com/posts/prism/
1•birdculture•14m ago•0 comments

The Humbling of the Once Almighty Dollar

https://paulkrugman.substack.com/p/the-humbling-of-the-once-almighty
1•paulpauper•15m ago•0 comments

Supreme Court rules geofence warrants are protected by privacy rights

https://techcrunch.com/2026/06/29/in-major-privacy-win-supreme-court-rules-geofence-warrants-are-...
2•igortru•16m ago•0 comments

Architectural Patterns: Moving Beyond Cloud-Native to Local-First

https://www.infoq.com/podcasts/natural-evolution-cloud-native/
1•msolujic•16m ago•0 comments

Family of magnetic field-boosted superconductors in rhombohedral graphene

https://www.nature.com/articles/s41586-026-10815-x
4•igortru•17m ago•0 comments

Clean build time is the wrong CI metric

https://krabarena.com/battles/gradle-vs-maven-vs-bazel-for-incremental-ci-builds
2•PashaGo•17m ago•0 comments

Show HN: Privacy Friendly Age Verification System

https://private-age-estimation.vednig.workers.dev
1•vednig•19m ago•0 comments

WhatsApp to let people chat without swapping phone numbers

https://www.bbc.com/news/articles/c1dykk3135xo
1•reconnecting•19m ago•0 comments

Cursor for iOS

https://apps.apple.com/us/app/cursor/id6767085653
1•SpyCoder77•22m ago•2 comments

Show HN: Halgorithem – an open-source tool for detecting AI hallucinations

https://github.com/TangibleResearch/Halgorithem
1•reboy•22m ago•0 comments

Show HN: The UNESCO Tsunami Warning Emails Are Gone

https://lists.unesco.org/wws/info/tsunami-information-ioc
1•Jaauthor•23m ago•0 comments

Are We Ready for an Agent-Native Memory System?

https://arxiv.org/abs/2606.24775
1•matt_d•25m ago•0 comments