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!

Sack unpatriotic staff and reinstate the "loyal toast", ex-Australian PM says

https://www.smh.com.au/national/sack-unpatriotic-teachers-and-bring-back-the-loyal-toast-abbott-s...
1•Alien1Being•54s ago•0 comments

Databricks in Talks for $232B Value with New Funding

https://www.bloomberg.com/news/articles/2026-12-02/databricks-in-talks-for-232-billion-value-with...
1•olivierlandry•1m ago•0 comments

OpenAI: Preserve GPT-6 and Other Legacy Models. Protect Our Freedom to Choose

https://drive.google.com/file/d/1LWbWO8dO5gN-V6oD7CAXRtLo_f1Mi0-I/view?usp=drivesdk
1•Roger-Evelyn•2m ago•0 comments

Source Control at Agent Scale

https://gitslice.io/blogs/agent-scale-source-control
1•shenli3514•3m ago•0 comments

A Touching MacBook

https://spyglass.org/macbook-pro-proled-xdr-touch-thoughts/
1•bentocorp•5m ago•0 comments

The mobile-home trap: How a Warren Buffett empire preys on the poor

https://www.seattletimes.com/business/real-estate/the-mobile-home-trap-how-a-warren-buffett-empir...
1•paimapi•6m ago•0 comments

Claude can now run on-premises via AWS AI Factories

https://claude.com/resources/articles/run-claude-on-premises-via-AWS-AI-factories
2•khalidkhair•6m ago•0 comments

The American Myth Does Not Prepare Us for ASI

https://blog.bawolf.com/p/the-american-myth-does-not-prepare
1•bryantwolf•7m ago•0 comments

Carbon capture project triggering earthquakes in Alberta, study finds

https://www.cbc.ca/news/canada/edmonton/edmonton-shell-quest-9.7444943
1•rkagerer•7m ago•0 comments

Debug Network Error in Python Requests

https://www.workflows.guru/blogs/debugging-network-errors
1•ask3m•8m ago•0 comments

NixOS Specialisations

https://nobe4.fr/posts/nixos-specialisations/
1•ibobev•10m ago•0 comments

Reverse-engineered open-source Nvidia driver for Linux

https://www.notebookcheck.net/Reverse-engineered-open-source-Nvidia-driver-for-Linux-improves-per...
1•ibobev•11m ago•0 comments

How AI Is Changing the Way Employees Spend Time at Work

https://www.gallup.com/workplace/716585/ai-changing-employees-spend-time-work.aspx
1•hn_acker•11m ago•0 comments

Telecons devlog: building a Parsec/Moonlight alternative over P2P QUIC

https://progrium.xyz/logs/2026/12-01-2/
1•matanyall•13m ago•0 comments

Show HN: Vibefield, a zooming user interface for LLMs

https://www.vibefield.ai
1•p_pourdavood•13m ago•0 comments

Advent of Places: Elk Ridge Mobile Home Park

https://computer.rip/2026-12-01-advent-1.html
1•titusblair•14m ago•0 comments

IBM AIX 5L for Itanium (Project Monterey) on QEMU with CDE and Networking

https://virtuallyfun.com/2026/12/02/ibm-aix-5l-for-itanium-ia64-project-monterey-on-qemu-w-cde-an...
1•titusblair•14m ago•0 comments

Trump FCC chair shrugs off ABC's court win, vows to keep punishing TV networks

https://arstechnica.com/tech-policy/2026/11/trump-fcc-chair-shrugs-off-abcs-court-win-vows-to-kee...
1•hn_acker•16m ago•0 comments

Continuwuity v26.11.0

https://forgejo.ellis.link/continuwuation/continuwuity/releases/tag/v26.11.0
1•birdculture•17m ago•0 comments

California lawsuit claims Kalshi 'aggressively' markets to users as young as 18

https://www.espn.com/sports-betting/story/_/id/50665779/california-sues-kalshi-illegal-sports-gam...
4•cdrnsf•18m ago•0 comments

Ask HN: Do AI companies want an AI pause/slowdown for selfish reasons?

2•amichail•20m ago•0 comments

Local AI for Xmas [video]

https://www.youtube.com/watch?v=YyK1W5E-S7k
1•hsnewman•21m ago•0 comments

AWS re:Invent 2026 Resources Hub

https://resources.anthropic.com/2026-aws-reinvent-resources-hub
1•cebert•21m ago•0 comments

Show HN: Tierwyn – A meta-harness for your coding agents

https://tierwyn.dev/
1•rdeangel•24m ago•0 comments

Show HN: Volcano Client: A Rewrite of the Minecraft Client in C++

https://github.com/gabrieljemail/Volcano-Client
1•badimo57•24m ago•1 comments

Bankrupt Character.AI is poised to sell user data for $10M

https://techcrunch.com/2026/12/01/once-worth-over-1b-bankrupt-character-ai-is-poised-to-sell-user...
8•lwhsiao•31m ago•1 comments

Recube: A Lean-Verified Static Recompiler for GameCube Games

https://github.com/tripplyons/recube
1•tripplyons•33m ago•0 comments

Why is pop culture dying

https://www.worksinprogress.news/p/why-is-pop-culture-dying
2•sien•35m ago•0 comments

Salesforce Falls on Outlook Below Estimates, Feeding AI Fears

https://www.bloomberg.com/news/articles/2026-12-02/salesforce-gives-outlook-that-misses-estimates...
4•toomuchtodo•36m ago•1 comments

Xbox CLI – Build, release, and operate Xbox games from your terminal

https://github.com/xbox/cli
1•Handy-Man•37m ago•0 comments