frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo 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!

Show HN: Mechasm – Create E2E tests with agents that fix them when UI changes

https://mechasm.ai
1•sleepless02•18s ago•0 comments

GoFundMe Ignores Rules Hosting Legal Fund for ICE Agent Who Killed Renee Good

https://www.wired.com/story/gofundme-ice-jonathan-ross-renee-good-fundraiser/
1•cdrnsf•1m ago•0 comments

Map Your API Landscape to Prevent Agentic AI Disaster

https://thenewstack.io/map-your-api-landscape-to-prevent-agentic-ai-disaster/
1•chhum•2m ago•0 comments

GitHub not showing that apps "act on your behalf" when only logging in

https://github.blog/changelog/2026-01-12-selectively-showing-act-on-your-behalf-warning-for-githu...
1•gregsadetsky•4m ago•0 comments

YAML? That's Norway Problem

https://lab174.com/blog/202601-yaml-norway/
1•thes1lv3r•4m ago•0 comments

China Just Built Its Own Time System for the Moon

https://gizmodo.com/china-just-built-its-own-time-system-for-the-moon-2000708991
1•hunglee2•4m ago•0 comments

Mars's big impact on Earth's climate: How the red planet's pull shapes ice ages

https://phys.org/news/2026-01-tiny-mars-big-impact-earth.html
1•bikenaga•6m ago•0 comments

Ask HN: Speculate About a Hypothetical Cyber Exploit That Would Leverage AI

1•burnerToBetOut•8m ago•0 comments

Data-Dividend Calculator

https://delightful-maamoul-98e039.netlify.app
1•KillswitchAI•8m ago•0 comments

I built an ingestion engine because I hate mundane tasks

1•scannyai•8m ago•0 comments

Dialectics for Artificial Intelligence

https://arxiv.org/abs/2512.17373
1•xiaoniu•8m ago•0 comments

Even Linus Torvalds is vibe coding now

https://www.zdnet.com/article/linus-torvalds-vibe-coding-ai/
1•CrankyBear•9m ago•0 comments

Do you know how much money social apps make from your time

https://www.urtheproduct.com
4•ClipNoteBook•10m ago•2 comments

Danish dev delights kid by turning floppy drive into easy TV remote

https://www.theregister.com/2026/01/12/danish_dev_floppy_drive_remote/
1•defrost•11m ago•0 comments

Transactional AI: Saga Pattern for Reliable AI Agent Workflows (v0.2)

https://github.com/Grafikui/Transactional-ai
2•grafikui•12m ago•1 comments

Wine 11.0 Planned for Release Tomorrow with NTSync Support, Better WoW64

https://www.phoronix.com/news/Wine-11.0-Tomorrow
2•mikece•12m ago•0 comments

99% of Heart Attacks and Strokes Linked to 4 Risk Factors

https://www.sciencealert.com/huge-study-links-99-of-heart-attacks-and-strokes-with-4-risk-factors
2•Gaishan•13m ago•0 comments

Ask HN: Are you using agents for refactorings?

1•suralind•14m ago•0 comments

Green Corn Ceremony

https://encyclopediaofalabama.org/article/green-corn-ceremony/
1•foster_nyman•14m ago•0 comments

Climate misinformation is threatening Canada's national security

https://thenarwhal.ca/climate-misinformation-national-security/
3•Teever•18m ago•0 comments

Workflow Description Language (WDL) 1.3

https://openwdl.org/wdl/bioinformatics/workflows/announcing-wdl-1-3-0/
1•azhenley•20m ago•0 comments

What's on HTTP?

https://whatsonhttp.com/
1•elixx•23m ago•0 comments

Seniority Is Clarity Not Cleverness

https://dontbreakprod.com/posts/seniority-is-clarity-not-cleverness
2•dorkrawk•25m ago•0 comments

I Taught Myself to Code on a Cracked Android Phone. Now I Can't Get Hired

https://www.rly0nheart.com/posts/life/i-taught-myself-to-code-on-a-cracked-android-phone-now-i-ca...
17•boyter•32m ago•2 comments

Abuse report review pending for a month now

https://community.cloudflare.com/t/abuse-report-review-pending-for-a-month-now/876217
1•mritzmann•33m ago•0 comments

First open-source UCP merchant sandbox – test your AI shopping agents

https://github.com/steven2030/ucp-merchant
2•Stevenochs•33m ago•1 comments

Nvidia: Using Context as Training Data Unlocks Models That Learn at Test-Time

https://developer.nvidia.com/blog/reimagining-llm-memory-using-context-as-training-data-unlocks-m...
1•ashvardanian•34m ago•0 comments

A Hidden Blob of Water Has Abruptly Reappeared in the Atlantic

https://www.popularmechanics.com/science/environment/a69975772/atlantic-equitorial-water-found/
2•kayo_20211030•34m ago•0 comments

Productivity

https://en.wiktionary.org/wiki/productivity
1•downboots•36m ago•2 comments

Aligning Games and Sets in Determining Tennis Matches

https://www.nyu.edu/about/news-publications/news/2026/january/aligning-games-and-sets-in-determin...
1•geox•36m ago•1 comments