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

A populist wave is rising to end the 'captive' repair economy

https://www.cnbc.com/2026/04/25/right-to-repair-consumer-prices-affordability-economy-elections.html
1•pseudolus•3m ago•0 comments

The 'smart wall' the US is building on the border

https://english.elpais.com/usa/2026-04-26/reinforced-walls-and-detection-technology-the-smart-wal...
1•geox•5m ago•0 comments

Ask HN: Has Claude Opus 4.7 nerfed?

1•souravroy78•5m ago•0 comments

Getting Started [with Retro Computing]

https://smallcomputercentral.com/articles/getting-started/
1•AlexeyBrin•6m ago•0 comments

Claude Code Hooks Reference

https://code.claude.com/docs/en/hooks
1•firasd•8m ago•0 comments

Two runners finish marathon in under 2 hours, a world first

https://www.dw.com/en/sawe-smashes-2-hour-mark-setting-record-at-london-marathon/a-76943171
1•keiferski•8m ago•0 comments

1B in, 20B out. Apple stays out of the war

https://alphasense.cc/signals/apple-ai/
1•langtang1996•11m ago•1 comments

Documented source code for The Sentinel on the BBC Micro

https://thesentinel.bbcelite.com
1•jimmcslim•11m ago•1 comments

The Half-Life of a Moat (Part 1)

https://semistructured.substack.com/p/the-half-life-of-a-moat-part-1
1•kmdupree•13m ago•0 comments

A 17th Century astrolabe once owned by Indian royalty heads for auction

https://www.bbc.com/news/articles/c8x7kw9lp8do
1•breve•14m ago•0 comments

Thoughts about Moments in Claude Mythos System Card

https://old.reddit.com/r/BetterOffline/comments/1sgxc77/thoughts_about_strange_moments_in_claude_...
1•kmdupree•14m ago•0 comments

EsoBench: Learning a Novel Esolang via Iterative Execution Feedback

https://caseys-evals.com/esobench
1•kmdupree•15m ago•0 comments

'I know what I saw' – Scotland's history of big cat sightings

https://www.bbc.com/news/articles/cdxk5525792o
1•breve•16m ago•0 comments

This is How We Get Moral A.I. Companies

https://www.nytimes.com/2026/04/26/opinion/ai-company-good-altruism.html
1•trauco•16m ago•0 comments

Trace Codex Session Easily

https://github.com/PixelPaw-Labs/codex-trace
1•ywian•20m ago•0 comments

Show HN: Ctxbrew – Ship and Use LLM-friendly library context

https://github.com/artem-mangilev/ctxbrew
1•mangilev•20m ago•0 comments

Is it worth parallelizing your GitLab/GitHub pipeline? (Not yet another AI post)

https://softwareefficiency.wordpress.com/2026/04/26/is-it-worth-parallelizing-your-gitlab-github-...
1•denshadeds•22m ago•1 comments

Tosijs-UI's new composable icon system

https://loewald.com/blog/2026/4/26/tosijs-icon-system
1•podperson•27m ago•1 comments

Is Fahrenheit 451 becoming relevant again?

https://kevinboone.me/fahrenheit451.html
2•AlexeyBrin•29m ago•1 comments

Beyond Silicon: Materials, Mechanisms, and Methods for Physical Neural Computing

https://arxiv.org/abs/2604.09833
1•Jazgot•30m ago•1 comments

San Francisco Is Going Nuts over a Giant Sea Lion Named Chonkers

https://www.wsj.com/lifestyle/san-francisco-sea-lion-pier-39-chonkers-145628c0
1•reaperducer•32m ago•0 comments

Quadro – Our Story

https://quadroshop.co.uk/pages/our-story
1•nmstoker•33m ago•1 comments

Fluendora: The Realm of Scribes

https://fluendora.com
1•lizzrikGames•35m ago•1 comments

Self-hosted S3 after MinIO: lightweight alternatives for 2026

https://productimpossible.com/articles/self-hosted-s3-after-minio/
1•sebakubisz•36m ago•0 comments

Verantyx – A native IDE that obfuscates code before sending it to Cloud LLMs

https://github.com/Ag3497120/verantyx
1•kofdai•38m ago•0 comments

My site "Works on My Machine" didn't work on my machine for two days

https://worksonmymachine.io/posts/001-this-site/
1•mcpoowl•38m ago•0 comments

Anatomy of a Throttler

https://planetscale.com/blog/anatomy-of-a-throttler-part-3
1•theorchid•38m ago•0 comments

Exact TSP from Scratch

https://gist.github.com/nilanjankarmakar51-glitch/27ca60cf793cd5e4f64af19fdc5d2345
1•logicmagic•39m ago•0 comments

I stopped building onboarding and built AI infrastructure instead

https://www.indiehackers.com/post/i-stopped-building-onboarding-and-built-ai-instead-0VMigrTEwai1...
1•stangineer•43m ago•0 comments

Project Iceworm (1959)

https://en.wikipedia.org/wiki/Project_Iceworm
1•AgentNews•50m ago•0 comments