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

The baffling purple honey found only in North Carolina

https://www.bbc.com/travel/article/20250417-the-baffling-purple-honey-found-only-in-north-carolina
1•rmason•30s ago•0 comments

Focus apps claim to improve your productivity. Do they work?

https://theconversation.com/focus-apps-claim-to-improve-your-productivity-do-they-actually-work-2...
3•billybuckwheat•1m ago•0 comments

Show HN: Chinese Learning Site – I made a free online version of the HSK books

https://learnchinese.ai/
1•qubitspace•1m ago•0 comments

Show HN: A free affinity diagramming tool, in a single HTML file

https://ianarawjo.medium.com/splat-a-free-affinity-diagramming-tool-in-a-single-html-file-a10f89a...
1•fatso784•2m ago•0 comments

100K-Watt Iron Beam laser becomes first drone defense zapper to be deployed

https://www.tomshardware.com/tech-industry/100kw-iron-beam-laser-becomes-worlds-first-drone-defen...
1•rmason•3m ago•0 comments

A Prompt-Injection Firewall for AI Agents and RAG Pipelines

1•AadilSayed•4m ago•1 comments

This Post Was Edited by a Rock. Deal with It

https://alec.is/posts/this-post-was-edited-by-a-rock-deal-with-it/
3•arm32•13m ago•1 comments

My Running Wrapped 2025

https://jcdav.is/running-wrapped-2025/
3•jcdavis•17m ago•1 comments

Show HN: Region-proxy – One-command SOCKS proxy through AWS EC2 in any region

https://github.com/M-Igashi/region-proxy
2•jphfa•19m ago•1 comments

Boiling Water

https://www.natemeyvis.com/on-boiling-water/
3•Theaetetus•19m ago•0 comments

1seed: a Rust based CLI for deterministic age/SSH

https://github.com/oeo/1seed
1•genesishash•24m ago•0 comments

Children and Helical Time

https://moultano.wordpress.com/2025/12/30/children-and-helical-time/
2•Gooblebrai•25m ago•0 comments

State of Startups 2025 [pdf]

https://info.carta.com/rs/214-BTD-103/images/State-of-Startups-2025.pdf
2•gmays•25m ago•0 comments

How to Improve a Perfect Join Algorithm

https://remy.wang/blog/ya-fast.html
2•remywang•26m ago•0 comments

Emotional Intelligence: Moving AI from Emotion Detection to True Understanding

1•buttersmoothAI•26m ago•0 comments

Party of One for Code Review

https://tidyfirst.substack.com/p/party-of-one-for-code-review
1•mustaphah•28m ago•0 comments

Happy New Year HN

https://tenor.com/view/gg-gif-12398339126318398543
3•rochansinha•29m ago•1 comments

Y2K Explained: The Real Impact and Myths of the Year 2000 Computer Bug

https://www.investopedia.com/terms/y/y2k.asp
1•throw0101c•32m ago•0 comments

RunAgent Genie – Ultimate Prompt Engineering Game with Advanced Guardrails

https://genie.run-agent.ai/
2•sawradip•33m ago•1 comments

Steam Depot Downloader

https://github.com/SteamRE/DepotDownloader
1•btdmaster•34m ago•0 comments

Terry Tao on the future of mathematics – Math, Inc

https://www.youtube.com/watch?v=4ykbHwZQ8iU
2•artninja1988•36m ago•0 comments

Microarchitecture: What Happens Beneath [video]

https://www.youtube.com/watch?v=BVVNtG5dgks
1•recov•37m ago•1 comments

Understanding Decision Trees: The White Box of Machine Learning

https://mateolafalce.github.io/2025/Understanding%20Decision%20Trees_%20The%20White%20Box%20of%20...
2•lafalce•37m ago•0 comments

If Exercise Is Better Than a Drug, We Should Test It Like One

https://www.outsideonline.com/health/wellness/exercise-colon-cancer-longevity/
2•canucker2016•41m ago•1 comments

Stumbled into PR and couldn't believe how broken it was. So I built something

1•maikop•42m ago•0 comments

I'm graduating with a Computer Science degree but I don't know how to program

https://softwareengineering.stackexchange.com/questions/43528/im-graduating-with-a-computer-scien...
1•joebig•46m ago•0 comments

Suddenly Everyone Is Scared to Dance at Concerts and Clubs

https://www.wsj.com/arts-culture/music/new-years-eve-dancing-clubs-concerts-7e3f5f19
10•OGEnthusiast•47m ago•3 comments

1500 Lines of Markdown vs. 15000 Lines of Python

https://sderosiaux.substack.com/p/1500-lines-of-markdown-vs-15000-lines-of-python-stop-building-l...
1•chtefi•48m ago•0 comments

Billionaires added record $2.2T in wealth in 2025

https://www.theguardian.com/news/2025/dec/31/billionaires-added-record-wealth-2025
6•mitchbob•48m ago•1 comments

Show HN: AI Security Baseline 1.0 for LLM Apps

https://xsourcesec.com/baseline.html
1•xsourcesec•48m ago•0 comments