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!

LithosAI Tops Artificial Analysis: Inference Speed, Latency, and Quality

https://www.lithosai.com/blog/lithosai-tops-artificial-analysis
1•0xcoffee•1m ago•0 comments

Show HN: AI Prompt Chain Builder – offline multi-step prompt workflows

https://theaioperatorstore.gumroad.com/l/kjxamb
1•theaioperator•1m ago•0 comments

Canadian Officers Don't Want to Serve in the U.S. Anymore

https://www.theatlantic.com/national-security/2026/10/military-cooperation-canada-trump/689057/
1•cisc•3m ago•0 comments

Hannah Fry: How OpenAI has caused an existential crisis in mathematics

https://www.newscientist.com/article/2593249-hannah-fry-how-openai-has-caused-an-existential-cris...
1•consumer451•3m ago•0 comments

Jared Kushner Hacked Phone Reveals Secret Negotiations, Millions in Transactions

https://www.vanityfair.com/story/jared-kushner-hacked-phone-secret-negotiations
2•ck2•3m ago•0 comments

Google's verifiable quantum circuit compilation competition

https://opensource.googleblog.com/2026/10/announcing-verifiable-quantum-circuit-compilation-compe...
1•simonpure•4m ago•0 comments

Hurricane Electric (HE.NET) tunnelbroker was serving a REVOKED cert yesterday

https://bsky.app/profile/moxfyre.bsky.social/post/3myilq7gpus2y
1•dlenski•4m ago•1 comments

Mammoth-1 and Elephant-1: frontier decision models

https://labs.baseten.co/articles/mammoth-1-and-elephant-1-frontier-decision-models
1•gmays•5m ago•0 comments

1Password adds browser login feature for AI agents

https://1password.com/personal-ai-agent-integrations
1•walski•6m ago•1 comments

Experience the Odyssey 3 World Model right now

https://experience.odyssey.systems/
1•bigwheels•7m ago•0 comments

Why Gen Z Is Nostalgic for a Digital World They Never Knew

https://decodingvibes.com/blog/genz-and-frutiger-aero/
1•altmanaltman•9m ago•0 comments

AI vs. no AI? not much of interest to me

https://mvndy.cl/blog/a-sort-of-declaration
1•yuna2k•10m ago•0 comments

Declaration by the People of Programming

https://people-of-programming.org/
1•remywang•14m ago•0 comments

Show HN: MoxiVue– remote access and PAM for Linux where the server holds no keys

https://moxivue.com/architecture.html
1•msaman73•14m ago•0 comments

Forgotten Schrödinger Manuscript Reveals a Surprising Twist in Quantum Physics

https://www.sciencealert.com/a-lost-schrdinger-manuscript-reveals-a-surprising-twist-in-quantum-p...
2•bookofjoe•16m ago•0 comments

Show HN: Paste an OpenAPI spec, get duplicate-charge replay tests

https://idempotency-harness-checker.theartofservice.com/
1•blokdijk•18m ago•0 comments

Bluesky Profile Links

https://bsky.social/about/blog/10-22-2026-introducing-profile-links
1•ChrisArchitect•18m ago•0 comments

Experimental brain implants are on the rise. What happens after the trials end?

https://lens.monash.edu/experimental-brain-implants-are-on-the-rise-what-happens-after-the-trials...
1•ColinWright•19m ago•0 comments

Show HN: AI for Group Chats

https://boba.app
1•vpj•20m ago•0 comments

PHP2Shell dropped, so we had agents replace a client's Drupal site overnight

https://recursiveai.org/research/php2shell-drupal-shutdown/
1•hclewk•21m ago•1 comments

SpaceX $40B debt deal gets pricey as AI fears spread

https://www.semafor.com/article/10/22/2026/spacex-40b-debt-deal-will-cost-it-as-ai-fears-spread
1•mfiguiere•21m ago•0 comments

How Long Do Wealth Shocks Persist? Less Three Generations in England, 1700–2026

https://onlinelibrary.wiley.com/doi/full/10.1111/roiw.70096
1•paulpauper•24m ago•0 comments

Ask HN: If the models are so good, why doesn't OpenAI just start 100 companies?

12•ex-aws-dude•24m ago•3 comments

A trim size and margin calculator for self-published books

https://storiesden.com/trim-size-calculator
1•wilgrobe•24m ago•0 comments

The New Subterranean Front

https://www.theatlantic.com/national-security/2026/10/ukraine-war-gas-pipelines-russia/689105/
2•cisc•25m ago•1 comments

Linus's Law "given enough eyeballs, all bugs are shallow"

1•chrisjj•25m ago•1 comments

The Biology of Obesity: Why Keeping Weight Off Is So Hard

https://www.yalemedicine.org/news/biology-of-obesity
1•paulpauper•27m ago•1 comments

Why Are Young Adults So Likely to Develop Obesity?

https://www.healthcentral.com/condition/obesity/why-are-young-adults-so-likely-to-develop-obesity
1•paulpauper•27m ago•0 comments

Iron Age salt-mining complex found beneath Hallstatt in Austria

https://archaeologymag.com/2026/09/iron-age-salt-mining-complex-beneath-hallstatt/
1•janandonly•28m ago•0 comments

Avian Physics 0.8

https://joonaa.dev/blog/14/avian-0-8
1•RohanAdwankar•28m ago•1 comments