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!

Xkcd: Suspicion

https://xkcd.com/632/
1•ravenical•58s ago•0 comments

TikToker Khaby Lame's $975M deal is riding on a crashing stock

https://www.businessinsider.com/tiktoker-khaby-lame-975-million-deal-riding-on-falling-stock-2026-2
1•pseudolus•6m ago•0 comments

The Quest for Clean Cargo

https://www.noemamag.com/the-quest-for-clean-cargo/
1•bookofjoe•7m ago•0 comments

Hazardous substances found in all headphones tested by ToxFREE project

https://www.theguardian.com/technology/2026/feb/18/hazardous-substances-headphones
2•latexr•7m ago•0 comments

Study links 'dark pool' trading activity to stock price crashes and manipulation

https://showme.missouri.edu/2026/mizzou-study-links-dark-pool-trading-activity-to-stock-price-cra...
1•hhs•8m ago•0 comments

AI Agents Now Consume More Tokens Than Humans

https://mandar.dev/2026/02/20/i-thought-moores-law-was-fast/
1•mandarlimaye•9m ago•0 comments

Show HN: Local AI document intelligence – no cloud, runs on your machine

https://unidocverse.com
1•bommavj•13m ago•0 comments

Stripe closed our non-profit's account with 0%

4•littlesteps•13m ago•0 comments

Incentives are dimming for workers to change jobs

https://www.cnbc.com/2026/02/19/life-after-the-great-resignation-incentives-are-dimming-for-worke...
1•hhs•13m ago•0 comments

Your agent is calling, and it wants your credit card

https://www.lableaks.dev/p/your-agent-is-calling-and-it-wants
1•didgeoridoo•14m ago•0 comments

Show HN: Abusing Windows Scripts for Parallel Computation

https://github.com/thelowsunoverthemoon/parallel.bat
1•lowsun•16m ago•0 comments

Be Wary of Bluesky

https://kevinak.se/blog/be-wary-of-bluesky
8•kevinak•19m ago•0 comments

Lexega Turns SQL into Signals

https://lexega.com/blog/how-lexega-turns-sql-into-signals
1•whoami4041•19m ago•0 comments

Xbox President, Microsoft Gaming VP Step Down

https://arstechnica.com/gaming/2026/02/microsoft-gaming-chief-phil-spencer-steps-down-after-38-ye...
2•zof3•21m ago•0 comments

Hackers Expose Age-Verification Software Powering Surveillance Web

https://www.therage.co/persona-age-verification/
3•c420•23m ago•0 comments

Aslan Browser: Open-sourced a macOS browser for AI agents

https://github.com/onorbumbum/aslan-browser
2•onurui•23m ago•1 comments

Apple researchers develop on-device AI agent that interacts with apps

https://9to5mac.com/2026/02/20/apple-researchers-develop-on-device-ai-agent-that-interacts-with-a...
2•geox•25m ago•0 comments

Implementing a secure sandbox for local agents

https://cursor.com/blog/agent-sandboxing
1•gmays•26m ago•0 comments

Ex-Googlers Charged with Stealing Phone Processor Secret

https://www.bloomberg.com/news/articles/2026-02-20/ex-google-engineers-charged-with-stealing-phon...
3•xnx•29m ago•0 comments

Show HN: How to make your ClawBot access to all jobs posted in last 24 hrs

https://www.humaboam.fyi/
1•yuqil725•30m ago•0 comments

OpenAI resets spending expectations, target is around $600B by 2030

https://www.cnbc.com/2026/02/20/openai-resets-spend-expectations-targets-around-600-billion-by-20...
2•zerosizedweasle•30m ago•0 comments

The Prince, the Paedo, the Palace, and the "Safety Tech" App

https://heatherburns.tech/2026/02/20/the-prince-the-paedo-the-palace-and-the-safety-tech-app/
1•hn_acker•31m ago•0 comments

A.I. Is Giving You a Personalized Internet, but You Have No Say in It

https://www.nytimes.com/2026/02/10/technology/personaltech/ai-google-meta-opt-out.html
1•bookofjoe•32m ago•1 comments

I Sold Out for $20 a Month and All I Got Was This Perfectly Generated Terraform

https://matduggan.com/i-sold-out-for-200-a-month-and-all-i-got-was-this-perfectly-generated-terra...
2•Kerrick•32m ago•0 comments

Show HN: 8gent – Mobile first workflow automation for iOS

https://www.8gent.tech/en
2•buchmannflorian•34m ago•0 comments

DefenceNet -A real-time phishing detection to stop scam links before users click

https://www.defencenet.ai/blogs/when-trust-becomes-a-weapon-understanding-smishing-attacks-and-ho...
1•vivekdatacove•34m ago•1 comments

CERN rebuilt the original browser from 1989

https://worldwideweb.cern.ch
13•tylerdane•35m ago•4 comments

Judge scolds Zuckerberg's team for wearing Meta glasses to social media trial

https://www.cbsnews.com/news/meta-trial-mark-zuckerberg-ai-glasses/
2•ColinWright•36m ago•0 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•gmays•39m ago•0 comments

Why don't Indians read for pleasure?

https://www.theculturecafe.in/p/why-dont-indians-read-for-pleasure
1•herbertl•39m ago•0 comments