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!

Tech pundit Cringely cofounds startup '2Brains Inc' to solve LLM hallucinations

https://slashdot.org/story/26/06/20/0556251/tech-pundit-cringely-co-founds-startup-2brains-inc-to...
1•MilnerRoute•1m ago•0 comments

List of Unusual Deaths

https://www.orangecrumbs.com/l/unusual-deaths
1•octopus143•2m ago•1 comments

Open-source Vulkan driver NVK gains experimental DLSS support

https://www.tomshardware.com/pc-components/gpu-drivers/open-source-nvidia-vulkan-driver-nvk-gains...
1•rndsignals•3m ago•0 comments

How Old Are You in Space?

https://ethanwillingham.com/space-age.html
1•Willingham•5m ago•0 comments

Flic Mic for AI – The Wireless Voice Button

https://mic.flic.io/
1•jamie4224•6m ago•0 comments

The GLP-1 boom is the biggest climate story no one is pricing in

https://fortune.com/2026/06/21/glp1-drugs-climate-food-system-emissions-investment/
3•jtbayly•12m ago•1 comments

Tech Company Finder

https://tech.bingo/
1•thisismytest•14m ago•0 comments

MicroVM sandbox solves one problem well, but not the agent security problem

https://decodebytes.substack.com/p/why-your-microvm-sandbox-solves-a
1•decodebytes•15m ago•1 comments

Netflix, A24 and Focus Pass on Luca Guadagnino's Movie 'Artificial'

https://variety.com/2026/film/global/luca-guadagnino-artificial-sam-altman-netflix-a24-mubi-12367...
2•theanonymousone•15m ago•0 comments

Chatting with an AI Won't Make You a Top Programmer

https://lemire.me/blog/2026/06/21/chatting-with-ai-wont-make-you-a-top-programmer/
1•jjgreen•17m ago•0 comments

MMTk – Memory Management Toolkit

https://www.mmtk.io/
1•smartmic•19m ago•0 comments

Mark Zuckerberg wants to replace your phone with (10 years of work)

https://thenewassociationwebmasters.blogspot.com/2026/06/mark-zuckerberg-wants-to-replace-your.html
1•laurentlof•20m ago•1 comments

Why everyone is talking about real-time analytics

https://clickhouse.com/blog/why-everyone-is-talking-about-real-analytics-yellow-company
3•saisrirampur•23m ago•0 comments

Polymarket reportedly paid people to post fake videos of themselves placing bets

https://www.theverge.com/tech/953285/polymarket-fake-viral-video-bets
3•thm•25m ago•0 comments

Horus – Zero-dependency C++ CLI for malware IOC analysis and enrichment

https://github.com/mobinert/horus
1•fergalina•27m ago•0 comments

Introducing ZSoftly Cloud Platform, a Canadian public cloud

https://zcp.zsoftly.ca/blog/introducing-zsoftly-cloud-platform/
1•dckzs•27m ago•1 comments

The Case Against Travel (2023)

https://www.newyorker.com/culture/the-weekend-essay/the-case-against-travel
2•thm•29m ago•0 comments

Student Cheating Is Becoming Impossible to Detect in an A.I. Era

https://www.nytimes.com/2026/06/18/us/ai-apps-students-cheat.html
1•apparent•29m ago•2 comments

Sisu: The Finnish art of inner strength

https://www.bbc.com/worklife/article/20180502-sisu-the-finnish-art-of-inner-strength
1•Tomte•31m ago•0 comments

See How Owning a Home Is Getting More Expensive in Every Way

https://www.wsj.com/economy/housing/home-ownership-costs-charts-7fe04eb3
2•fortran77•37m ago•0 comments

Hunting Million-Digit Primes from My Loft

https://primecrunch.com/blog/2/hunting-million-digit-primes-from-my-loft
2•andyhedges•38m ago•0 comments

Analyst Kit (YC W23): Turn your Claude / Codex into an investment analyst (Free)

https://github.com/mohitjandwani/analyst-kit
2•mohitjandwani•38m ago•3 comments

DeFi Theater: Why Polymarket's Incentives Don't Reward the Truth

https://omarabid.com/polymarket-bet/
3•csomar•43m ago•0 comments

Now my wife and I trade together

https://magzimof.com/trading-together/
1•shaimagz•47m ago•1 comments

Venture Debt for Deep Tech: Financing the Future

https://www.latimes.com/b2b/banking-finance/story/2026-06-21/venture-debt-deep-tech-funding
4•petethomas•50m ago•0 comments

The end of public frontier models

https://steve-yegge.medium.com/the-flat-curve-society-36c8b01eb33b
5•AndrewSwift•52m ago•2 comments

Show HN: Claude Code skills that encode a staff engineer's setup, not prompts

https://staffengineer.dev/
1•pro_methe5•54m ago•0 comments

PE Owners Tap a Hot Loan Market to Pay Themselves

https://www.bloomberg.com/news/articles/2026-06-20/pe-owners-tap-a-hot-loan-market-to-pay-themsel...
2•petethomas•55m ago•0 comments

The Branch Nobody Reads

https://magzimof.com/olive-branches/
1•shaimagz•56m ago•0 comments

Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB

https://pure-effect.org
1•tie-in•1h ago•0 comments