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!

Show HN: A proof-of-concept formalization of the IRS federal tax forms

https://github.com/emmilco/us-tax-model
2•RGS1811•3m ago•0 comments

Node 26 Released (LTS)

https://nodejs.org/en/blog/release/v26.13.0
1•philippz•3m ago•0 comments

Low Vision Music

https://www.lowvisionmusic.info/
1•gregsadetsky•4m ago•0 comments

Agent Memory Is in the Wrong Place

https://www.omnara.com/blog/agent-memory-is-in-the-wrong-place
4•asherdale1•4m ago•0 comments

The Map Is Not the Territory

https://fs.blog/map-and-territory/
1•hahahacorn•4m ago•1 comments

noalloc: Tooling and libraries to enforce zero heap allocations in Golang

https://github.com/theconsensuslabs/noalloc
1•g0xA52A2A•5m ago•0 comments

Agents vs. Ecommerce

https://pluralistic.net/2026/10/28/principle-agent-problem/
1•hn_acker•5m ago•0 comments

Social Media When Elections Are Close: Doing the Impossible Better

https://www.eff.org/deeplinks/2026/10/social-media-when-elections-are-close-doing-impossible-better
2•hn_acker•7m ago•0 comments

Multiplayer Version of Snake

https://wavedash.com/games/snake-online
1•dailygametree•9m ago•0 comments

Infinite Search Space: optimization contests, back after 13 years

https://infinitesearchspace.com/
1•nibzomatic•12m ago•0 comments

I made my own Roblox game

https://www.roblox.com/?rbx_source=appsflyer&rbx_medium=cpa&rbx_campaign=onelink&deep_link_value=...
1•mikehoh•13m ago•0 comments

Apple Mac Studio M5 Ultra with 512gb

https://www.apple.com/us-edu/shop/buy-mac/mac-studio
1•gist•13m ago•0 comments

GitHub Copilot Fusion

https://github.blog/changelog/2026-10-28-route-and-orchestrate-models-with-github-copilot-fusion/
1•theanonymousone•14m ago•0 comments

Astronomers found a mysterious object beyond Neptune, could be new dwarf planet

https://www.space.com/astronomy/dwarf-planets/astronomers-found-a-mysterious-object-beyond-neptun...
2•pseudolus•14m ago•1 comments

IFTTT Is Now IFTTT.ai

https://ifttt.ai/
3•jonbaer•14m ago•1 comments

Rustext: A native GUI/TUI text editor in pure Rust with zero dependencies

https://github.com/boleklolek/rustext
2•boleklolek•15m ago•0 comments

Region: A Lesson in Data Integrity

https://mydbanotebook.org/posts/region-a-lesson-in-data-integrity/
1•hosteur•16m ago•0 comments

Musk accuses Ukraine of violating Starlink terms with deadly drone strikes

https://arstechnica.com/tech-policy/2026/10/musk-accuses-ukraine-of-violating-starlink-terms-with...
2•rbanffy•17m ago•0 comments

C# and NATS.io for agentic AI orchestration

https://nats.io/blog/nats-native-protocol-for-ai-agents/
1•northlondoner•18m ago•1 comments

The Evolving Landscape of Venture Capital Mindsets

https://twitter.com/martin_casado/status/2115474230511030475
1•porridgeraisin•18m ago•0 comments

What a 50-year-old tractor taught me about UX

https://evergreendesign.io/essays/just-in-time-help/
1•violinar•20m ago•0 comments

Homebrew Git updated away from macOS's system cURL

https://github.com/Homebrew/homebrew-core/pull/321878
1•ungawatkt•20m ago•1 comments

GPT-6.1 Sol Beats Final Fantasy VII

https://www.twitch.tv/videos/2912639349
2•transportgo•21m ago•1 comments

Ask HN: What happened to our collective ethos?

2•nativeit•22m ago•1 comments

Powerful Dem trio demands faster AI incident disclosures

https://www.politico.com/live-updates/2026/10/28/congress/powerful-dem-trio-demands-faster-ai-inc...
1•node_runner•24m ago•1 comments

EU dropping associate membership title for its closer alliance with Canada

https://www.cbc.ca/news/politics/european-union-canada-associate-member-9.7399578
2•wmchen•25m ago•0 comments

Em Dashes and Armbands

https://medium.com/@pheverdotexe/em-dashes-and-armbands-eefd2f2c1a48
2•Pheverdotexe•25m ago•0 comments

Show HN: Gitby

https://gitby.dev
2•gitby•26m ago•0 comments

Scaling Hierarchical Networks

https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1
1•guybedo•26m ago•0 comments

Writing GPU kernels in Rust: how I made speakrs 60× faster than pyannote

https://avencera.com/blog/writing-gpu-kernels-in-rust-speakrs-60x-faster-than-pyannote
2•praveenperera•26m ago•0 comments