frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo 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!

Let's Talk About What It Means to Rest for the Sake of Rest

https://electricliterature.com/lets-talk-about-what-it-means-to-rest-for-the-sake-of-rest/
1•herbertl•10m ago•0 comments

In search of our own voice

https://www.animationxpress.com/latest-news/guest-column-in-search-of-our-own-voice/
1•herbertl•10m ago•0 comments

Pokémon card thefts on the rise [video]

https://www.youtube.com/watch?v=ZEDXXascuTw
1•mgh2•11m ago•0 comments

Germany's shut down of nuclear plants a 'huge mistake', says Merz

https://brusselssignal.eu/2026/01/germanys-shut-down-of-nuclear-plants-a-huge-mistake-says-merz/
3•walterbell•11m ago•0 comments

A beautifully designed particle mouse effect

https://chromewebstore.google.com/detail/crazy-cursor-magical-part/eejfljdgkaanachdckmpmfgjhncihfmd
1•spacedogs•14m ago•0 comments

Trump wants tech companies to foot bill for new power plants due to AI

https://www.cnbc.com/2026/01/16/trump-wants-tech-companies-to-foot-the-bill-for-new-power-plants-...
1•jnord•15m ago•0 comments

How Etsy Uses LLMs to Improve Search Relevance

https://www.etsy.com/codeascraft/how-etsy-uses-llms-to-improve-search-relevance
1•zdw•21m ago•0 comments

Nvidia suppliers halt H200 output after China blocks chip

https://www.ft.com/content/02a3eb7c-684f-4e39-87b8-36e9595ef800
2•SanjayMehta•25m ago•1 comments

Ask HN: What are good tools for creating a video or interactive demo for a SaaS?

2•rishabhpoddar•27m ago•0 comments

Intuition why the derivative of $e^x$ is itself

https://math.stackexchange.com/questions/3511144/intuition-why-the-derivative-of-ex-is-itself
1•throwoutway•29m ago•0 comments

A Calif. teen trusted ChatGPT's drug advice. He died from an overdose

https://www.sfgate.com/tech/article/calif-teen-chatgpt-drug-advice-fatal-overdose-21266718.php
4•freediver•31m ago•0 comments

Gas Town is a glimpse into the future

https://johncodes.com/archive/2026/01-16-a-glimpse-into-the-future/
2•jpmcb•34m ago•0 comments

Building a Quake PC

https://fabiensanglard.net/quake_pc/index.html
2•zdw•36m ago•0 comments

China Clamps Down on High-Speed Traders, Removing Servers

https://www.bloomberg.com/news/articles/2026-01-16/china-clamps-down-on-high-speed-traders-removi...
5•petethomas•41m ago•0 comments

Astronaut Charlie Duke (2021) [video]

https://www.youtube.com/watch?v=U7jWk0u4K-E
1•ceroxylon•49m ago•1 comments

I skipped Japan's university exam to write a "computational metaphysics" exam

2•fumi2026•51m ago•0 comments

Grand Illusion

https://chrishedges.substack.com/p/grand-illusion-read-by-eunice-wong
2•chmaynard•54m ago•0 comments

Artisanal Code

https://sunnyamrat.com/posts/2026-01-17-artisanal-code/
3•sunnyam•54m ago•0 comments

Lucasfilm President Kathleen Kennedy to step down

https://www.latimes.com/entertainment-arts/business/story/2026-01-15/lucasfilm-president-kathleen...
4•iancmceachern•56m ago•1 comments

Stay-at-home sons are here – and they're not going anywhere

https://www.washingtonpost.com/style/trends/2026/01/16/stay-at-home-sons/
2•blondie9x•58m ago•2 comments

Show HN: Agent Coworking,Multi-agent networks for AI collaboration (open source)

https://openagents.org/showcase
2•snasan•59m ago•0 comments

Ask HN: Can companies claim copyright over their LLM-generated codebases?

3•mks_shuffle•1h ago•2 comments

GitHub Copilot now supports OpenCode

https://github.blog/changelog/2026-01-16-github-copilot-now-supports-opencode/
4•todsacerdoti•1h ago•0 comments

Show HN: I gave AI persistent memory. Someone didn't like that

1•Shaximus•1h ago•0 comments

Dispute with Russian billionaire leads to 4 Bay Area bankruptcies

https://www.sfgate.com/tech/article/russian-billionaire-four-biotech-bankruptcies-21299298.php
5•nradov•1h ago•0 comments

Crypto grifters are recruiting open-source AI developers

https://www.seangoedecke.com/gas-and-ralph/
13•lalitmaganti•1h ago•1 comments

GoodJob, Solid Queue, Sidekiq, Active Job, in 2026

https://island94.org/2026/01/goodjob-solid-queue-sidekiq-active-job-in-2026
1•thunderbong•1h ago•0 comments

Ben Affleck and Matt Damon on the Limits of AI in Filmmaking [video]

https://www.youtube.com/watch?v=O-2OsvVJC0s
5•karakoram•1h ago•0 comments

Every Inch Matters

https://mercurialsolo.substack.com/p/every-inch-matters
1•mercurialsolo•1h ago•1 comments

Chinese Fishing Boats Form Sea Barriers

https://www.nytimes.com/interactive/2026/01/16/world/asia/china-ships-fishing-militia-blockade.html
6•SubiculumCode•1h ago•3 comments