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!

Cursor users must consent to data collection in order to use Fable 5

https://cursor.com/docs/models/claude-fable-5
1•__natty__•3m ago•1 comments

DMR effect on drag reduction of a streamlined body

https://www.cambridge.org/core/journals/journal-of-fluid-mechanics/article/dmr-effect-on-drag-red...
1•deadbishop•4m ago•0 comments

Show HN: CLI for self-hosted Invoice Ninja

https://github.com/DrDBanner/inmanage
1•ycomrsys•5m ago•1 comments

They're Made Out of Compute

https://magzimof.com/made-out-of-compute/
1•shaimagz•8m ago•0 comments

High-severity vulnerability in Linux caused by a single faulty character

https://arstechnica.com/security/2026/06/a-single-errant-character-in-the-linux-kernel-allows-att...
1•joozio•9m ago•0 comments

Is symbolic AI more relevant than ever?

https://www.heise.de/en/blog/Is-symbolic-AI-more-relevant-than-ever-11323023.html
2•goloroden•16m ago•0 comments

Can tech companies learn to love cheaper AI models?

https://techcrunch.com/2026/06/09/can-tech-companies-learn-to-love-cheaper-models/
2•parveshblogger•17m ago•0 comments

Tell HN: TIL Apple is rewriting core things in Swift

2•gigatexal•18m ago•0 comments

iOS 27 features we didn't see onstage

https://techcrunch.com/2026/06/09/ios-27-features-we-didnt-see-on-stage/
1•ameypandey•19m ago•0 comments

Turn any PDF or article into a podcast episode

https://manateavagner.com/news/podcasts-pdf-to-episode
1•manateavagner•19m ago•0 comments

Ofarwise – a local Windows app for interview prep and mock practice

https://www.ofarwise.com/
1•hallengray•20m ago•0 comments

BlenderHunt, an Indie Marketplace for Blender Creators

https://blenderhunt.com/
1•egretfx•21m ago•0 comments

Don't mop the floor. Fix the leaky faucet

https://blog.br11k.dev/2026-06-02-dont-mop-the-floor-fix-the-leaky-faucet
1•konovalov-nk•21m ago•1 comments

Show HN: Frhog

https://www.frhog.com/?hn
1•krm01•22m ago•0 comments

WSP WordPress MCP – Connect AI Coding Agents to WordPress

https://github.com/bilalnaseer/wsp-wordpress-mcp
1•ibrarmaikah•25m ago•0 comments

Why the Supreme Court Is Debating Which Founding Fathers Were Drunks

https://www.wsj.com/us-news/law/supreme-court-session-cases-originalism-birthright-citizenship-se...
1•JumpCrisscross•26m ago•0 comments

Pelican on a Bicycle: Claude Fable 5 vs. GPT-5.5 Pro vs. Gemini 3.1 Pro

https://www.promptfrenzy.com/showdown/svg-pelican
1•spobin•26m ago•0 comments

Choice: Nextcloud Office Powered by Collabora or Euro-Office

https://nextcloud.com/blog/nextcloud-hub26-spring/
1•teekert•27m ago•0 comments

Eight Myths on Software Engineering and GenAI

https://spawn-queue.acm.org/doi/10.1145/3807963
1•RyeCombinator•31m ago•0 comments

Emacs Appearances in Pop Culture

https://ianyepan.github.io/posts/emacs-in-pop-culture/
1•ggcr•36m ago•0 comments

Inferoa AI harness claimed 90% cache savings. We ran it and measured 97.8%

https://zozo123.github.io/inferoa-demo/
1•zozo123-IB•36m ago•0 comments

TvOS 27: Apple Music Gains Hi-Res Lossless Audio on Apple TV 4K

https://www.macrumors.com/2026/06/10/tvos-27-apple-music-hi-res-lossless-audio-apple-tv/
1•tosh•37m ago•0 comments

How the Other Half Counts: Planner Statistics in Oracle, Db2, MySQL, SQLite

https://thebuild.com/blog/how-the-other-half-counts/
1•pgedge_postgres•38m ago•0 comments

Show HN: Impress your boss with interactive Decision Tree Visualization

https://github.com/mljar/supertree
2•pplonski86•39m ago•0 comments

Stop Gmail from Blocking Your Domain Emails – SPF, DKIM and DMARC Setup

https://mysevenstars.com/articles/email-authentication-guide.html
2•mssblogs•39m ago•4 comments

How to build a cancer vaccine, and whether they will work this time

https://www.owlposting.com/p/how-to-build-a-cancer-vaccine-and
1•yorwba•40m ago•0 comments

NASA Marches Toward Artemis III Mission in 2027, Names Crew Members

https://www.nasa.gov/news-release/nasa-marches-toward-artemis-iii-mission-in-2027-names-crew-memb...
1•noworld•42m ago•0 comments

Beyond Protectionism: Why EU should put up trade barriers against Chinese goods

https://www.noahpinion.blog/p/why-europe-should-put-up-trade-barriers
2•throw0101a•43m ago•1 comments

Show HN: A tool to analyze and manage sosreports

https://sos-vault.com/login
1•jlrueda•46m ago•0 comments

Open System Firmware: Experiences deploying LinuxBoot, coreboot at Google (2021) [video]

https://www.youtube.com/watch?v=xsikf8JzQyU
2•peter_d_sherman•46m ago•1 comments