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!

Powerful Anthropic model, Fable 5, on track to return soon

https://www.axios.com/2026/06/27/anthropic-fable-5-return-soon
1•chris_overseas•2m ago•0 comments

An argument with Om about Wired spawned this newsletter. RIP brother

https://crazystupidtech.com/2026/06/27/how-an-argument-with-om-spawned-this-newsletter-rip-brother/
1•rmason•6m ago•0 comments

Marfa Public Radio Puts You to Sleep

https://www.marfapublicradio.org/podcast/marfa-public-radio-puts-you-to-sleep
2•reaperducer•16m ago•0 comments

A Man Who Invented a Surgery to Cure Himself

https://medium.com/swlh/doug-lindsay-the-man-who-cure-himself-12d40d3f643e
1•raynchad•16m ago•0 comments

Direct observation of the superallowed α-decay of 104Te

https://www.nature.com/articles/s41586-026-10581-w
1•thunderbong•17m ago•0 comments

What Barbarians Like to Take Private

https://www.gmo.com/americas/research-library/part-1-what-barbarians-like-to-take-private_gmoquar...
1•andsoitis•22m ago•0 comments

US Layoffs Skyrocket to Highest Level Since Pandemic AI Blamed for 40% of Cuts

https://www.ibtimes.co.uk/us-layoffs-skyrocket-highest-level-since-pandemic-tech-giants-blame-ai-...
5•yogthos•23m ago•1 comments

Almost always look on the bright side of life

https://www.economist.com/business/2026/05/21/why-you-should-almost-always-look-on-the-bright-sid...
1•andsoitis•29m ago•0 comments

After 80 Years, Mathematicians Give Famed 'Erdős Method' an Upgrade

https://www.quantamagazine.org/after-80-years-mathematicians-give-famed-erdos-method-an-upgrade-2...
1•signa11•32m ago•0 comments

Grantham Warns U.S. Stocks Could Plunge 70% / Most Expensive Market in History

https://247wallst.com/investing/2026/06/26/jeremy-grantham-warns-u-s-stocks-could-plunge-70-in-th...
6•andsoitis•38m ago•0 comments

Feds Killed Polestar and Spared Volvo. That Should Terrify You

https://www.thedrive.com/news/feds-killed-polestar-and-spared-volvo-that-should-terrify-you
6•mraniki•44m ago•5 comments

I built a 100% local network privacy appliance to stop smart home spying

https://www.edgedefenseai.com/
2•arundass•46m ago•1 comments

China Has Matched Anthropic in Cybersecurity, Resetting AI Race

https://www.wsj.com/tech/ai/chinese-ai-anthropic-mythos-cybersecurity-574b02c2
5•madars•47m ago•3 comments

What Happens When You Run 10k Concurrent Lambda Functions Against DynamoDB

https://medium.com/@yalovoy/what-happens-when-you-run-10-000-concurrent-lambda-functions-against-...
1•zero-ground-445•48m ago•0 comments

Amble One

https://driveamble.com/pages/amble-one
2•dnw•51m ago•0 comments

Show HN: FSM – an advanced system monitor for Linux

https://github.com/mskrasnov/FSM
1•mskrasnov•52m ago•0 comments

The AI "Super Bubble" Warning Is a Filter, Not a Funeral

https://www.pentesty.co/blog/ai-super-bubble-cybersecurity-filter-2026
3•johnzoro107•56m ago•0 comments

Show HN: SpinnerRecruit – targeted job ads in CLI for AI wait states

https://www.spinnerrecruit.dev/
1•jamessmu•58m ago•3 comments

Response to AI slop is from Robin Williams

https://jayacunzo.com/blog/your-move-chief
32•herbertl•1h ago•4 comments

Chrome Extension to Bypass Paywalls

https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean
1•thunderbong•1h ago•1 comments

Turning music into a chore is how I became a musician

https://the.scapegoat.dev/turning-music-into-a-chore-is-what-made-me-an-artist/
2•herbertl•1h ago•0 comments

Microchip June 2026: AVR LA Family [pdf]

https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/Brochures/AVR-L...
3•dragontamer•1h ago•1 comments

Show HN: Decomp Academy – Learn to decompile GameCube games into matching C

https://decomp-academy.dev
25•jackpriceburns•1h ago•9 comments

Show HN: Shopify UCP is insanely powerful

https://stack412.com/
2•westche2222•1h ago•3 comments

I designed and synthesized PAC-832 in a chemistry lab I built in my garage

https://twitter.com/DouglasYaoDY/status/2070904914050797582
3•gasull•1h ago•1 comments

People and Blogs Interview: David Cain, Raptitude

https://manuelmoreale.com/interview/david-cain
3•Curiositry•1h ago•0 comments

From Prompting Agents to Loop Engineering

https://twitter.com/omarsar0/status/2068008743153832264
5•gmays•1h ago•2 comments

Slop, trust, and a three-line patch

https://klez.me/2026/06/28/slop-trust-and-a-three-line-patch/
2•the_kLeZ•1h ago•1 comments

Google Patent Reveals Satellite Messages May Carry Device Tracking Data

https://patentlyze.com/patent/google-stuffing-device-data-satellite-messages/
3•Dfol•1h ago•2 comments

Show HN: Moumantai – self-hosted, agent-driven apps you can use on any device

https://github.com/xiang-deng/moumantai
2•no_0044•1h ago•0 comments