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!

The Most Useless ASIC

https://essenceia.github.io/projects/until_heat_death_do_us_part/
1•random__duck•1m ago•0 comments

Setting up Webmentions on my Static Site

https://www.alexhyett.com/newsletter/setting-up-webmentions-on-my-static-site/
1•speckx•2m ago•0 comments

Ovaries Appear to Develop a Second Role After Menopause

https://www.sciencealert.com/ovaries-appear-to-develop-an-incredible-second-role-after-menopause
1•croes•3m ago•0 comments

What's slowing down the AI buildout

https://www.worksinprogress.news/p/ai-is-bottlenecked-by-the-grid
1•gmays•3m ago•0 comments

Broadcom secures role as key Apple supplier with chip deal through 2031

https://www.reuters.com/technology/broadcom-apple-extend-chip-partnership-through-2031-2026-07-06/
1•mgh2•3m ago•0 comments

Serving a 1T open model at 511 tok.s single-stream, lossless, on four B200s

https://brainsless.com/the-decoding-step.html
2•alsufiman•5m ago•0 comments

Anthropic: A global workspace in language models

https://twitter.com/AnthropicAI/status/2074185348142280912
2•tosh•5m ago•0 comments

I built a safety shield for AI agents that intercepts dangerous commands

https://github.com/Thomaszhou22/danger-guard-skill
1•Thomas_Zhou•9m ago•0 comments

Revieve – AI Product Engineer

https://www.revieve.com/job-board
1•seharetimad•11m ago•1 comments

A 2-bit balanced ternary ALU simulation with built-in thermal shutdown (PoC)

https://github.com/st6719/TernaryBreath
1•st6719•12m ago•0 comments

CoMaps – FOSS Offline Maps

https://www.comaps.app/
2•basilikum•15m ago•0 comments

Economies Thrive with Older, Smaller Population, New Study Finds

https://www.bloomberg.com/news/articles/2026-07-06/economies-thrive-with-older-smaller-population...
3•garbawarb•15m ago•1 comments

GitHub Under Siege

https://jerodsanto.net/2026/06/github-under-siege/
1•mooreds•16m ago•0 comments

The first agentic reverse engineer

https://github.com/amruth-sn/kong
1•ishqdehlvi•17m ago•0 comments

Show HN: Dynpipe – Easy Web and CLI P2P transfer tool using simple word codes

https://dynpipe.com
1•eric_pro•17m ago•0 comments

Do We Have Fable? Claude Fable 5 Subscription Status

https://dowehavefable.com/
2•routelastresort•17m ago•1 comments

Is OAuth for Authentication or Authorization?

https://fusionauth.io/articles/oauth/why-no-authentication-in-oauth
2•mooreds•18m ago•0 comments

How-To Detach a Forked Repo (2025)

https://chrisdemars.net/blog/how-to-detach-a-forked-repo/
1•mooreds•18m ago•0 comments

Babies should not use screens at all in the first two years, major review finds

https://www.euronews.com/health/2026/07/02/babies-should-not-use-screens-at-all-in-the-first-two-...
5•Markoff•20m ago•0 comments

Show HN: Arda Translate, free private on-device (iOS) translation

https://apps.apple.com/us/app/arda-translate/id6778970560
1•cjjuice•20m ago•1 comments

Ask HN: What is the best version of full Linux in the browser?

1•smalltorch•21m ago•1 comments

Show HN: An interactive, interlinked city exploration project (St. Louis)

https://stlouing.com/
2•stlouing•23m ago•0 comments

Deploying Python serverless functions to Scaleway

https://codeberg.org/soup-dev/scaleway-serverless-python
1•MirceaOprea•24m ago•1 comments

Januscape: Guest-to-Host Escape in KVM/x86 (CVE-2026-53359)

https://openwall.com/lists/oss-security/2026/07/06/7
1•aberoham•26m ago•0 comments

Why 3D TVs failed and the trouble with 3D in Hollywood

https://www.engadget.com/2206391/why-3d-tvs-failed/
4•bookofjoe•29m ago•1 comments

Cirrus Introduces the TRAC10: A Purpose-Built Aircraft for Flight Training

https://cirrusaircraft.com/story/cirrus-trac10/
3•lisper•30m ago•0 comments

How to call Linux code from a Wine process

https://arcanenibble.com/how-to-call-linux-code-from-a-wine-process.html
1•TazeTSchnitzel•31m ago•0 comments

I Survived Europe's Heat Wave Without AC

https://reason.com/2026/06/29/i-survived-europes-heat-wave-without-ac-no-thanks-to-regulation/
2•mancerayder•33m ago•0 comments

Threadplane: Angular agent UI framework graded A for supply-chain trust

https://threadplane.ai/blog/threadplane-earns-grade-a-hvtrust
2•brian_love•33m ago•0 comments

Simple AI agent in POSIX shell

https://github.com/patrickjh/ssa
1•pianopatrick•34m ago•1 comments