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

SoulForge: AI coding agent with a live codebase graph and headless

https://github.com/ProxySoul/soulforge
1•proxysoul•28s ago•0 comments

Vermin Supreme: When I'm President Everyone Gets a Free Pony [video]

https://www.youtube.com/watch?v=4d_FvgQ1csE
1•nomilk•41s ago•0 comments

A CLI that forces LLMs to defend their answers

https://deepwiki.com/grainulation/wheat
1•volatilityfund•1m ago•0 comments

CBP Facility Codes Sure Seem to Have Leaked via Online Flashcards

https://www.wired.com/story/cbp-facility-codes-sure-seem-to-have-leaked-via-online-flashcards/
1•couchand•2m ago•0 comments

Landdown – Simple sandboxing for shell scripts

https://git.sr.ht/~marcc/landdown
1•birdculture•2m ago•0 comments

Access Advance vs. Avanci Video: How the Streaming Programs Calculate Royalties

https://streaminglearningcenter.com/articles/access-advance-vs-avanci-video-how-the-streaming-pro...
1•breve•3m ago•0 comments

Company Records and Publishes Zoom Meetings

https://www.schneier.com/blog/archives/2026/04/company-that-secretly-records-and-publishes-zoom-m...
1•walterbell•4m ago•0 comments

Chiles v. Salazar: The Supreme Court Issues a Bad Good First Amendment Decision

https://www.techdirt.com/2026/04/03/in-chiles-v-salazar-the-supreme-court-issues-a-bad-good-first...
1•hn_acker•5m ago•1 comments

US targets Chinese chipmaking with proposed export restrictions

https://www.reuters.com/world/china/us-targets-chinese-chipmaking-with-proposed-export-restrictio...
2•abdelhousni•6m ago•0 comments

Trump's ballroom fight sheds new light on an underground White House bunker

https://www.npr.org/2026/04/03/nx-s1-5772665/trump-ballroom-underground-military-bunker
5•alamortsubite•9m ago•0 comments

SiteDialect – Make any website multilingual with one script tag

https://sitedialect.com/
1•xLFCx•15m ago•0 comments

OpenRazer 3.12.1 Enables Two More Razer Devices Under Linux

https://www.phoronix.com/news/OpenRazer-3.12.1-Released
1•doener•16m ago•0 comments

The FAA "Temporary" Drone Restriction Blatant Attempt to Criminalize Filming ICE

https://www.eff.org/deeplinks/2026/04/faas-temporary-flight-restriction-drones-blatant-attempt-cr...
8•detaro•19m ago•0 comments

Half of planned US data center builds have been delayed or cancelled

https://www.tomshardware.com/tech-industry/artificial-intelligence/half-of-planned-us-data-center...
5•jnord•19m ago•0 comments

The Last Quiet Thing

https://www.terrygodier.com/the-last-quiet-thing
2•wrxd•23m ago•0 comments

Linux Gaming Got an Upgrade

https://www.youtube.com/watch?v=Jyjwi4vhLtI
2•doener•23m ago•0 comments

Open Source Routing Machine

https://project-osrm.org/
2•omnibrain•24m ago•0 comments

Some victims of deadly Tahoe avalanche wore airbags that never inflated

https://www.sfgate.com/bayarea/article/deadly-tahoe-avalanche-report-22187407.php
2•randycupertino•25m ago•0 comments

Ask HN: What’s missing in this chat app (90% LLM cost savings)?

https://github.com/20centAI/20centai
1•20centAI•25m ago•0 comments

Anthropic just cut off Claude subscriptions for OpenClaw

2•stosssik•28m ago•1 comments

Claude Code Found a Linux Vulnerability Hidden for 23 Years

https://mtlynch.io/claude-code-found-linux-vulnerability/
4•eichin•29m ago•2 comments

Dragonbane is a classic fantasy tabletop roleplaying game

https://freeleaguepublishing.com/games/dragonbane/
1•doener•33m ago•0 comments

Tomorrow 12pm PT, Claude subscriptions no longer cover third-party tools

https://twitter.com/bcherny/status/2040206440556826908
2•empressplay•39m ago•1 comments

ENiGMA½ BBS Software

https://github.com/NuSkooler/enigma-bbs/
1•NuSkooler•41m ago•1 comments

Kids groups say they didn't know OpenAI was behind their child safety coalition

https://sfstandard.com/2026/04/01/openai-ai-kids-safety-coalition/
6•heavyset_go•43m ago•0 comments

Outdated language obscures the risks of autonomous weapons

https://thebulletin.org/2026/04/outdated-language-obscures-the-risks-of-autonomous-weapons/
3•jonbaer•44m ago•1 comments

No-AI code analysis found issue in HF tokenizers

https://zenodo.org/records/19409933
1•promptfluid•44m ago•0 comments

Flattening the Duck Curve: batteries reach 44% of evening demand in California

https://reneweconomy.com.au/grid-batteries-reach-stunning-new-peak-of-44-pct-of-evening-demand-in...
7•bronson•45m ago•0 comments

Extra usage credit for Claude to celebrate usage bundles launch (Pro, Max, Team)

https://support.claude.com/en/articles/14246053-extra-usage-credit-for-pro-max-and-team-plans
7•angst•49m ago•3 comments

Ask HN: Anthropic changing billing for third-party harnesses for Teams Accounts?

1•qdot76367•50m ago•0 comments