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!

Ask HN: Was Node.js a Mistake?

1•danver0•1m ago•0 comments

Semiconductor Fabs III: Ion Implantation

https://nomagicpill.substack.com/p/ion-implantation
1•nomagicpill•4m ago•0 comments

Golden Dome, an AI-powered weapon system in orbit

https://en.wikipedia.org/wiki/Golden_Dome_(missile_defense_system)
1•infinitewars•11m ago•0 comments

US science after a year of Trump

https://www.nature.com/immersive/d41586-026-00088-9/index.html
5•mcyc•12m ago•0 comments

Microsoft chief Satya Nadella warns AI boom could falter without wider adoption

https://www.ft.com/content/2a29cbc9-7183-4f68-a1d2-bc88189672e6
2•petethomas•16m ago•0 comments

Building a Real-Time HN Display for $15

https://medium.com/@lee.harding/building-a-real-time-hn-display-for-15-3ea1772051ff
3•mlhpdx•17m ago•1 comments

Opinions and Networking

1•iliakoliev•20m ago•0 comments

Help with Lineageos

1•ycombadmin2•25m ago•1 comments

Show HN: On-Device (Offline) AI SDK for iOS (LLMs, Vision and Stable Diffusion)

1•bigman1113•25m ago•0 comments

Running custom code on a PAX credit card machine by swapping the SoC

https://lucasteske.dev/2025/09/running-code-in-pax-machines
1•rmast•30m ago•0 comments

A Lament for Aperture

https://ikennd.ac/blog/2026/01/old-man-yells-at-modern-software-design/
1•firloop•30m ago•0 comments

Google temporarily disabled YouTube's advanced captions without warning

https://arstechnica.com/gadgets/2026/01/google-temporarily-disabled-youtubes-advanced-captions-wi...
1•zdw•31m ago•0 comments

Sandbox Your AI Dev Tools: A Practical Guide for VMs and Lima

https://www.metachris.dev/2025/11/sandbox-your-ai-dev-tools-a-practical-guide-for-vms-and-lima/
1•bonsai_spool•33m ago•0 comments

Own.page – A Bento.me Alternative (Bento Is Shutting Down)

https://own.page/
1•ElitzaVasileva•37m ago•0 comments

Prometheus Monitoring with NixOS in LXC on Proxmox

https://blog.gk.wtf/posts/nixos-monitoring/
1•gianklug•37m ago•0 comments

Gödel, Turing, and AI: the Incomplete Space in Post-AI Architecture

https://jimiwen.substack.com/p/godel-turing-and-ai
2•jimiwen•38m ago•0 comments

The Engineering of Runways [video]

https://www.youtube.com/watch?v=ZJqY1WLX4zA
1•vismit2000•38m ago•0 comments

Suicides Were Frequent at the Golden Gate Bridge. Not Anymore

https://www.nytimes.com/2026/01/20/us/golden-gate-bridge-suicides.html
1•tempestn•43m ago•0 comments

Show HN: Generative UIs for the Web (Experimental)

https://github.com/puffinsoft/syntux
3•TheDever•43m ago•0 comments

Bazel 9 LTS

https://blog.bazel.build/2026/01/20/bazel-9.html
1•agluszak•43m ago•0 comments

The Commoditization of Services

https://blog.excel.holdings/p/the-commoditization-of-services
1•carlcortright•44m ago•0 comments

Who Owns Rudolph's Nose?

https://creativelawcenter.com/copyright-rudolph-reindeer/
3•ohjeez•44m ago•0 comments

Bazel 9.0.0 Release

https://github.com/bazelbuild/bazel/releases/tag/9.0.0
1•agluszak•46m ago•0 comments

A rather unique Aussie web design and hosting company

https://payorpissoff.com/
1•luke_s•46m ago•1 comments

Windows 11 had 20 major update problems in 2025 and and 2026 started badly too

https://www.windowslatest.com/2026/01/21/windows-11-had-20-major-update-problems-in-2025-and-and-...
3•speckx•46m ago•0 comments

Palantir CEO Says AI to Make Large-Scale Immigration Obsolete

https://www.bloomberg.com/news/articles/2026-01-20/palantir-ceo-says-ai-to-make-large-scale-immig...
4•voxadam•49m ago•2 comments

Crypto payment cards surge 22x in daily transactions since late 2024

https://www.theblock.co/post/386371/crypto-payment-cards-inflection-point-daily-transactions-surg...
2•adrianwaj•53m ago•0 comments

Ask HN: Is Linux Safe to Daily drive in 2026?

13•A_Random_Nerd•53m ago•15 comments

Designing Forms That Don't Get in the Way

https://www.souravinsights.com/blog/on-designing-forms
1•SouravInsights•53m ago•0 comments

I Have a Problem

1•ycombadmin2•54m ago•0 comments