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!

Fast Software, the Best Software

https://craigmod.com/essays/fast_software/
1•ustad•1m ago•0 comments

Electronic Engineers Master Catalog

https://archive.org/details/electronicengine00unse_8
1•ustad•2m ago•0 comments

Reducing Assumptions, Exploding Your Code

https://ryelang.org/blog/posts/reducing_assumptions_but_exploding/
1•mpweiher•4m ago•0 comments

Dark Mode with Web Standards

https://olliewilliams.xyz/blog/dark-mode/
1•thm•9m ago•0 comments

Splitzen – Split group expenses with one link, no sign-up

https://getsplitzen.vercel.app
1•piprads•9m ago•0 comments

Authors Sue Anthropic for $75M

https://theguptalog.blogspot.com/2026/07/100-authors-sue-anthropic-for-75m.html
1•guptalog•10m ago•0 comments

Show HN: WakaWiki, a CLI that maintains agent documentation for your codebase

https://github.com/sonyarianto/wakawiki
1•sonyarianto•10m ago•0 comments

Meta's Brain2Qwerty v2: A non-invasive brain-computer interface

https://facebookresearch.github.io/brain2qwerty/
1•mgh2•10m ago•0 comments

Codex Threads

https://github.com/kcosr/codex-threads
1•handfuloflight•15m ago•0 comments

New Android security setting spots bad networks and fake cell towers

https://www.zdnet.com/article/android-security-setting-spots-bad-networks-and-fake-cell-towers-ho...
1•tlhunter•16m ago•0 comments

Will co-located solar and BESS be the main driver of Europe's energy transition?

https://tamarindo.global/insight/analysis/will-co-located-solar-bess-be-the-main-driver-of-europe...
1•zeristor•21m ago•0 comments

Hunch – a Git-native decision graph your AI assistant obeys

https://hunch-pi.vercel.app
1•huchdave•21m ago•0 comments

Mysterious debris could be 'space balls'– may contain toxic rocket fuel

https://www.theguardian.com/australia-news/2026/jul/05/mysterious-debris-found-on-queensland-beac...
2•defrost•23m ago•0 comments

Nuclear Startups Hit a Big Milestone. Why It Matters–and Why It Doesn't

https://www.wired.com/story/nuclear-startups-hit-milestone-why-it-matters/
4•joozio•25m ago•0 comments

Agentsnap – find which config change broke your AI agent

https://drive.google.com/file/d/1oPTmOOkBtE0IRV4oy0K4NuuLxYBezXRc/view?usp=sharing
1•Gladi•29m ago•0 comments

Light Painting Tutorial, How to Light Paint a Light Man(2016)

https://lightpaintingphotography.com/light-painting-photography/light-painting-tutorial-how-to-li...
1•hopelessluca•35m ago•0 comments

GetSuperpower, an installable skill tree for coding agents

https://github.com/0xroylee/getsuperpower
2•1997roylee•35m ago•0 comments

'It's whack-a-mole': how Europe's smart border melted down

https://www.ft.com/content/3ed70f64-7443-4241-ac0f-38eabe218913
2•thm•38m ago•1 comments

Bending Spoons built a $23B tech empire from struggling brands

https://www.ft.com/content/040aac86-f458-400b-a353-7ff2ee5aa34f
2•mmarian•38m ago•1 comments

Notion based no code form builder

https://ndbforms.myurll.in/
1•nookeshkarri7•39m ago•0 comments

The Graduate-School Dropout Toppling China's Academic Stars

https://www.wsj.com/science/the-graduate-school-dropout-toppling-chinas-academic-stars-3c1e5d86
1•alecco•42m ago•1 comments

Toyota's CEO Warns the Company Might Not Survive

https://www.autonocion.com/us/toyota-crisis-chinese-evs/
2•Alien1Being•42m ago•0 comments

Show HN: Devflow CMS – Hybrid CMS Alternative to Joomla, Drupal, and WordPress

https://github.com/getdevflow
1•7mediaws•45m ago•0 comments

Is The Economist Always Wrong?

https://economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
1•andsoitis•46m ago•0 comments

Sollya: An environment and library for safe floating-point code development

https://www.sollya.org/
1•RossBencina•54m ago•0 comments

EV Batteries Are Defying Expectations After Miles

https://www.wsj.com/business/autos/ev-batteries-are-defying-expectations-after-hundreds-of-thousa...
17•apparent•55m ago•7 comments

Fidx – local semantic search in one SQLite file, no LLM at query

https://github.com/williamliu-ai/fidx
1•williamliu_ai•59m ago•0 comments

Security Roundup: Apple's Hide My Email Service Fails to Hide Your Email

https://www.wired.com/story/security-roundup-apples-hide-my-email-service-fails-to-hide-your-email/
1•01-_-•59m ago•0 comments

Show HN: Onboard-CLI, an AST-based tool to detect architectural drift

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•1h ago•0 comments

My manager appreciated my design process

3•Achuth123•1h ago•1 comments