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!

A byte-matching decompilation and port of both "Ultima Underworld" games

https://github.com/abedegno/underworld-exhumed
1•s-macke•18s ago•0 comments

Crafting Targeted MP4 Fuzzers

https://atredis.com/blog/2026/11/16/crafting-targeted-mp4-fuzzers/
1•frostbyte7•2m ago•0 comments

Funkycache: A Python library to cache functions in SQLite

https://alexwlchan.net/2026/funkycache/
1•ingve•3m ago•0 comments

Threats, Insults, Settlements: How Jensen Huang Made Humiliation Routine

https://www.nytimes.com/2026/11/20/technology/jensen-huang-nvidia-culture.html
1•cainxinth•4m ago•0 comments

Apple Working on Own AI Agent to Rival OAI and Ant

https://www.bloomberg.com/news/articles/2026-11-19/apple-is-working-on-ai-agent-for-device-contro...
1•askadityapandey•5m ago•0 comments

Red Queen Hypothesis

https://en.wikipedia.org/wiki/Red_Queen_hypothesis
1•vismit2000•10m ago•0 comments

Ask HN: How do indie developers test their tools on Mac, without owning one

1•skye0110•10m ago•0 comments

Signal is blocking Gemini and Siri AI from reading your screen

https://www.theverge.com/ai-artificial-intelligence/1038390/signal-blocking-ai-agent-screenshots-...
1•cdrnsf•11m ago•1 comments

PdfCraft: An open-source PDF reader and editor written from scratch in pure Rust

https://github.com/storytold/pdfcraft
2•vismit2000•11m ago•0 comments

IMAP Is Indeed Complicated

https://raphting.dev/imap-is-indeed-complicated/
1•fanf2•12m ago•0 comments

If you stop writing code, you also get worse at reviewing it

https://cekrem.github.io/posts/if-you-stop-writing-code-you-also-get-worse-at-reviewing-it/
3•theanonymousone•12m ago•0 comments

Show HN: DynoCap disposable Linux VMs for agents on macOS

https://github.com/baires/dynocap
2•bairess•12m ago•0 comments

UK govt can't keep encryption-busting order to Apple a secret, tribunal rules

https://www.theregister.com/security/2026/11/20/uk-government-cant-keep-its-encryption-busting-or...
3•nephihaha•14m ago•0 comments

Field Mice on Drugs

https://ambrook.com/offrange/livestock/field-mice-on-drugs
1•surprisetalk•14m ago•0 comments

Parfait: Alternative Bluesky client with tabs and alt accounts

https://tangled.org/juliet.paris/parfait
1•nerdypepper•15m ago•0 comments

A Society of AI Scientists

https://www.alphaxiv.org/abs/2611.society-ai-scientists
2•theanonymousone•15m ago•0 comments

Ask HN: Any actual balanced reviews of GTA 6?

2•tetris11•17m ago•0 comments

Bedrock – Kubernetes on bare metal with a TLA+ checked Postgres failover

https://bedrockctl.com/
1•sassendes•18m ago•0 comments

Emily Dickinson and the mystery of the mind "The Brain–is wider than the Sky–"

https://blue-continuum.com/the-brain-is-wider-than-the-sky
1•dnetesn•23m ago•0 comments

Omnidiff – Fast, robust, accurate content-aware diffing also for binaries

https://ivankovic.github.io/omnidiff/showcase/?case=pdf-x-governikus-ausweisapp-522d8b0b-communic...
1•amai•24m ago•1 comments

Making an OS From Scratch: Bootstrapping the dev loop

https://www.timdbg.com/posts/dbgos/
1•ingve•28m ago•0 comments

Show HN: CompMD – Markdown with components that still reads as plain Markdown

https://compmd.dev
1•hakanserce•29m ago•0 comments

Notice regarding DeepSeek/DeepSeek-v4.1-flash

https://primeintellect.one/security/advisories/deepseek-v4-1-flash-model-substitution
2•donohoe•29m ago•0 comments

Neutral Atom Quantum Computer

https://en.wikipedia.org/wiki/Neutral_atom_quantum_computer
1•cainxinth•30m ago•0 comments

BugStage

https://bugstage.dev/
1•benstigsen•30m ago•1 comments

Hubble's Nebulae

https://science.nasa.gov/gallery/hubbles-nebulae/
1•thunderbong•31m ago•0 comments

Changes in my experience after 2 years of meditation practice

https://nintil.com/meditation-changes/
1•surprisetalk•34m ago•0 comments

JackCityII: Neon Bay Havoc

https://do360now.itch.io/jackcity-neon-bay
1•HelloAi•34m ago•0 comments

Epic Games Turns to AI Coding for the Unreal Engine

https://spectrum.ieee.org/epic-games-unreal-engine-ai
2•rbanffy•37m ago•0 comments

The Many Ways to End a C++ Program

https://www.sandordargo.com/blog/2026/11/18/ways-to-end-a-cpp-program
1•ingve•39m ago•0 comments