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

Amazing Chessboard Patterns [video]

https://www.youtube.com/watch?v=VgmDuBCayPw
1•rwmj•2m ago•1 comments

Fellow Artists, I'm Begging You to Pull Your Heads Out of the Sand About AI

https://glasshalftrue.substack.com/p/fellow-artists-im-begging-you-to
1•_thisdot•8m ago•0 comments

LLMs Are the Key to Mutation Testing and Better Compliance

https://engineering.fb.com/2025/09/30/security/llms-are-the-key-to-mutation-testing-and-better-co...
1•nishantjani10•9m ago•1 comments

The Daily Wire vs. US State Department

https://www.courtlistener.com/docket/68065253/131/the-daily-wire-llc-v-united-states-department-o...
1•47282847•12m ago•0 comments

Updated Aether Mind Whitepaper

https://qbc.network/docs/aether
1•BlockArtica•14m ago•0 comments

A beginner's guide to irrational behaviour

https://danariely.com/coursera/
1•charlieirish•14m ago•0 comments

Show HN: GDD–36 MCP tools to run N isolated Chromium browsers from Claude/Cursor

https://github.com/Cap-of-tea/GDD
1•imVSall•15m ago•0 comments

Pancreatic cancer just met its match: its death sentence is treatable

https://www.worksinprogress.news/p/pancreatic-cancer-just-met-its-match
1•NewCzech•19m ago•0 comments

A Lo-Fi Rebellion Against A.I

https://www.newyorker.com/culture/infinite-scroll/a-lo-fi-rebellion-against-ai
1•XzetaU8•20m ago•1 comments

Recent Kernel exploits, attack surface reduction, example IPSEC

https://www.openwall.com/lists/oss-security/2026/05/16/3
1•birdculture•21m ago•0 comments

The Gervais Principle

https://chamoda.com/the-gervais-principle
1•chamoda•31m ago•0 comments

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
1•lionkor•35m ago•0 comments

Fast16 Sabotage Tool Was Built to Subvert Nuclear Weapons Simulations

https://www.security.com/threat-intelligence/fast16-nuclear-sabotage
2•ledoge•35m ago•0 comments

Writing Z80 assembly, 4 decades later:-)

https://github.com/ttsiodras/3D-on-a-ZX-Spectrum-48K/
1•ttsiodras•38m ago•0 comments

MegaTrain Full Precision Training of 100B+ Parameter LLMs on a Single GPU

https://github.com/DLYuanGod/MegaTrain
1•adulau•40m ago•0 comments

WHO declares Ebola outbreak in DR Congo a global health emergency

https://www.bbc.co.uk/news/articles/c2l2p0wwzzdo
2•lifeisstillgood•41m ago•0 comments

Ra

https://qntm.org/ra
3•sim04ful•53m ago•0 comments

How to Tell If You're Living in a Binary Crisis

https://www.honest-broker.com/p/how-to-tell-if-youre-living-in-a-8ee
2•Khaine•57m ago•0 comments

Strait of Hormuz submarine cable

https://www.cnn.com/2026/05/17/middleeast/iran-hormuz-undersea-cables-intl
1•reconnecting•57m ago•0 comments

Towards local plug-and-play AI

https://adlrocha.substack.com/p/adlrocha-towards-local-plug-and-play
1•adlrocha•1h ago•0 comments

Why are there squares everywhere in statistics?

https://statmodeling.stat.columbia.edu/2026/05/16/why-are-there-squares-everywhere-in-statistics-...
2•Tomte•1h ago•0 comments

Show HN: Extendable API Gateway Written in Go

2•starwalkn•1h ago•2 comments

Std: Is_heap Could Be Faster

https://quuxplusone.github.io/blog/2026/05/11/is-heap/
1•signa11•1h ago•0 comments

Trump's More Than 3,700 Trades Astonish Wall Street Insiders

https://www.bloomberg.com/news/articles/2026-05-14/trump-bought-nvidia-boeing-microsoft-in-flurry...
4•_tk_•1h ago•2 comments

Unit Testing's Eval Twin

https://volary.ai/articles/unit-testings-eval-twin
2•CamouflagedKiwi•1h ago•0 comments

Show HN: Onami Radio, a simple radio app for iOS

https://marigov.github.io/onami/
3•marigov•1h ago•0 comments

BT.1886 Shorthand Is a Trap

https://daejeonchronicles.com/2026/05/07/bt-1886-shorthand-is-a-trap/
2•Prasadnarava•1h ago•0 comments

Judge Says Krafton Must Rehire Fired 'Subnautica' CEO

https://www.bloomberg.com/news/articles/2026-03-16/judge-says-krafton-must-rehire-fired-subnautic...
1•_tk_•1h ago•0 comments

Softmax in front of CrossEntropyLoss: 16 other bugs PyTorch won't catch

https://gaox.substack.com/p/how-a-road-network-library-helped
1•neurarch•1h ago•0 comments

A Basic Interpreter in Markdown, Running "Natively" in Claude Code

https://dunkels.com/adam/llm-basic-interpreter-markdown/
1•adunk•1h ago•0 comments