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!

Switching to a low-profile split keyboard after years on a TKL

https://www.elimkeys.jp/
1•xingshi0066•28s ago•0 comments

The Ridiculous Engineering of Figma [video]

https://www.youtube.com/watch?v=5t8dh3DSdBk
1•enritarta•3m ago•0 comments

Keir Starmer confirms social media ban for all children under 16

https://metro.co.uk/2026/06/15/keir-starmer-confirms-social-media-ban-children-16-28780800/
1•oneeyedpigeon•4m ago•0 comments

Smooth: A Framework for Turning AI from Interesting to Useful

https://www.spockdataservices.com/blog/smooth-ai-workflow-framework
1•rcshubhadeep•4m ago•0 comments

The Cloudflare for Autonomous AI Agents

https://github.com/tkngate/tkngate
1•kilopalisme•6m ago•0 comments

Anthropic Dispatches Staff to D.C., Racing to Resolve AI Export Restrictions

https://www.wsj.com/tech/ai/anthropic-dispatches-staff-to-d-c-racing-to-resolve-ai-export-restric...
1•thm•8m ago•0 comments

I know I can, but should I? Capability vs. Intent in the AI Goldrush

https://aibuilderseries.substack.com/p/i-know-i-can-but-should-i-capability
1•seantheviking•8m ago•0 comments

Asterinas: A production-grade Linux-compatible alternative kernel

https://asterinas.github.io/
1•yankcrime•9m ago•0 comments

UK Brings in Full Social Media Ban for Under-16s

https://deadline.com/2026/06/uk-social-media-ban-under-16s-x-youtube-tiktok-reddit-1236956163/
3•01-_-•11m ago•0 comments

Inside tech elites’ madcap war against the California billionaire tax

https://sfstandard.com/2026/06/13/billionaire-tax-fight-sergey-brin-chris-larsen-mike-moritz-ron-...
1•thm•11m ago•0 comments

Derbyshire officer investigated for using AI to create evidence in cases

https://news.sky.com/story/derbyshire-police-officer-investigated-for-using-ai-to-create-evidence...
2•01-_-•12m ago•0 comments

Do-the-work instead of proof-of-work, for Git hosting

https://blog.legoktm.com/2026/06/14/do-the-work-instead-of-proof-of-work-for-git-hosting.html
1•rapnie•13m ago•0 comments

Ukraine's Zelenskiy discusses peace talks in call with Trump

https://www.reuters.com/world/europe/ukraines-zelenskiy-discussed-war-diplomacy-call-with-trump-a...
1•Soumya_Max•15m ago•0 comments

Show HN: Canopy – parallel, sandboxed Claude Code sessions on macOS

https://github.com/juliensimon/canopy
1•julsimon•15m ago•0 comments

Proof

https://en.wikipedia.org/wiki/Proof_(play)
1•tosh•16m ago•0 comments

Apple PowerMac G4 – Weapon (1999) [video]

https://www.youtube.com/watch?v=lb7EhYy-2RE
1•DesaiAshu•16m ago•0 comments

You don't need React: creating a minimal UI library

https://pedroth.github.io/?p=post/NoNeedReact
1•pedro_movai•17m ago•0 comments

Building a personal meeting assistant that routes through your existing audio

https://techstackups.com/articles/deepgram-personal-meeting-assistant/
1•ritzaco•17m ago•0 comments

A spy in your pocket? How the UK's on-device nude image blocking could work

https://www.techradar.com/vpn/vpn-privacy-security/a-spy-in-your-pocket-how-the-uks-proposed-on-d...
1•nickslaughter02•17m ago•1 comments

Employees are checking out of AI

https://www.asymptotes.ai/notes/the-self-replacement-crisis
1•spinmaster•18m ago•0 comments

Show HN: TimeZoria – fast way to check and compare time zones

https://timezoria.org/
1•TimeZoriaAI•20m ago•0 comments

Abandoning the indie hacking dream for now (2022)

https://www.tinystruggles.com/posts/abandoning_indie_hacking/
1•mmarian•20m ago•0 comments

Shutting down my startup (2025)

https://lachlangreen.substack.com/p/shutting-down-my-startup
1•mmarian•22m ago•0 comments

Oracle Cuts Free Tier Ampere A1 Resources in Half

https://linuxiac.com/oracle-quietly-cuts-free-tier-ampere-a1-resources-in-half/
1•hyruo•23m ago•0 comments

Tell HN: Listening to blog posts is a nice form of self-therapy

1•mmarian•24m ago•0 comments

What the Fuck Happened to Nerds

https://mrmarket.lol/what-the-fuck-happened-to-nerds/
2•vrnvu•24m ago•1 comments

Airis – A zero-install, local AI ecosystem with autonomous PC control

https://github.com/Samael-1976/Airis
1•Samael1976•24m ago•0 comments

Berkadia Data Breach

https://haveibeenpwned.com/Breach/Berkadia
1•rexthonyy•25m ago•0 comments

Show HN: Instant live endpoints your front end needs, from natural language

https://github.com/thomscoder/zero-1
1•thomscoder•26m ago•0 comments

Relativity for Retired Engineers

https://arxiv.org/abs/2605.21660
1•calligram•27m ago•0 comments