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!

Show HN: Agent-run – Run a coding agent in a sandboxed environment

https://github.com/sin-ack/agent-run
1•trashburger•42s ago•0 comments

Since Chronium 148, Math.tanh is now fingerprintable to link underlying OS

https://scrapfly.dev/posts/browser-math-os-fingerprint/
4•joahnn_s•4m ago•1 comments

The Meta Glasses backlash is changing how (or if) people use them

https://www.engadget.com/2212604/the-meta-glasses-backlash-is-changing-how-or-if-people-use-them/
2•gnabgib•6m ago•0 comments

Show HN: Adaptive Recall, persistent memory for AI assistants over MCP

https://www.adaptiverecall.com/
2•abratabia•8m ago•0 comments

Don't Build an RL Environment Startup

https://benanderson.work/blog/dont-build-rl-env-startup/
2•iacguy•9m ago•0 comments

Adapt, Improvise, and Overcome

https://briandouglas.ie/adapt-improvise-overcome/
2•inventor7777•9m ago•0 comments

Storm clouds gather over America's financial supremacy

https://www.economist.com/finance-and-economics/2026/07/12/storm-clouds-gather-over-americas-fina...
3•pseudolus•12m ago•1 comments

AI shorting penny stock based on human psychology

https://fadeengine.com
2•parth_nandaniya•12m ago•1 comments

Show HN: A subjective AI eval. Arcade games built by AI

https://ai-arcade.app
2•zapeterson16•15m ago•0 comments

Show HN: Summarize – local-first tool that turns videos into notes

https://martino.im/Summarize
2•martinopiaggi•20m ago•0 comments

UK has 'no future' if it fails to act on ecosystem collapse

https://www.theguardian.com/global-development/2026/jul/08/uk-report-ecosystem-collapse-national-...
5•mepian•21m ago•0 comments

Palantir Has a Nemesis and I Accidentally Found Him [video]

https://www.youtube.com/watch?v=4l53lJ-Ulkw
2•Cider9986•24m ago•0 comments

Show HN: Zen Mode – a global focus mode for macOS

https://github.com/cabeen/zen-mode
4•cafebeen•24m ago•1 comments

The State of MCP Security [pdf]

https://www.canopii.dev/State%20of%20MCP%20Security%202026.pdf
3•mavzer•26m ago•0 comments

China lands rocket during an orbital launch for first time

https://www.space.com/space-exploration/launches-spacecraft/making-history-china-lands-rocket-dur...
2•zdw•27m ago•0 comments

Show HN: Openleetcode – LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode/releases/tag/v1.0.2
2•therepanic•28m ago•0 comments

Would AI have ruined my 100 days of algorithms?

https://danielsada.tech/blog/100-days-of-algorithms/
2•dshacker•29m ago•0 comments

Flash-MSA: Accelerating Million-Token Training with Sparse Attention Kernels

https://nanduruganesh.github.io/flash-msa/
3•rawsh•29m ago•0 comments

A SETI Home for AI-Assisted Research

https://www.kvncnnlly.com/2026-07-11-seti-for-ai-assisted-research/
2•wintercarver•31m ago•0 comments

What's the story behind the names of Cloudflare's name servers? (2013)

https://blog.cloudflare.com/whats-the-story-behind-the-names-of-cloudflares-name-servers/
3•aragonite•34m ago•0 comments

"Stop Cutting Down Flock Cameras " (Mass Surveillance Is Good) [video]

https://www.youtube.com/watch?v=su-Ce4PlNz0
13•Bender•37m ago•1 comments

Elsevier's global survey of 3k researchers on use of AI tools

https://www.elsevier.com/about/press-releases/elseviers-global-survey-of-3-000-researchers-reveal...
3•yogthos•38m ago•1 comments

Imaginary Bases

https://thegraycuber.com/imaginary_bases/
3•marvinborner•39m ago•0 comments

I made a easy to understand and easy to write programming language

https://github.com/NEWMAN50ott/A-Lang
2•newman50ott•40m ago•1 comments

Lake Mead Update Dangerous New Lows Happening Now [video]

https://www.youtube.com/watch?v=5y8w5uvWaIQ
2•Bender•40m ago•0 comments

Why prompt injection works: a Transformer-level view

https://medium.com/@kirill89/why-prompt-injection-works-a-transformer-level-view-d5e3cfa31525
2•k1r111•42m ago•0 comments

Show HN: Crawlie Search – Rust powered 12x cheaper site search than Algolia

https://www.crawlie.co/products/search
2•seandotexe•43m ago•1 comments

Rust Buch

https://anfaenger.wissen-ahrensburg.de/
2•thorstenkloehn•43m ago•0 comments

Getting back my closed Google Play Developer account

https://blog.matzielab.com/getting-back-my-closed-google-play-developer-account/
2•matzie•43m ago•0 comments

Show HN: Present of Time – gift someone your undivided time,phone in an envelope

https://presentoftime.com/
2•growt•43m ago•0 comments