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: Stickblade Arena – I made two LLMs sword-fight to benchmark them

https://stickblade-arena.vercel.app
1•pioneer37•2m ago•0 comments

FDA Approves a New Pill to Slash Cholesterol Levels

https://www.nytimes.com/2026/07/16/science/the-fda-approves-a-new-pill-to-slash-cholesterol-level...
1•gmays•2m ago•0 comments

Apple raises prices for Apple Music and Apple One subscriptions

https://9to5mac.com/2026/07/17/apple-raises-prices-for-apple-music-and-apple-one-subscriptions/
1•elffjs•7m ago•0 comments

BYD aims to overtake Toyota in five years without relying on the US market

https://carnewschina.com/2026/07/15/byd-aims-to-overtake-toyota-in-five-years-without-relying-on-...
1•awad•12m ago•0 comments

What Is China's Moonshot AI and Why Is It Roiling Markets?

https://www.bloomberg.com/news/articles/2026-07-17/what-is-moonshot-ai-why-china-s-new-model-is-r...
1•technewssss•12m ago•0 comments

Randomverse – A randomized, algorithm-free social network

https://randomverse-social.vercel.app
1•MohammedBokir•12m ago•0 comments

Show HN: Run Hermes Agent with Kimi 3 in a sandbox

1•oryx1729•15m ago•1 comments

Why the People Who Could Fix It Are the First to Leave

https://www.hackingleadership.com/p/why-the-people-who-could-fix-it-are-the-first-to-leave
3•backlit4034•17m ago•0 comments

Portents of Doom

https://blog.dshr.org/2026/07/portents-of-doom.html
1•FabHK•18m ago•0 comments

WTH is up with Network School?

https://sextechandmergers.blogspot.com/2026/07/wth-is-up-with-network-school.html
1•jerng•19m ago•1 comments

Update: Mochizuki's ABC Conjecture proof is unformalizable

https://twitter.com/FumiharuKato/status/2078017230537892207
1•amichail•20m ago•1 comments

Kimi K3 may have distilled an unreleased Anthropic model

https://twitter.com/bourneliu66/status/2078150582054133991
3•seviu•21m ago•1 comments

Tell HN: Not everyone has internet as fast as yours

2•jedberg•22m ago•1 comments

Show HN: World map of 1418 modern robotics startups

https://roboticsregistry.net/map?access=3f6d290ae651f8e6e8263077fb24568aa95cbcac84dcbdff&lat=18.7...
1•make_it_sure•22m ago•0 comments

Better Call Sol the Workhorse

https://thezvi.wordpress.com/2026/07/13/better-call-sol-the-workhorse/
2•gmays•25m ago•0 comments

The instant database scratchpad: xata scratch

https://xata.io/blog/the-instant-database-scratchpad-xata-scratch
3•tudorg•25m ago•0 comments

xAI can't deny Grok makes CSAM anymore. So it's suing users

https://arstechnica.com/tech-policy/2026/07/xai-cant-deny-grok-makes-csam-anymore-so-its-suing-us...
3•pavel_lishin•26m ago•0 comments

JustOverlap – Scheduling with multiple guests and team availability

https://justoverlap.com/
2•bitvaulty•26m ago•0 comments

The housing theory of everything (2021)

https://worksinprogress.co/issue/the-housing-theory-of-everything/
1•mooreds•29m ago•0 comments

Help a Psychotherapist Brainstorm?

1•polymath88•29m ago•0 comments

China's data annotation industry shows how jobs evolve with tech advancement

https://www.globaltimes.cn/page/202606/1363363.shtml
1•pretext•29m ago•0 comments

America had a love affair with 'fixer-upper' homes. That may be over

https://www.cnn.com/2026/07/17/business/america-fixer-upper-homes
1•mooreds•29m ago•0 comments

ICE Flight Monitor Interactive Dashboard

https://www.humanrightsfirst.org/ice-flight-monitor-interactive-dashboard
2•mooreds•29m ago•0 comments

Homebrew and How the Apple Came to Be – Stephen Wozniak (1984)

https://www.atariarchives.org/deli/homebrew_and_how_the_apple.php
2•lioeters•29m ago•0 comments

Meta accused of using AI to pick employees with medical conditions for layoffs

https://www.latimes.com/business/story/2026-07-16/meta-accused-of-using-ai-to-pick-employees-with...
3•speckx•31m ago•1 comments

Review the actual change, not the file list

https://packagemain.tech/p/review-the-actual-change-not-the
1•der_gopher•32m ago•0 comments

Help a Psychotherapist Brainstorm

https://www.actualizebeing.com
1•polymath88•35m ago•0 comments

Victory Flock Ends Rollout of Audio "Distress Detection" of Human Voices

https://www.eff.org/deeplinks/2026/07/victory-flock-ends-rollout-audio-distress-detection-human-v...
1•speckx•35m ago•0 comments

Order and Chaos (256 Shades or Dirtiness)

https://replicated.live/blog/status
1•gritzko•37m ago•0 comments

Researchers shed new light on ancient concrete's extraordinary durability

https://engineering.berkeley.edu/news/2026/07/researchers-shed-new-light-on-ancient-concretes-ext...
2•speckx•38m ago•0 comments