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!

Building the Exe.dev iOS App

https://blog.exe.dev/ios-development
1•tosh•4m ago•0 comments

Billionaires Found a New Way to Steal Your Paycheck [video]

https://www.youtube.com/watch?v=hBI_FLYfwmM
2•mgh2•4m ago•0 comments

Vatican City at the 2022 Mediterranean Games

https://en.wikipedia.org/wiki/Vatican_City_at_the_2022_Mediterranean_Games
1•vinnyglennon•4m ago•0 comments

Show HN: Clippy for Vim

https://codeberg.org/borysj/vim-clippy
1•borysj•5m ago•0 comments

Microsoft Agent Package Manager

https://github.com/microsoft/apm
1•chimpanzee2•7m ago•0 comments

Counting Rods

https://en.wikipedia.org/wiki/Counting_rods
1•tosh•7m ago•0 comments

Logotherapy

https://en.wikipedia.org/wiki/Logotherapy
1•chistev•8m ago•0 comments

18 CVEs fixed in Curl 8.21.0

https://curl.se/mail/lib-2026-06/0026.html
1•mmsc•8m ago•0 comments

Edge AI Power Benchmarking

https://mariobergeron.com/posts/edge-ai-power-p06-memryx-mx3/
1•muxamilian•11m ago•0 comments

Rhombus Language Performance

https://rhombus-lang.org/performance.html
1•rscho•14m ago•0 comments

A Commodore Boombox: The 1350 as You've Never Heard It Before

https://hackaday.com/2026/06/23/a-commodore-boombox-the-1350-as-youve-never-heard-it-before/
1•geopsist•14m ago•0 comments

Deciphering Basmala

https://blog.plover.com/lang/bismillah.html
1•lordgrenville•15m ago•0 comments

The loop is here (reply to "The Coming Loop" by mitsuhiko)

https://pocoo.vaked.dev/posts/2026-06-24-the-loop-is-already-here
1•pocok0xRE•16m ago•1 comments

GPT-5 helped an immunologist solve a 3-year-old mystery

https://openai.com/index/gpt-5-immunology-mystery/
1•lucamark•16m ago•0 comments

Unified Image API

https://openrouter.ai/blog/announcements/image-api/
1•ilreb•17m ago•0 comments

Blobly

https://blobly.medv.io/
1•medv•22m ago•0 comments

App Store Personalized Recommendations and Keylogging

https://mjtsai.com/blog/2026/06/12/app-store-personalized-recommendations-and-keylogging/
1•latexr•23m ago•0 comments

'Who is going to pay us when we're replaced by robots?'

https://www.theguardian.com/global-development/2026/jun/24/indian-factory-workers-told-film-thems...
1•robtherobber•26m ago•1 comments

Regular expressions that work "everywhere"

https://www.johndcook.com/blog/2026/06/23/regex-everywhere/
1•ibobev•26m ago•0 comments

Show HN: AI Use Disclaimer

https://libls.org/ai-use
1•lionkor•26m ago•0 comments

We're making Bunny DNS free: because a faster internet won't build itself

https://bunny.net/blog/were-making-bunny-dns-free/
5•dabinat•30m ago•0 comments

The Neural Basis of Laughter

https://www.cell.com/trends/neurosciences/fulltext/S0166-2236(26)00099-8
2•XzetaU8•33m ago•0 comments

Science Fiction and Fantasy Book Awards

https://sffawards.com/
2•EvgeniyZh•33m ago•1 comments

If AI Helped Me Write This, Is It Still Mine?

https://kunyuan.substack.com/p/09public-essayif-ai-helped-me-write
3•hufdr•33m ago•2 comments

Show HN: WebBase-III – dBASE III rebuilt in the browser with its own interpreter

https://github.com/DDecoene/WebBaseIII
2•ddecoene•35m ago•0 comments

SCC Technical Assistance Program

https://nerocam.com/scc_tap.asp
3•luu•35m ago•0 comments

Two Indexed Hash Tables

https://vnmakarov.github.io/data%20structures/c/c++/open-source/2026/06/23/two-indexed-hash-table...
2•ibobev•36m ago•0 comments

Grok Build 0.1: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/grok-build-0-1-06-16
3•himata4113•40m ago•2 comments

Show HN: A minimal and beautiful card component built with pure CSS

https://ufoym.com/slicard/
6•ufoym•42m ago•0 comments

Top June 2026

https://top500.org/lists/top500/2026/06/
4•Alien1Being•42m ago•0 comments