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

NASA's Artemis II rocket experienced interrupted flow of helium

https://www.nasa.gov/blogs/missions/2026/02/21/nasa-troubleshooting-artemis-ii-rocket-upper-stage...
1•logifail•1m ago•1 comments

DHS suspends TSA PreCheck and Global Entry airport security programs

https://apnews.com/article/homeland-security-tsa-precheck-global-entry-dc1d2ccd913a74fa2c8b91dad3...
1•JumpCrisscross•5m ago•0 comments

Ask HN: Why doesn't HN have a rec algorithm?

1•sujayk_33•8m ago•0 comments

No LLM, No training data, No cloud – Engine that understands architecture

1•twoelf•12m ago•0 comments

WebMCP: A Browser-Native Execution Model for AI Agents

https://insforge.dev/blog/webmcp-browser-native-execution-model-for-ai-agents
1•astro_09•13m ago•0 comments

Mini Claw Code – Write your own mini coding agent

https://github.com/odysa/mini-claw-code
2•agentforce•16m ago•0 comments

Show HN: X-Ray – Filter your X (Twitter) timeline by country

https://chromewebstore.google.com/detail/x-ray-block-tweets-by-rea/pmjfhfleckpdbhfblgeiihihddlbifaf
1•batudotpy•16m ago•0 comments

Estonias Tiger Leap: the schools project that wired a nation for the digital age

https://estonianworld.com/technology/estonias-tiger-leap-the-schools-project-that-wired-a-nation-...
2•atlasunshrugged•17m ago•0 comments

DHS pausing TSA PreCheck, Global Entry programs amid funding lapse

https://www.nbcnews.com/news/us-news/dhs-pausing-tsa-precheck-global-entry-programs-funding-lapse...
2•LopRabbit•20m ago•0 comments

Microsoft throws spox under the bus in ICC email flap

https://www.theregister.com/2026/02/18/microsoft_asks_uk_parliament_to_correct_record/
1•abdelhousni•20m ago•0 comments

U.S. Cannot Legally Impose Tariffs Using Section 122 of the Trade Act of 1974

https://ielp.worldtradelaw.net/2026/01/guest-post-president-trump-cannot-legally-impose-tariffs-u...
1•JumpCrisscross•21m ago•0 comments

Show HN: Fan Meter – A movie quiz game where you guess films from frames

https://fanmeter.in
2•raahelb•24m ago•3 comments

Optimize_anything: A Universal API for Optimizing Any Text Parameter

https://gepa-ai.github.io/gepa/blog/2026/02/18/introducing-optimize-anything/
1•LakshyAAAgrawal•24m ago•1 comments

So Claude's stealing our business secrets, right?

4•arm32•25m ago•4 comments

Laws of Thermodynamics

https://en.wikipedia.org/wiki/Laws_of_thermodynamics
1•downboots•25m ago•0 comments

Giving Claude Code Eyes: Round-Trip Screenshot Testing

https://medium.com/@rotbart/giving-claude-code-eyes-round-trip-screenshot-testing-ce52f7dcc563
2•rotbart•26m ago•1 comments

We Have (Software) Replicators

https://schappi.com/blog/we-have-software-replicators
3•schappim•29m ago•0 comments

Iterflow – Composable streaming statistics for JavaScript/TS

https://www.npmjs.com/package/@mathscapes/iterflow
1•gvsh_maths•32m ago•1 comments

Show HN: Madari: CLI tool to install, sync and manage local MCP servers

https://github.com/ankitvg/madari/releases/tag/v0.1.1
1•rajma•32m ago•0 comments

Mathematics in the Library of Babel

https://www.daniellitt.com/blog/2026/2/20/mathematics-in-the-library-of-babel
1•owenpayton•33m ago•0 comments

Tech Influencers Slam Hacker News Toxicity After OpenAI Hire Attacks

https://x.com/i/trending/2025399179196203524
1•make_it_sure•35m ago•0 comments

HTTP/3 on FreeBSD: Getting QUIC Working with Nginx in a Bastille Jail

https://blog.hofstede.it/http3-on-freebsd-getting-quic-working-with-nginx-in-a-bastille-jail/
1•todsacerdoti•38m ago•0 comments

Ask HN: Is HN becoming more toxic?

4•make_it_sure•42m ago•4 comments

Show HN: TurboDraft – fast Ctrl-G prompt editor for Claude Code and Codex CLI

https://github.com/gradigit/turbodraft
2•gradigit•53m ago•0 comments

Built a Tinder-style investing app for all investors! Need 7-day beta testers

https://investswipe-demo-v1.vercel.app/
1•barelybushy•56m ago•1 comments

Show HN: Sketch Paint for Apple

https://apps.apple.com/us/app/sketch-paint/id6753883078
1•Codegres•57m ago•0 comments

DHS Will Suspend TSA PreCheck and Global Entry

https://www.washingtonpost.com/nation/2026/02/21/tsa-precheck-global-entry-shutdown/
2•jbegley•58m ago•2 comments

Welcome to the Era of Anarchic Antitrust

https://www.economist.com/business/2026/02/18/welcome-to-the-era-of-anarchic-antitrust
1•1vuio0pswjnm7•1h ago•0 comments

Show HN: LogSnap – CLI tool for analyzing logs locally

https://github.com/Sonic001-h/logsnap
1•baba_yaga070•1h ago•0 comments

Climate Physicists Face the Ghosts in Their Machines: Clouds

https://www.quantamagazine.org/climate-physicists-face-the-ghosts-in-their-machines-clouds-20260220/
1•tzury•1h ago•0 comments