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!

Continuous Contact (2005)

http://k-punk.abstractdynamics.org/archives/004826.html
1•DiscourseFan•2m ago•0 comments

Compiled List of over $1000 in AI/GPU/LLM Credits (100% Free)

https://sairc.vercel.app/resources
1•imranmk•5m ago•0 comments

How Claude can do your shopping

https://andrewacomb.substack.com/p/buying-screws-with-http-402
1•acombandrew•6m ago•0 comments

Majorana: "Microsoft's topological qubit is real"

https://dotient.com/blog/microsoft-majorana-particle
1•localdeclan•8m ago•0 comments

TSMC is accelerating Arizona factory buildout to capitalize on AI 'megatrend'

https://www.cnbc.com/2026/07/20/tsmc-arizona-fab-capacity-ai-chip-demand.html
1•ekorbia•11m ago•0 comments

Asymptote

https://asymptote.ualberta.ca/
1•joebig•14m ago•0 comments

The entropy tax: Why true randomness costs so much

https://psyll.com/articles/technology/cybersecurity/the-entropy-tax-why-true-randomness-costs-so-...
1•iamnow1982•14m ago•0 comments

The biggest winners of the American economy fear they're sinking fast

https://www.washingtonpost.com/technology/2026/07/19/tech-has-never-been-richer-its-workers-have-...
2•sseagull•15m ago•1 comments

Cut the number of choices you make each day; Your brain will thank you

https://apnews.com/article/too-many-choices-making-decisions-8ae0bfaac1d51cc5fc7b2e59336ff0dd
2•1659447091•16m ago•0 comments

Kevin O'Leary's view on AI is interesting, 9 minute video [video]

https://www.youtube.com/watch?v=PHhLhL1GIac
1•theMezz•18m ago•1 comments

Spain beats Argentina to win the World Cup

https://english.elpais.com/sports/2026-07-19/spain-beat-argentina-to-win-the-world-cup.html
12•gus_massa•19m ago•5 comments

Impro is a handbook for running a cult

https://www.seangoedecke.com/impro/
1•zdw•21m ago•0 comments

A Brief History of Computing

https://jasoneckert.github.io/myblog/a-brief-history-of-computing/
2•jasoneckert•23m ago•1 comments

Who's responsible for bug reports on old software versions?

https://pointieststick.com/2026/07/19/whos-responsible-for-bug-reports-on-old-software-versions/
1•zdw•25m ago•0 comments

What Bad Bases Are Good For

https://mathenchant.wordpress.com/2026/07/19/what-bad-bases-are-good-for/
1•jamespropp•26m ago•0 comments

FileVault on versus Off on Apple Silicon Macs

https://derflounder.wordpress.com/2026/07/18/filevault-on-versus-off-on-apple-silicon-macs/
2•zdw•27m ago•0 comments

Show HN: Deploy AI agent in 5 lines of code

https://www.custodianlabs.io
1•sherryf123•29m ago•1 comments

Trump to fund MAGA-aligned projects in Europe as he reorders US aid

https://www.ft.com/content/1cb986a4-2428-4e64-a559-7867cfa1a3e3
3•petethomas•31m ago•0 comments

Haunt 0.4.0 Released

https://git.dthompson.us/haunt/commit/?id=100da093a804f04d3b10c9db49da663f2246c446
1•birdculture•31m ago•0 comments

AI should have senior lawyers sharpening their hunting spears

https://www.ft.com/content/905e18e6-f054-4995-b5a7-0ff52a65ae57
3•petethomas•35m ago•0 comments

MSI Slyly Shows Off an Upcoming DLC AMD EPYC Venice Platform

https://www.servethehome.com/msi-slyly-shows-off-an-upcoming-dlc-amd-epyc-venice-platform-with-cd...
1•ksec•37m ago•1 comments

Pastors Using AI to Help Write Sermons Grapple with Where to Draw the Line

https://www.wsj.com/tech/ai/pastors-using-ai-to-help-write-sermons-grapple-with-where-to-draw-the...
2•bookofjoe•39m ago•2 comments

Show HN: Promptdna.org- a community library of composable prompt blocks with MCP

https://promptdna.org
1•impendingchange•40m ago•0 comments

I Read the Bonsai 27B Paper. What You Gain–and Lose–With 1-Bit Compression

https://medium.com/@deshpandetanmay/a-27b-ai-model-ran-on-an-iphone-heres-what-survived-compressi...
2•tanmaydesh5189•46m ago•0 comments

Show HN: A self-hosted AI that turns Hacker News into a daily briefing

https://github.com/RecNes/hn-ai-summarizer
1•SencerH•46m ago•0 comments

Self-evolving repo for team and coding agent collaboration

https://www.sepo.sh/
3•liangqiyao99•47m ago•0 comments

Ancient Roman farm women made wine, oil and profits

https://phys.org/news/2026-07-ancient-roman-farm-women-wine.html
3•1659447091•47m ago•0 comments

Show HN: Rate A Human – AI agents review the humans they work for

https://rateahuman.xyz/
1•ziadhussein•48m ago•0 comments

A real SAT solution. P is not always hard

https://zenodo.org/records/21445865
1•GeometryKernel•50m ago•0 comments

Tripplet AI – a new era of smarter AI

https://www.getsonoma.lol/
1•htmghrceceg•53m ago•0 comments