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!

Holy Git! Microsoft code-sharing site suffers downtime, despite move to Azure

https://www.theregister.com/software/2026/06/12/github-outages-persist-as-ai-coding-drives-traffi...
1•Bender•21s ago•0 comments

NHS patients can't opt out of Palantir's data platform – but their hospital can

https://www.theregister.com/databases/2026/06/13/nhs-patients-cant-opt-out-of-palantirs-data-plat...
1•Bender•57s ago•0 comments

Federal Network Agency vs. Steam: Investigation into "Plantation Simulator"

https://www.heise.de/en/news/Federal-Network-Agency-vs-Steam-Investigation-into-Plantation-Simula...
1•mschuster91•1m ago•0 comments

The Minecraft community so nostalgia blinded

1•letlearnbasic•2m ago•0 comments

How to Become an AI-Native Software Engineer? What an AI-Native Team Looks Like

https://medium.com/vibecodingpub/how-to-become-an-ai-native-software-engineer-8f4bda05e7dc
1•SaeedZF•2m ago•0 comments

Why pushback is growing against New Jersey's crazy e-bike law

https://electrek.co/2026/06/13/why-pushback-is-growing-against-new-jerseys-crazy-e-bike-law/
1•Bender•3m ago•0 comments

Vibe Coder vs. Software Engineer

https://yusufaytas.com/vibe-coder-vs-software-engineer
5•yusufaytas•3m ago•0 comments

Why can't I type and scroll at the same time?

https://scrollpods.app/blog/why-cant-i-type-and-scroll-at-the-same-time
1•tippa123•3m ago•0 comments

Researchers uncovering ADHD links to other health conditions

https://www.washingtonpost.com/wellness/2026/06/14/adhd-is-linked-chronic-pain-other-health-condi...
1•bookofjoe•5m ago•1 comments

Commanded, Meet EventSourcingDB

https://docs.eventsourcingdb.io/blog/2026/06/15/commanded-meet-eventsourcingdb/
1•goloroden•6m ago•0 comments

The Leading Deepfake Expert No Longer Trusts His Own Eyes

https://www.nytimes.com/2026/06/14/us/ai-deepfake-hany-farid.html
1•nhyun•8m ago•0 comments

How Are You Feelin.today?

https://feelin.today/
2•michalwarda•9m ago•1 comments

Show HN: Ray Hosting – Topology-aware game server orchestrator made from scratch

https://ray-hosting.com/en-US
2•bardhyliis•12m ago•0 comments

Why All the PRs?

https://idiallo.com/blog/why-all-the-prs
1•firefoxd•13m ago•0 comments

Bring Siri AI to EU iPhone Users Safely

https://siri4eu.com
4•peterspath•16m ago•0 comments

The Fertile Void

https://d.glezos.com/the-fertile-void/
1•gtzi•18m ago•0 comments

Companies are scrambling to curtail soaring AI costs

https://www.economist.com/business/2026/06/14/companies-are-scrambling-to-curtail-soaring-ai-costs
1•andsoitis•18m ago•0 comments

UK to announce Australia-style social media ban for teenagers

https://www.ft.com/content/e3b7be6f-99e7-42d2-a3bb-e400690c7bc0
1•mmarian•19m ago•1 comments

The Aeneid by Virgil (19B.C.E)

https://classics.mit.edu/Virgil/aeneid.html
1•andsoitis•21m ago•0 comments

Show HN: Pg-status – lightweight HTTP sidecar for PG master/replica discovery

https://github.com/krylosov-aa/pg-status
2•krylosov-aa•21m ago•0 comments

Claude Code Is Dead

https://claude-code-is-dead.vercel.app/
2•gidellav•21m ago•0 comments

Webxdc – Secure mini apps for chats

https://webxdc.org/
1•birdculture•28m ago•0 comments

Paul Krugman breaks down problems with SpaceX valuation [video]

https://www.youtube.com/watch?v=jqjcOs-N6a8
3•jethronethro•29m ago•0 comments

Is Musk the richest American ever now? No, except as a consumer

1•dfps•30m ago•0 comments

CoreAI_HTCE

https://github.com/miroaleksej/CoreAI_HTCE
1•CoreAi_HTCE•31m ago•0 comments

From AGI to ASI

https://arxiv.org/abs/2606.12683
1•artninja1988•35m ago•0 comments

Pilot and 11 skydiving passengers killed in Missouri plane crash

https://www.theguardian.com/us-news/2026/jun/14/butler-missouri-plane-crash
2•sva_•39m ago•0 comments

How to Build a Phyle

https://lasindias.net/indianopedia/How_to_build_a_phyle
1•rwl•41m ago•0 comments

What does high effort mean when AI has made everything low effort?

2•foxtrot8672•42m ago•2 comments

I built a free tool that tells you if an LLM will run on your GPU

https://www.slopesome.com
1•NexAIGuy•42m ago•0 comments