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 Deep Dive into Spyro 3's Antipiracy

https://www.tumblr.com/hwd405/814911172694425600/a-deep-dive-into-spyro-3s-antipiracy
1•ndiddy•13s ago•0 comments

Ukraine Has Picked Up the Torch America Dropped

https://www.nytimes.com/2026/04/26/opinion/zelensky-ukraine-trump-nato-leader.html
3•mitchbob•3m ago•1 comments

A tool to understand German government letters (for expats)

https://aplet.app/
2•mucite•3m ago•0 comments

Why are top university websites serving porn? It comes down to shoddy housekeep

https://arstechnica.com/security/2026/04/why-are-top-university-websites-serving-porn-it-comes-do...
2•joozio•6m ago•0 comments

Abort, Retry, No Thanks

https://unsung.aresluna.org/abort-retry-no-thanks/
2•wilkystyle•6m ago•0 comments

Rewrote My Blog with Zine

https://drewdevault.com/blog/Rewrite-with-zine/
2•xngbuilds•7m ago•0 comments

How to build expertise while using Claude Code

https://github.com/DrCatHicks/learning-opportunities
3•flawn•11m ago•1 comments

A Polish Influencer Beat MrBeast's Charity Guinness Record

https://twocontinents.com/pl/blog/nine-days-one-song-a-world-record-how-a-polish-influencer-beat-...
2•__natty__•13m ago•0 comments

Ask HN: Which is Better–Android or iOS?

4•wasimsk•16m ago•2 comments

Conspiracy Theories Are Everywhere Following WH Correspondents' Dinner Shooting

https://www.wired.com/story/staged-conspiracy-theories-are-everywhere-following-white-house-corre...
2•embedding-shape•18m ago•0 comments

Show HN: WaveletLM – wavelet-based, attention-free model with O(n log n) scaling

https://github.com/ramongougis/WaveletLM
1•anarmorarm•20m ago•0 comments

Taking Credit for the Idea

https://jonpauluritis.com/articles/taking-credit-for-the-idea/
1•jppope•23m ago•0 comments

Maine's governor vetoes data center moratorium

https://techcrunch.com/2026/04/25/maines-governor-vetoes-data-center-moratorium/
3•Brajeshwar•26m ago•0 comments

Sabastian Sawe smashes two-hour barrier in marathon's Roger Bannister moment

https://www.telegraph.co.uk/athletics/2026/04/26/london-marathon-2026-live-latest-updates-results...
2•thunderbong•27m ago•1 comments

Removing the AUICGP instruction from CHERIoT RISC V

https://cheriot.org/isa/toolchain/2026/03/23/removing-auicgp.html
2•fanf2•27m ago•0 comments

Does AI still feel like too much work to you?

2•GavinRatta•29m ago•0 comments

AI made writing code fast. Understanding it is still slow

https://vibinex.com/blog/engineering/understanding-code-changes
3•avikalp•30m ago•0 comments

FLUX.2 Klein – How Inference Works

https://medium.com/@geronimo7/flux-2-klein-how-inference-works-05553fcdbe7e
2•g58892881•31m ago•0 comments

The disappearing AI middle class

https://thenewstack.io/disappearing-ai-middle-class/
2•nick217•31m ago•0 comments

Palantir's Alex Karp: Technological Republic, in Brief

https://twitter.com/PalantirTech/status/2045574398573453312
5•simonebrunozzi•36m ago•1 comments

OpenCode-power-pack – Claude Code skills ported to OpenCode

https://github.com/waybarrios/opencode-power-pack
2•waybarrios•37m ago•0 comments

Interaction Nets and Hardware

https://tendrils.co/background
12•nilscrm•37m ago•4 comments

AI doom warnings are getting louder. Are they realistic?

https://www.nature.com/articles/d41586-026-01257-6?WT.ec_id=NATURE-20260423&utm_source=nature_eto...
3•Anon84•37m ago•2 comments

Show HN: realistic_blas: Exact infinite-precision LA, useful errs, f64 fast path

https://github.com/timschmidt/realistic_blas
1•timschmidt•39m ago•0 comments

SensibleJS – Reactive UI in ~10KB with Plain HTML Attributes

https://github.com/ricardoaponte/sensiblejs
2•ricardoaponte•40m ago•0 comments

Show HN: iOS app that visualizes your brainrot

https://apps.apple.com/us/app/oh-my-hours/id6760450002
3•jarko27•40m ago•0 comments

If more than 50% press blue, everyone survives. Red pressers always survive

https://shankwiler.com/posts/button-survival-hypothetical/
2•iuvcaw•40m ago•2 comments

My brave new code-signing world

https://nullprogram.com/blog/2026/04/25/
2•ibobev•41m ago•0 comments

The Beijing Auto Show is a glimpse at the future of the auto industry

https://electrek.co/2026/04/26/beijing-auto-show-2026-insane-glimpse-future-auto-industry/
2•dabinat•41m ago•0 comments

Primus Projection: Estimate Memory and Performance Before You Train

https://rocm.blogs.amd.com/software-tools-optimization/primus-projection/README.html
2•matt_d•43m ago•0 comments