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 History of Software Publishing Corporation

https://www.computerchronicles.blog/transcript-a-history-of-software-publishing-corporation/
1•arbayi•1m ago•0 comments

ATProto Permissioned Data Proposal Draft

https://github.com/bluesky-social/proposals/pull/94
2•danabramov•1m ago•0 comments

A modern CLI for Java projects

https://github.com/sachahjkl/jav
1•sachahjkl•2m ago•1 comments

I automated my job (and it made me a better leader)

https://github.blog/developer-skills/github/i-automated-my-job-and-it-made-me-a-better-leader/
2•chmaynard•3m ago•0 comments

Linux Foundation Is Pursuing Trusted Identity Infrastructure for AI Agents

https://www.linuxfoundation.org/press/linux-foundation-announces-intent-to-launch-agent-name-serv...
1•agulaya24•3m ago•0 comments

How to find AI-conservative companies to work for?

1•tossitawayplz•5m ago•1 comments

German Rail Service Suspended Due to Radio Interference

https://www.bluewin.ch/en/news/german-rail-service-suspended-due-to-radio-interference-li.3295297
10•sva_•11m ago•0 comments

Old Man's Journey

https://store.steampowered.com/app/581270/Old_Mans_Journey/
1•doener•12m ago•0 comments

All train services in Germany halted after train radio communications disruption

https://english.news.cn/20260624/65f1b6192cd947e28849776a5aef05c6/c.html
15•sva_•16m ago•3 comments

Lobu: Build AI teammates that watch and act

https://lobu.ai/
1•handfuloflight•19m ago•0 comments

Expert-aware quantisation: near-Q4 quality at near-Q2 size?

https://martinalderson.com/posts/expert-aware-quantisation/
1•martinald•19m ago•0 comments

How to Increase Your Luck Surface Area (2010)

https://www.codusoperandi.com/posts/increasing-your-luck-surface-area
2•chistev•20m ago•0 comments

No AI Co-Authors. A Manifesto

https://no-ai-coauthors.dev
7•zethraeus•21m ago•3 comments

Key activities for sustainable engineering team

https://blog.incrementalforgetting.tech/p/key-activities-for-sustainable-engineering
2•mooreds•21m ago•0 comments

Closing the Loop: What to Do After a Design Critique Ends

https://www.nngroup.com/articles/after-design-critique/
1•mooreds•21m ago•0 comments

Pg_graphwright: A Postgres knowledge-graph index that inherits row-level-SEC

https://github.com/hoofader/pg_graphwright
2•hoofader•22m ago•0 comments

A new novel parser architecture is being put into Oxc (Reported 2-3x Speedup)

https://twitter.com/boshen_c/status/2069379302987014616
1•wseagar•26m ago•0 comments

Memiry Check-In Agents

https://memiry.com
1•sammykao•26m ago•0 comments

Svoxx.com

https://svoxx.com/int/en
1•kilincarslan•27m ago•1 comments

Brussels Clears €76M German Chip Subsidy for Munich

https://fivetakes.news/eu-approves-76-million-german-state-aid-for-quantumdiamonds-gmbhs-munich-s...
1•mmeirovich•28m ago•0 comments

4 years as a content writer working with AI

https://www.getibex.com/blog/4-years-as-a-content-writer-working-with-ai
1•f3b5•28m ago•1 comments

When is an AI agent's approval prompt a security boundary?

https://gist.github.com/NikosRig/b4330ceb780fe22bf3c14f38d7d90795
1•nrig•29m ago•0 comments

Halvar's Guide to Entrepreneurship

https://thomasdullien.github.io/guides/entrepreneurship/
1•Darkstryder•29m ago•0 comments

Visualizing multi-dimensional array shapes recursively

https://arrayvis.netlify.app/
1•biraj-rocks•30m ago•1 comments

Anthropic gives Claude a permanent seat in your Slack channels

https://thenewstack.io/anthropic-claude-tag-slack/
1•r_singh•31m ago•1 comments

SovietRxiv: Rediscovering the Soviet scientific archive, in English

https://sovietrxiv.org
1•SUPERustam•33m ago•0 comments

UN commission of inquiry says Israel committing genocide by targeting children

https://www.bbc.com/news/articles/c0jy96w6pw2o
3•lorecore•33m ago•3 comments

New car registrations: +4% year-to-date; battery-electric 20% market share [pdf]

https://www.acea.auto/files/Press_release_car_registrations_May_2026.pdf
1•haunter•33m ago•1 comments

Quartz Crystals: The Heartbeat of Our Digital World

https://www.arkcrystals.com/blogs/articles/quartz-crystals-the-heartbeat-of-our-digital-world
1•andrewstuart•34m ago•0 comments

Show HN: Foundation models that predict patient response in clinical trials

https://atlasdiscovery.bio/clinical-trial-response-prediction
1•shaamilkarim•36m ago•0 comments