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

Building an Unverified Compiler with Agents

https://www.basis.ai/blog/verified-compiler/
1•matt_d•7m ago•0 comments

Dictating Literal Reminders to My Apple Watch

https://mjtsai.com/blog/2026/04/15/dictating-literal-reminders-to-my-apple-watch/
1•alin23•8m ago•0 comments

Show HN: Amazon Reviews Extractor

https://chromewebstore.google.com/detail/amazon-reviews-extractor/maccgnaehlolfonlnplblgpippnhmoal
1•qwikhost•8m ago•0 comments

Feedr – Live audience Q&A for creators

https://apps.apple.com/us/app/feedr-by-mrvl/id6761885406
1•SupaMRVL•14m ago•0 comments

Dream League Soccer 2026

https://apps.apple.com/us/app/dream-league-soccer-2026/id1462911602
1•myothiha•16m ago•0 comments

Internet Protocol Version 8 (IPv8)

https://www.ietf.org/archive/id/draft-thain-ipv8-01.html
2•computersuck•21m ago•1 comments

WybeCoder: Verified Imperative Code Generation

https://facebookresearch.github.io/wybecoder/
1•matt_d•21m ago•0 comments

Don't Use A.I. To Do This

https://www.nytimes.com/2026/04/15/opinion/art-artificial-intelligence.html
1•saikatsg•22m ago•0 comments

GoLand

1•mukulmantosh•23m ago•0 comments

Finance ministers and top bankers raise serious concerns about Mythos AI model

https://www.bbc.com/news/articles/c2ev24yx4rmo
1•wood_spirit•27m ago•0 comments

JSONLines – My Favourite Format

https://heather.cafe/posts/jsonlines-my-favourite-format/
1•vismit2000•27m ago•0 comments

Best of the Best Tips for Kidepo on a Best Uganda Safari

https://substack.com/profile/416658153-godwin-kasekende/note/c-244740651
1•godwinkasekende•27m ago•0 comments

Europol-supported global operation targets over 75 000 users engaged in DDoS

https://www.europol.europa.eu/media-press/newsroom/news/europol-supported-global-operation-target...
2•jruohonen•28m ago•1 comments

The $10B Startup Training AI to Replace the White-Collar Workforce

https://www.bloomberg.com/news/features/2026-04-16/ai-company-hiring-on-linkedin-wants-to-train-y...
2•quantified•31m ago•1 comments

Pentagon Seeks Help from Ford and G.M.

https://www.nytimes.com/2026/04/16/business/pentagon-ford-general-motors-defense-production.html
1•geox•31m ago•0 comments

3D-Printed Homes, an Abandoned $590k Deposit, the FBI

https://www.propublica.org/article/3d-printed-affordable-housing-cairo-illinois-prestige
3•petethomas•34m ago•1 comments

Australia's Fiscal Point of No Return

https://caseyhandmer.wordpress.com/2026/04/16/australia-will-run-an-overt-command-economy-by-2040/
1•MrBuddyCasino•39m ago•0 comments

AI boom is city's weirdest tech boom, says S.F.'s chief economist

https://missionlocal.org/2026/04/ai-boom-controller-economist-egan-wagner/
2•littlexsparkee•41m ago•0 comments

Engineer open-sources radar system that's 95% cheaper than $250k offerings

https://www.tomshardware.com/maker-stem/open-source-radar-system-is-95-percent-cheaper-than-usd25...
3•Element_•51m ago•0 comments

Running Your Own AS: Direct Hetzner Peering

https://blog.hofstede.it/running-your-own-as-direct-hetzner-peering-a-fourth-edge-and-bringing-th...
1•319•53m ago•0 comments

Taste.md

https://pablostanley.substack.com/p/tastemd
3•cspags•53m ago•0 comments

FCC exempts Netgear from ban on foreign routers, doesn't explain why

https://arstechnica.com/tech-policy/2026/04/fcc-exempts-netgear-from-ban-on-foreign-routers-doesn...
8•rawgabbit•1h ago•2 comments

The Iranian Teens Behind Lego Trump [video]

https://www.youtube.com/watch?v=SQfI9NTtDE4
3•abetusk•1h ago•0 comments

Iran's Lego Slopaganda Creator [video]

https://www.youtube.com/watch?v=i5Q_v370OJg
3•abetusk•1h ago•1 comments

Flowsta Sign It

https://flowsta.com/sign-it/
1•solarpunked•1h ago•0 comments

Long-term adaptation pathways for Venice and its lagoon under sea-level rise [pdf]

https://www.nature.com/articles/s41598-026-39108-z
3•thunderbong•1h ago•0 comments

Billionaire Andrew Forrest takes Meta to court over scam ads using his likeness

https://www.abc.net.au/news/2026-04-17/andrew-forrest-battles-meta-over-fake-ads/106574806
2•ahonhn•1h ago•1 comments

Bluesky has been dealing with a DDoS attack for nearly a full day

https://www.theverge.com/tech/913638/bluesky-has-been-dealing-with-a-ddos-attack-for-nearly-a-ful...
18•dotmanish•1h ago•3 comments

I made an 80B local model ship a 295-test RAG codebas

https://github.com/Taaar1k/rag-workshop
1•taaarik•1h ago•0 comments

Human Accelerated Region 1

https://en.wikipedia.org/wiki/Human_accelerated_region_1
2•apollinaire•1h ago•0 comments