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!

Pair of 'super-puff' planets are lighter than candy floss

https://www.nature.com/articles/d41586-026-02114-2
1•Brajeshwar•1m ago•0 comments

Too Many Books?

https://www.nytimes.com/2026/07/09/style/too-many-books-new-york-city-apartment-scholar-landlord....
1•ynac•1m ago•0 comments

The tiny cell that wasn't there

https://grist.org/science/nitrogen-cycle-cell-discovery-nitroplast-science-fertilizer-algae-bacte...
1•gumby•2m ago•0 comments

AI Content Is Everywhere on Social Media, Especially LinkedIn

https://www.pangram.com/blog/ai-in-your-feed
1•mukmuk•2m ago•0 comments

Show HN: AI-powered job application framework built on Claude Code

https://github.com/MadsLorentzen/ai-job-search
1•adithyaharish•2m ago•0 comments

Show HN: MCP Leaderboard that publishes and updates itself

https://artifacta.io/mcp-leaderboard
1•jnakano89•3m ago•0 comments

The Lazarus Heist (2021) [audio]

https://archive.org/details/lazarus-heist-live
1•petethomas•4m ago•0 comments

Information Pressure: The Psychological Burden of the Information Age (2025)

https://medium.com/@juhaodong/i-recently-came-up-with-a-new-concept-information-pressure-6ae6d4f3...
1•dredmorbius•4m ago•0 comments

Ask HN: When you have too many interests

2•anonymoosestdnt•4m ago•0 comments

Big Burnham will be watching you

https://www.spiked-online.com/2026/07/07/big-burnham-will-be-watching-you/
1•mellosouls•4m ago•0 comments

The C6 Days: Tools, Memory, and Bugs

https://ricomariani.medium.com/the-c6-days-tools-memory-and-bugs-66ea926eaf5c
1•mmorearty•4m ago•0 comments

Ask HN: How can I keep kittens away from an electric car?

1•YeGoblynQueenne•5m ago•0 comments

Dairy cows make their misery expensive (but their calves can't)

https://acesounderglass.com/2026/05/01/dairy-cows-make-their-misery-expensive-but-their-calves-cant/
1•surprisetalk•7m ago•0 comments

Show HN: Reverse-engineering web apps into agent tools

3•pancomplex•7m ago•0 comments

I asked Fable 5 to make me a lyric video [video]

https://www.youtube.com/watch?v=gFx-NjTw3sM
1•blakenator•7m ago•0 comments

New York Times-led group asks court to sanction OpenAI in US copyright dispute

https://www.reuters.com/legal/litigation/new-york-times-led-group-asks-court-sanction-openai-us-c...
1•1vuio0pswjnm7•8m ago•0 comments

A2A Protocol

https://a2a-protocol.org/latest/
2•giamma•8m ago•0 comments

Questioneverything.ai – Explore any question through composable knowledge blocks

https://www.questioneverything.ai/
1•DBWORLD•8m ago•0 comments

Data Centers in Space Geek Out (2007) [audio]

https://www.dotnetrocks.com/details/2007
1•thunderbong•9m ago•0 comments

What if you gave everyone an intern?

https://blev.dev/articles/what-if-you-gave-everyone-an-intern/
2•blev•9m ago•0 comments

Show HN: Obsidian Aside

https://community.obsidian.md/plugins/aside
2•wl1973•10m ago•0 comments

Always On. Always Watching

https://blog.ppb1701.com/always-on-always-watching
1•pimeys•11m ago•0 comments

New Players Wanted in Iver

https://www.stpetersiverfc.com
1•chrisgen•13m ago•0 comments

Teaching AI to Run with the Turbines

https://www.technologyreview.com/2026/07/02/1138433/teaching-ai-to-run-with-the-turbines/
1•gmays•14m ago•0 comments

Google patent of an identification method for Tor Over VPN

https://patents.google.com/patent/CN116233013B/en
1•chbint•14m ago•0 comments

Show HN: Netstat for TLS Traffic

https://github.com/yuedongze/tlstat
1•yuedongze•15m ago•0 comments

Fable, Opus, Claude Code and Claude Web: How to Use Them All for the Best Result

https://theautomatedoperator.substack.com/p/fable-opus-claude-code-and-claude
2•idopmstuff•16m ago•0 comments

Show HN: Subagentmaxxing – Orchestrate GPT and Cursor Models with Claude Code

https://github.com/Kuberwastaken/subagentmaxxing
2•kuberwastaken•16m ago•0 comments

Show HN: Advanced Search for Bluesky (Chrome Extension)

https://www.bskysrch.com/chrome-extension
1•nklswbr•17m ago•0 comments

What Does "Processed Meat" Mean?

https://www.malone.news/p/what-does-processed-meat-actually
2•bilsbie•18m ago•0 comments