frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo 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!

Musk's Starlink faces high-profile security test in Iran crackdown

https://www.japantimes.co.jp/business/2026/01/17/tech/starlink-internet-test-iran-analysis/
1•everybodyknows•1m ago•0 comments

OpenAI to Test Targeted Ads in ChatGPT, Stepping Up Revenue Push

https://www.bloomberg.com/news/articles/2026-01-16/openai-to-test-targeted-ads-in-chatgpt-steppin...
1•1vuio0pswjnm7•2m ago•0 comments

How much TV is too much TV?

https://www.ft.com/content/12f57e3c-c824-4c4c-bab0-7cd9321a8be7
1•7777777phil•3m ago•0 comments

Ask HN: Purchasing a "Premium" Domain

1•devld•3m ago•1 comments

Trump to impose tariffs on European nations over Greenland

https://www.dw.com/en/trump-to-impose-tariffs-on-european-nations-over-greenland/a-75549367
5•lysace•5m ago•1 comments

Why Young Women Moved Left While Young Men Stayed

https://twitter.com/IterIntellectus/status/2012220254504530043
1•bilsbie•5m ago•0 comments

Don't Try to Step-Function Everyone All at Once (2024)

https://staysaasy.com/startups/2024/06/12/focused-growth.html
1•speckx•6m ago•0 comments

Show HN: Evolution of my humble library of games built with my own engine

https://carimbo.games/
1•delduca•7m ago•0 comments

Eight European countries face 10% tariff for opposing US control of Greenland

https://apnews.com/article/denmark-greenland-us-trump-4ad99ea3975a8b62d37bd04961feda55
13•2OEH8eoCRo0•8m ago•2 comments

WorldCat (OCLC)

https://www.oclc.org/en/worldcat.html
1•bookofjoe•8m ago•0 comments

L for the Price of One: On the Benefits of Using more than t+1 Parties in Thres [pdf]

https://eprint.iacr.org/2026/061.pdf
1•todsacerdoti•8m ago•0 comments

TTY and Buffering

https://mattrighetti.com/2026/01/12/tty-and-buffering
2•mattrighetti•9m ago•0 comments

What are you doing for your health this year?

1•Newhouser•12m ago•0 comments

Parallelizable threshold ECDSA with more than t+1 parties

https://eprint.iacr.org/2026/061
1•badcryptobitch•13m ago•0 comments

The integrated explicit analytic number theory network

https://terrytao.wordpress.com/2026/01/15/the-integrated-explicit-analytic-number-theory-network/
2•taubek•16m ago•0 comments

The Year Everything Changed

https://networkgames.fyi/the-year-everything-changed
1•daniloc•17m ago•0 comments

A minimal hackable implementation of policy gradients (GRPO, PPO, REINFORCE)

https://github.com/zafstojano/policy-gradients
1•starzmustdie•17m ago•0 comments

An Elizabethan mansion's secrets for staying warm

https://www.bbc.com/future/article/20260116-an-elizabethan-mansions-secrets-for-staying-warm
2•Tachyooon•18m ago•0 comments

AI is speeding into healthcare. Who should regulate it?

https://news.harvard.edu/gazette/story/2026/01/ai-is-speeding-into-healthcare-who-should-regulate...
2•gnabgib•21m ago•0 comments

Signal feature request: mesh networking

https://community.signalusers.org/t/mesh-network-messaging-p2p-networking/2188?page=3
2•arthuredelstein•21m ago•0 comments

The Road to Serfdom (1944) [pdf]

https://dn790006.ca.archive.org/0/items/in.ernet.dli.2015.218162/2015.218162.The-Road_text.pdf
2•RyanShook•22m ago•0 comments

Will we forget what pre-LLM era looked like?

https://invertedpassion.com/will-we-forget-what-pre-llm-era-looked-like/
1•speckx•24m ago•0 comments

Why US cities are reverting 1-way streets back to their original 2-way design

https://apnews.com/article/one-way-streets-safety-indianapolis-louisville-lynchburg-6ca9c3610c447...
2•bikenaga•26m ago•0 comments

Apples, Trees, and Quasimodes

https://systemstack.dev/2025/09/humane-computing/
9•entaloneralie•26m ago•1 comments

The Resonant Computing Manifesto

https://resonantcomputing.org/
6•sinak•27m ago•0 comments

My new minimal static site generator

https://maurycyz.com/misc/new_ssg/
4•todsacerdoti•29m ago•0 comments

From Desired State to Negotiated State

https://jlmr.dev/posts/from-desired-state-to-negotiated-state/
2•robteix•31m ago•0 comments

Trump announces plan to hit European countries with tariffs over Greenland

https://www.bbc.co.uk/news/live/c1j8kw866p3t
18•c-oreills•31m ago•0 comments

Pragmatic Bitmap Filters in Microsoft SQL Server

https://www.vldb.org/cidrdb/2026/i-cant-believe-its-not-yannakakis-pragmatic-bitmap-filters-in-mi...
2•tanelpoder•33m ago•0 comments

Top Gadgets That Stole the Spotlight at CES 2026

https://techfusiondaily.com/top-10-gadgets-ces-2026/
2•nelkazzu•33m ago•0 comments