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!

California's high-speed rail – $135B price tag, years of false starts

https://nypost.com/2026/01/08/us-news/newsom-cheers-californias-high-speed-rail-at-state-of-state...
1•Alupis•10s ago•0 comments

New Cellphone Video Released in Minnesota Shooting

https://www.foxnews.com/us/cellphone-video-released-deadly-minneapolis-ice-agent-shooting
1•silexia•18s ago•0 comments

How Streams Work in Node.js

https://oneuptime.com/blog/post/2026-01-09-nodejs-streams-complete-guide/view
1•ndhandala•5m ago•0 comments

Big Tech's Ugly Duckling: An Engineer's Bet on Snapchat

https://ossa-ma.github.io/blog/snapchat
1•ossa-ma•5m ago•0 comments

Prompting 101: Show, don't tell

https://www.haskellforall.com/2026/01/prompting-101-show-dont-tell.html
3•todsacerdoti•10m ago•0 comments

Working on decentralized compute at io.net sharing what we're learning

2•plutodev•11m ago•0 comments

Passengers' brain signals may help self-driving cars make safer choices

https://techxplore.com/news/2025-12-passengers-brain-cars-safer-choices.html
1•PaulHoule•11m ago•0 comments

I vibed yet another mobile staggered grid HN client

https://vibes.higashi.blog/pages/181350e5-a3b5-4d23-8e1e-fb9258c01e7b
1•yuedongze•12m ago•1 comments

The Arm MCP Server

https://developer.arm.com/servers-and-cloud-computing/arm-mcp-server
1•mooreds•12m ago•0 comments

A Mathematical Theory of Payment Channel Networks

https://arxiv.org/abs/2601.04835
1•sefiro•13m ago•0 comments

AI made human passwords embarrassingly predictable

https://www.aiipassword.com/
1•amandapoDEV•13m ago•1 comments

Ralph Is Eating the World

https://www.second-breakfast.co/blog/ralph-is-eating-the-world
1•scrollinondubs•14m ago•0 comments

What is the absolute lowest musical note in the musical spectrum?

https://music.stackexchange.com/questions/143000/what-is-the-absolute-lowest-musical-note-in-the-...
1•azeemba•15m ago•0 comments

Copilot to load inside File Explorer on Windows 11

https://www.windowslatest.com/2026/01/09/copilot-could-soon-live-inside-windows-11s-file-explorer...
1•jinxmeta•15m ago•0 comments

Show HN: DemoSlice – Create Product Demos in 5 Minutes

https://demoslice.io/
1•eyane•15m ago•0 comments

Building Reliable AI Agents

https://parthsareen.com/writings/building-reliable-ai-agents/
1•parthsareen•16m ago•0 comments

Iran's complete Internet shutdown reaches 24 hours

https://mastodon.social/@netblocks/115866066884567356
4•walrus01•17m ago•0 comments

Vessel searching for MH370 moving at low speed in a specific area

https://airlive.net/news/2026/01/05/for-the-past-24-hours-the-vessel-searching-for-mh370-has-been...
3•linolevan•20m ago•0 comments

Show HN: Immich AutoTag – A Python tool for automatic classification via API

https://github.com/txemi/immich-autotag
3•txemitron•20m ago•0 comments

The Psychology of Bad Code Part 2 – Building Systems That Support Secure Devs

https://shehackspurple.ca/2025/12/23/the-psychology-of-bad-code-part-2-building-systems-that-supp...
1•shehackspurple•21m ago•1 comments

QtNat – Open you port with Qt UPnP

http://renaudguezennec.eu/index.php/2026/01/09/qtnat-open-you-port-with-qt/
5•jandeboevrie•22m ago•0 comments

Show HN: Auto-Agents Air-gapped AI Agents in 1-click

https://www.ycombinator.com/launches/P7T-stackai-enterprise-ai-agents-in-seconds
1•baceituno•22m ago•0 comments

How Big Tech Killed Literary Culture

https://unherd.com/2026/01/how-big-tech-killed-literary-culture/
6•wigwamnh•25m ago•1 comments

Why We Benchmark on Modest Hardware

https://tidesdb.com/articles/why-bench-on-modest-hardware/
1•alexpadula•26m ago•0 comments

Should You Post Memes on LinkedIn?

https://www.youtube.com/watch?v=l_4SAEXHyEs
2•heshiebee•27m ago•3 comments

Show HN: Embermarks – Rediscover your forgotten bookmarks

https://bastiangruber.ca/posts/embermarks-a-firefox-extension/
2•recvonline•27m ago•0 comments

National Park Service will void passes with stickers over Trump's face

https://www.npr.org/2026/01/09/nx-s1-5672341/national-park-updates-guidelines-stop-visitors-defac...
5•mikhael•28m ago•1 comments

Show HN: DocuFlow – open-source event-driven AI invoice ingestion pipeline

https://github.com/Shashank0701-byte/docuflow
1•Shashank0701•29m ago•0 comments

We Configure Our Rails Local CI

https://goodenough.us/posts/how-we-configure-our-rails-local-ci
2•bjhess•29m ago•0 comments

Show HN: Simple Claude Code memory alternative – past chats search

https://github.com/mlshv/cc-history-search
1•misha10x•31m ago•0 comments