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!

23.77M Secrets Leaked by AI in 2024 – GitGuardian Report

https://blog.gitguardian.com/the-state-of-secrets-sprawl-2026/
1•thomaslwang•2m ago•1 comments

Starting Early

https://siddhesh.substack.com/p/starting-early
1•weekendvampire•3m ago•0 comments

Fujifilm X RAW STUDIO webapp clone

https://github.com/eggricesoy/filmkit
1•notcodingtoday•5m ago•1 comments

Show HN: UI-stack – Claude skill that enforces design system on AI-generated UI

https://www.ui-stack.dev/
1•rashoodkhan•8m ago•1 comments

Invisalign Became the Biggest User of 3D Printers

https://www.wired.com/story/how-invisalign-became-the-worlds-biggest-3d-printing-company/
3•mikhael•14m ago•0 comments

Show HN: Clog – CLI and skill for debugging apps

https://github.com/ferrucc-io/clog/
1•0xferruccio•17m ago•0 comments

Electronics for Kids, 2nd Edition

https://nostarch.com/electronics-for-kids-2e
1•0x54MUR41•19m ago•0 comments

The Dumbing Down of Advanced Placement Tests

https://www.educationnext.org/dumbing-down-of-advanced-placement-tests-high-school-grade-inflation/
1•barry-cotter•22m ago•0 comments

Trump store is selling 'Trump 2028' hats

https://thehill.com/homenews/administration/5266019-donald-trump-store-merchandise-third-term-2028/
1•KnuthIsGod•23m ago•0 comments

The New World War

https://www.newstatesman.com/international-content/2026/03/the-new-world-war
2•d_silin•24m ago•1 comments

Being John Rawls

https://www.astralcodexten.com/p/being-john-rawls
1•jdkee•24m ago•0 comments

I Don't Drive

https://maxmautner.com/2026/03/17/why-i-do-not-drive.html
1•mslate•26m ago•0 comments

OpenClaw modular GTM Agents all free

https://marketplace-weld-alpha.vercel.app/
1•LargePanda•27m ago•0 comments

What's new in Swift: February 2026 Edition

https://www.swift.org/blog/whats-new-in-swift-february-2026/
1•Austin_Conlon•28m ago•0 comments

Talent Is Not Rare

https://tasshin.com/blog/talent-is-not-rare/
1•tasshin•28m ago•0 comments

StoryMotion – create animated explainer videos on Excalidraw whiteboard

https://storymotion.video/
1•chunza2542•29m ago•1 comments

Spectre (1977) [video]

https://archive.org/details/spectre-1977
1•petethomas•30m ago•0 comments

Interview with a 'sweating' AI CEO [video]

https://www.youtube.com/watch?v=tnYaExb5JvM
2•vismit2000•32m ago•0 comments

BullshitBench

https://petergpt.github.io/bullshit-benchmark/viewer/index.v2.html
1•jxmorris12•38m ago•0 comments

Meta Confronts Rogue AI Agents After Data Exposure

https://www.findarticles.com/meta-confronts-rogue-ai-agents-after-data-exposure/
1•tortilla•45m ago•0 comments

Can Reese's have too many pieces? The line-extension conundrum

https://www.ft.com/content/5b54115e-ff07-4063-a335-50834f6d79a3
1•petethomas•45m ago•0 comments

FreeFlow – seamless speech to text in any app

https://github.com/build-trust/freeflow/tree/main
1•glenngillen•49m ago•1 comments

Afroman wins Ohio lawsuit over music videos: 'We did it – freedom of speech '

https://www.nbcnews.com/pop-culture/pop-culture-news/afroman-sued-ohio-deputies-music-video-showi...
5•jpster•49m ago•1 comments

Meta will invest $600B in the US, focused on AI data centers

https://www.engadget.com/ai/meta-says-it-will-invest-600-billion-in-the-us-with-ai-data-centers-f...
1•mizzao•51m ago•0 comments

If you are not doing $10k per month, your problem is not what you think it is

1•shoman3003•52m ago•0 comments

No Semicolons Needed

https://terts.dev/blog/no-semicolons-needed/
2•aw1621107•53m ago•0 comments

Tiny Fish Passed an Intelligence Test That Once Distinguished Great Apes

https://www.sciencealert.com/this-tiny-fish-passed-an-intelligence-test-that-once-distinguished-g...
1•MBCook•53m ago•0 comments

New Open Source Release

1•BrainDAnderson•53m ago•0 comments

SkillNet: Create, Evaluate, and Connect AI Skills

https://arxiv.org/abs/2603.04448
1•navikohli•53m ago•0 comments

Conway's Game of Life, in real life

https://lcamtuf.substack.com/p/conways-game-of-life-in-real-life
3•surprisetalk•1h ago•0 comments