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

Apple Rankings

https://applerankings.com/
1•thunderbong•1m ago•0 comments

Alysa Liu Won Olympic Gold, but She Would've Been Fine Either Way

https://www.teenvogue.com/story/alysa-liu-olympic-gold-teen-vogue-cover-interview-2026
1•Tomte•2m ago•0 comments

What does it take for male friendship to thrive?

https://www.csmonitor.com/Books/Book-Reviews/2026/0313/who-needs-friends-andrew-mccarthy-male-fri...
1•Tomte•3m ago•0 comments

Palantir CEO on Iran, AI Weapons and America's Advantage: A16Z American Dynamism [video]

https://www.youtube.com/watch?v=Wj6ttdIeBnE
1•keepamovin•4m ago•0 comments

Agents prefer structured queries over natural language when given the choice

2•snoren•7m ago•0 comments

Solo founder launching my first product on producthunt can I get some support

1•dattapt•7m ago•0 comments

Trump administration to be paid $10B for brokering TikTok deal

https://www.theguardian.com/technology/2026/mar/14/tiktok-trump-administration-10bn
1•gizzlon•8m ago•0 comments

Zirco.ai – AI employee for dental front desk operations

1•vosidov-msaid•13m ago•0 comments

I built an AI hedge fund panel that debates any stock

https://ainvest-jnpzmtom62rulztvu24d6c.streamlit.app/
1•lovvoong•14m ago•0 comments

Biased AI writing assistants shift users' attitudes on societal issues

https://www.science.org/doi/10.1126/sciadv.adw5578
2•tobr•18m ago•0 comments

Built by Americans. Captured by Foreigners

https://twitter.com/chiefengineerce/status/2032927887943417991
2•MrBuddyCasino•20m ago•1 comments

Show HN: Real-Time Visualization of Anthropic's Toy Models of Superposition

https://github.com/danra/toy_models
1•danra•21m ago•0 comments

Centurion – K8s-style resource scheduler for AI coding agents (open source)

https://github.com/spacelobster88/centurion
1•xinhat•24m ago•1 comments

Flowcus: Visualize your task management workflow

https://getflowcus.app
1•ahamez•26m ago•0 comments

Ray Dalio: I fear we're entering the most dangerous phase of the 'Big Cycle'

https://fortune.com/2026/03/14/ray-dalio-big-cycle-debt-crisis-political-disorder-world-order/
3•ako•27m ago•1 comments

SpiceCrypt: A Python library for decrypting LTspice encrypted model files

https://github.com/jtsylve/spice-crypt
1•luu•31m ago•0 comments

Python → native x86-64, no runtime, no GIL, NO LLVM

https://github.com/AndreeSalazar/PyDead-BIB
1•QDanteX•34m ago•1 comments

Apple's MacBook Pro 14 cannot handle the M5 Max

https://www.notebookcheck.net/Apple-s-MacBook-Pro-14-cannot-handle-the-M5-Max.1249861.0.html
2•virgildotcodes•41m ago•0 comments

Anything Will Lase If You Hit It Hard Enough

https://maximumeffort.substack.com/p/anything-will-lase-if-you-hit-it
1•dblack12705•41m ago•1 comments

China is wrestling with a novel phenomenon: inherited wealth

https://www.economist.com/briefing/2026/03/12/china-is-wrestling-with-a-novel-phenomenon-inherite...
2•Jiahang•46m ago•0 comments

China's hereditary elite is taking shape

https://www.economist.com/leaders/2026/03/12/chinas-hereditary-elite-is-taking-shape
1•Jiahang•46m ago•0 comments

What Your AI Tool Selection Says About You (Programmer Edition)

https://effective-programmer.com/what-your-ai-tool-selection-says-about-you-programmer-edition-54...
2•naveed125•53m ago•2 comments

Vibe Create Hardware

https://www.blueprint.am/
1•David-Feldt•1h ago•1 comments

StorageReview Sets New Pi Record: 314T Digits on a Dell PowerEdge R7725

https://www.storagereview.com/review/storagereview-sets-new-pi-record-314-trillion-digits-on-a-de...
1•y1n0•1h ago•0 comments

Ask HN: Med student interested in bci startups..where do I start?

1•Sxouterred•1h ago•1 comments

OpenClaw for Your Dad

https://picnicos.com/
2•basiclaser•1h ago•4 comments

Show HN: OpenClaw-superpowers – Self-modifying skill library for OpenClaw agents

https://github.com/ArchieIndian/openclaw-superpowers
8•Arkid•1h ago•0 comments

Conditional Impls

https://www.possiblerust.com/pattern/conditional-impls
3•itzlambda•1h ago•0 comments

Show HN: Plotiq – Turn CSV files into graphs instantly

https://plotiq-web.web.app/
5•devnpatel•1h ago•3 comments

Tinder Sparks 2026: Start Something New [video]

https://www.youtube.com/watch?v=ViWAHYFjb90
2•megatunger•1h ago•0 comments