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!

Bursty arrivals speed up LLM inference

https://systems.seas.harvard.edu/blog/burstiness-is-all-you-need/
1•ak33ra•31s ago•1 comments

Show HN: A Back End You Can Call Directly from React – No API Required

https://linkedrecords.com/getting-started/
1•WolfOliver•1m ago•0 comments

Fall of Situational Awareness Is a Warning, So Is Nvidia's Vendor Financing

https://www.newcomer.co/p/the-abrupt-fall-of-situational-awareness
1•mapping365•2m ago•0 comments

Orca-Bench: How Ready Are Language Model Agents for Oncall?

https://arxiv.org/abs/2607.28545
1•yruzin•3m ago•0 comments

The problem with putting an AI image generator in Google Earth

https://www.theverge.com/ai-artificial-intelligence/973764/google-earth-ai-satellite-images
1•rndsignals•3m ago•0 comments

AI's Wildest Spenders Are Hitting the Accelerator

https://www.bloomberg.com/opinion/articles/2026-07-31/ai-s-massive-spenders-google-meta-and-oracl...
2•PKop•4m ago•1 comments

Netflix sued for $105M for losing HDs with unencrypted film masters

https://www.cbsnews.com/news/netflix-lawsuit-lost-nicolas-cage-movie/
1•ipython•5m ago•0 comments

Using the railway network as a flatbed scanner [video]

https://media.ccc.de/v/emf2026-74-1-using-the-railway-network-as-a-flatbed-scanner
1•Jimmc414•5m ago•0 comments

Uninsured but Undaunted, a Surgical Patient Searched the Globe for a Deal

https://kffhealthnews.org/health-care-costs/hernia-surgery-search-globe-for-deal-bill-of-the-mont...
1•Jimmc414•5m ago•0 comments

Drones offer alternative to balloons for weather research

https://www.theguardian.com/news/2026/jul/31/weatherwatch-drone-base-station-offers-alternative-w...
1•beardyw•5m ago•0 comments

Termixer (TUI DJ Mixer)

https://github.com/l00sed/termixer
1•l00sed•7m ago•0 comments

Over 20k precolonial earthworks in the Southwest Amazonia

https://www.nature.com/articles/s41586-026-10835-7
1•paulpauper•10m ago•0 comments

Is the Industrial Revolution a precedent for explosive economic growth today?

https://mattsclancy.github.io/2026/07/27/industrial-revolution-growth.html
1•paulpauper•10m ago•0 comments

Increasing Value from Compute

https://bobgelfond.substack.com/p/increasing-value-from-compute
1•paulpauper•11m ago•0 comments

Ineffective by Design

https://dsa-observatory.eu/2026/07/30/ineffective-by-design-bits-of-freedom-vs-meta-at-the-forefr...
2•jruohonen•15m ago•0 comments

Low carbohydrate high fat diet curbs glioblastoma by shifting lipids

https://www.nature.com/articles/s42003-026-10516-1
2•bookofjoe•15m ago•1 comments

Show HN: Schema-backed, Git-based structured state for agentic systems

1•advancingu•15m ago•1 comments

Templates for Engineering Managers

https://newsletter.pragmaticengineer.com/p/templates-as-inspiration-for-engineering
1•abrbhat•16m ago•1 comments

The market's big AI doubts are exposing the riskiest players

https://www.cnn.com/2026/07/31/business/situational-awareness-citadel-ai-trade
1•mapping365•17m ago•0 comments

Three Claude Skills I Think Every Org Should Have

https://arpitbhayani.me/blogs/three-skills/
1•arpitbbhayani•17m ago•0 comments

June in Servo: real world compat, media queries, SharedWorker, and more

https://servo.org/blog/2026/07/31/june-in-servo/
1•iamnothere•18m ago•0 comments

Iranian hackers likely behind Minnesota municipal water cyberattack

https://www.axios.com/local/twin-cities/2026/07/30/report-iranian-hackers-minnesota-water-systems...
2•porridgeraisin•18m ago•0 comments

48K/50K ppl who crossed illegally into Ceuta have been returned to Morocco

https://www.euronews.com/my-europe/2026/07/31/around-25000-migrants-returned-to-morocco-after-mas...
4•Markoff•20m ago•0 comments

New Update Margin

https://www.trymargin.org
1•JosephPDiener•20m ago•0 comments

Goodhart's Law Comes for Every Benchmark You Trust

https://cacm.acm.org/blogcacm/goodharts-law-comes-for-every-benchmark-you-trust/
1•pseudolus•21m ago•0 comments

To Converse Well

https://aeon.co/essays/a-good-conversation-relaxes-the-mind-and-opens-the-heart
1•geneticdrifts•21m ago•0 comments

How to Survive an Infestation of Toxic Caterpillars

https://www.newyorker.com/science/elements/how-to-survive-an-infestation-of-toxic-caterpillars
2•littlexsparkee•22m ago•0 comments

What LLM Inference Costs

https://twitter.com/Akashi203/status/2083213197171884505
1•OsamaJaber•24m ago•0 comments

Neuro-Inspired Inverse Learning for Planning and Control

https://arxiv.org/abs/2605.24152
2•kensai•25m ago•1 comments

The EU is making the Right to Repair the new standard in Europe

https://ec.social-network.europa.eu/@EUCommission/117013565926587088
2•thisislife2•27m ago•0 comments