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!

Google is killing Google Assistant next month

https://www.neowin.net/news/another-one-bites-the-dust-google-is-finally-killing-google-assistant...
1•bundie•36s ago•0 comments

Offensive Internet Posture

https://bruceediger.com/posts/offensive-machine/
2•DaOne256•57s ago•1 comments

Batteries are getting cheaper while gas gets pricier. Here's why

https://theconversation.com/batteries-are-getting-cheaper-while-gas-gets-pricier-heres-why-287956
2•epistasis•1m ago•0 comments

Wikipedia: AI or Not Quiz

https://en.wikipedia.org/wiki/Wikipedia:AI_or_not_quiz
1•hiccuphippo•1m ago•0 comments

Show HN: HUD, an open-source minimal terminal UI for ClaudeCode, Codex, OpenCode

https://github.com/adrida/hud-mode
1•adam_rida•1m ago•1 comments

Jellyware

https://twitter.com/thorstenball/status/2085017920782877041
1•tosh•2m ago•0 comments

Desktop Touch ID sensor for $20 [video]

https://www.youtube.com/watch?v=tB3lk-PNA6I
1•androng•3m ago•1 comments

What went wrong with data lakes? A 15-year reality check

https://arxiv.org/abs/2606.08266
2•alvis•3m ago•0 comments

Ghosthub: Tmux/SSH-native macOS terminal based on libghostty

https://ghosthub.ai/
1•wesm•4m ago•0 comments

See the Sun like never before with most detailed images yet

https://www.bbc.com/news/articles/c36d4376nd2o
2•neversaydie•4m ago•0 comments

She Believed Big Tech Could Change the World. Just Not for the Worse.

https://www.nytimes.com/2026/08/04/books/review/dont-be-evil-claire-stapleton.html
1•mitchbob•5m ago•1 comments

AI agents can't yet do open-ended AI research

https://www.normaltech.ai/p/ai-agents-cant-yet-do-open-ended
1•randomwalker•6m ago•0 comments

The next 50 years: humanity, AI, power

https://www.youtube.com/watch?v=_V_ed5fuexA
1•irln•7m ago•0 comments

Show HN: XBin – The app workspace you rewrite from inside

https://xbin.dev/
1•devttyeu•9m ago•0 comments

Stochastic parrot or not, it is less of a turkey than the colleague 2 desks over [pdf]

https://link.springer.com/content/pdf/10.1007/s00146-026-03095-6.pdf
1•alphadelphi•10m ago•0 comments

TP-Link patches Omada ZTP flaws allowing hackers to breach networks

https://www.bleepingcomputer.com/news/security/tp-link-patches-omada-ztp-flaws-allowing-hackers-t...
1•Brajeshwar•10m ago•0 comments

Hark Handoff

https://hark.com/articles/introducing-hark-handoff
1•lairv•11m ago•0 comments

BrooklynVegan, Alt Press Hit with Mass Layoffs

https://pitchfork.com/story/brooklynvegan-alt-press-hit-with-mass-layoffs/
2•cdrnsf•12m ago•0 comments

Fed's Kashkari says 'now is the time to start slowly moving' rates up

https://www.cnbc.com/2026/08/05/feds-kashkari-says-now-is-the-time-to-start-slowly-moving-rates-u...
5•mapping365•13m ago•0 comments

MorphIcons

https://www.morphicons.com
1•linolevan•14m ago•0 comments

Monitors for Work

https://etbe.coker.com.au/2026/08/05/monitors-for-work/
1•edward•15m ago•0 comments

Year follow-up on buying pandemic stock dip and AI reallocation

https://gmays.com/4-year-follow-up-on-buying-pandemic-stock-dip-ai-reallocation/
1•speckx•15m ago•0 comments

Meta Backs Off Sloppy Gambit to Nickel-and-Dime AI Glasses Customers

https://www.techdirt.com/2026/08/05/meta-backs-off-sloppy-gambit-to-nickel-and-dime-ai-glasses-cu...
1•hn_acker•15m ago•0 comments

Why a VC passing on your deal usually has nothing to do with your deck

https://readonpaper.substack.com/p/its-not-you-its-me
1•mondesai•15m ago•0 comments

Should you use AI for a task? Here's a simple way to decide

https://www.theguardian.com/commentisfree/2026/jul/24/should-you-use-ai
1•bookofjoe•15m ago•0 comments

The "mechanical miracle" that ruined Mark Twain's life

https://resobscura.substack.com/p/the-mechanical-miracle-that-ruined
1•benbreen•15m ago•0 comments

Coming to a county near you: A data center moratorium

https://www.eenews.net/articles/coming-to-a-county-near-you-a-data-center-moratorium/
1•mapping365•16m ago•0 comments

The Valley of Webhooks

https://weli.dev/blog/the-valley-of-webhooks/
1•weli•16m ago•0 comments

Committing to Creativity

https://herman.bearblog.dev/creativity/
2•zazuke•16m ago•0 comments

TencentDB Agent Memory: A team-level memory hub for AI agents

https://github.com/TencentCloud/TencentDB-Agent-Memory
1•opwizardx•17m ago•0 comments