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!

The Company of the Future [video]

https://www.youtube.com/watch?v=deiLxNZH_DM
1•cavoirom•1m ago•0 comments

WebKit Features for Safari 27.1

https://webkit.org/blog/18486/webkit-features-for-safari-27-1/
1•ingve•3m ago•0 comments

ReplaySSM: Cache SSM Inputs, Not State (Tri Dao)

https://tridao.me/blog/2026/replayssm/
1•motownphilly•5m ago•0 comments

Free My TV: An Ad-Free Home Screen for Google TV, LG and Samsung TVs

https://github.com/simbasjungles/free-my-tv
1•acossta•7m ago•0 comments

IXL Acquires NoRedInk

https://app.dealroom.co/news/note/ixl-learning-acquires-writing-platform-noredink-used-in-9-of-10...
1•mathattack•8m ago•0 comments

Minimum lot sizes, Boeing's next 737 MAX, Fervo short sellers, Figure AI's data

https://www.construction-physics.com/p/reading-list-102426
1•juliangamble•14m ago•0 comments

I can't believe we're still arguing over whether X is for jerks

https://lexontech.org/i-cant-believe-were-still-arguing-over-whether-x-is-for-jerks
3•DeepLogin•15m ago•0 comments

China's Baidu tests robotaxi on London streets

https://www.reuters.com/business/finance/chinas-baidu-tests-robotaxi-london-streets-2026-10-23/
2•pretext•17m ago•0 comments

Show HN: BulkTextKit – 15 free text tools that run entirely in your browser

https://bulktextkit.gt.tc
4•sujalkhatri•18m ago•0 comments

Solving a Giant Rubik's Cube with a Quadruped Robot

https://leggedrobotics.github.io/rubik-skills/
1•thedreammachine•20m ago•0 comments

Crowley's Three Axes of JSON Queryin

https://nrposner.com/blog/crowleys-three-axes-of-json-querying/
1•mpweiher•22m ago•0 comments

jedna

https://triapul.cz/jedna/
1•jruohonen•23m ago•0 comments

Inside Meta’s Efforts to Prevent School Shootings

https://www.newyorker.com/news/the-lede/inside-metas-efforts-to-prevent-school-shootings
1•thm•30m ago•0 comments

Yeti, an MCP server that guides product design from requirements to Jira

https://github.com/macorifice/yeti
1•macorifice•36m ago•1 comments

Shigeru Miyamoto on Gen AI

https://www.ndw.jp/nintendo-interview-261023/
1•glimshe•37m ago•0 comments

OpenShell WebUI – a secure local web UI for OpenShell

https://github.com/shaharia-lab/openshell-webui
1•shahariaa•39m ago•0 comments

PSA: Do not use term "vibe coding"

3•Rabbit504030201•42m ago•4 comments

Amazon's Trainium Takes a Strike at the Training King

https://newsletter.semianalysis.com/p/amazons-trainium-takes-a-strike-at
3•admjs•45m ago•0 comments

Show HN: I built a gallery wall planner for two-sided physical art

https://duoarts.com/gallery-walls
2•redclamp•45m ago•0 comments

The Faux-Vintage Photo: Full Essay

https://thesocietypages.org/cyborgology/2011/05/14/the-faux-vintage-photo-full-essay-parts-i-ii-a...
1•jruohonen•46m ago•0 comments

PhysicsForums and the Dead Internet Theory (2025)

https://hallofdreams.org/posts/physicsforums/
2•bmacho•49m ago•1 comments

I wish restaurants would stop asking for my phone number

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
1•bookofjoe•50m ago•1 comments

Portable SIMD is in C++26, and you can try it now

https://wrocpp.github.io/posts/portable-simd/
1•Tomte•51m ago•0 comments

What's at Stake in Serbia's Election

https://rademeechtatic.substack.com/p/whats-at-stake-in-serbias-election
1•samizdis•52m ago•0 comments

Ask HN: Linux at work revoked due to MDM, how to fight?

1•aleda145•53m ago•4 comments

Created my first app petpal

https://play.google.com/store/apps/details?id=com.nexushybrids.petpal&hl=en_US
1•Mohtasim801•59m ago•0 comments

Draggy: A Windows desktop app for local and cloud AI chat and coding

https://github.com/Lucki74/draggy
1•lucki74•1h ago•0 comments

Show HN: AI text detector that never sees your text (runs 100% in-browser)

https://kouh.me/ai-text-detector
4•mrkn1•1h ago•5 comments

Is This Machine Playing?

https://machineplaying.org/
1•DeepLogin•1h ago•0 comments

Researchers Integrate Electronics with Human Cells

https://www.umass.edu/news/article/body-electric-umass-amherst-researchers-integrate-electronics-...
2•geox•1h ago•0 comments