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

Automate the Food (2024)

https://chisness.substack.com/p/automate-the-food
2•thelastgallon•3m ago•0 comments

SpaceX IPO set to ensure Elon Musk cannot be fired

https://www.ft.com/content/00382ab9-3dfe-468c-8966-853cd787dd43
2•1vuio0pswjnm7•3m ago•0 comments

OpenJDK: Project Leyden

https://openjdk.org/projects/leyden/
2•tosh•4m ago•0 comments

What's Easy Now? What's Hard Now?

https://brooker.co.za/blog/2026/05/18/whats-easy-whats-hard.html
2•r4um•5m ago•0 comments

He's king of the AI boom. Why do former colleagues say he can't be trusted?

https://www.washingtonpost.com/technology/2026/05/16/elon-musk-trial-against-sam-altman-renews-qu...
2•1vuio0pswjnm7•7m ago•0 comments

Filipino virtual assistants behind LinkedIn's "thought leadership" content mill

https://restofworld.org/2026/virtual-assistant-linkedin-engagement/
4•jethronethro•10m ago•0 comments

Building a Location Display Map with PCB Art

https://www.robopenguins.com/pcb-map/
2•axlan•13m ago•1 comments

Layoffs and Harsh AI Reality Inside Meta

https://www.cnbc.com/2026/05/18/metas-layoffs-starting-this-week-underscore-zuckerbergs-ai-realit...
2•signa11•14m ago•0 comments

Transition of Adobe eBook Platform to Wipro Engineering

https://helpx.adobe.com/enterprise/kb/eol-faq-adobe-digital-editions.html
2•tusslewake•15m ago•0 comments

Show HN: Closed Rings – A CLI-first time tracker for developers

https://closedrings.sh/en
2•samacs•15m ago•0 comments

Fender escalates legal campaign against S-style guitars

https://www.guitarworld.com/gear/electric-guitars/fender-cease-and-desist-lsl-instruments
2•rectang•16m ago•1 comments

A Fearful Phone Call and a Frantic Search Preceded Mosque Shooting

https://www.nytimes.com/2026/05/18/us/san-diego-mosque-shooting-search.html
2•Cider9986•19m ago•0 comments

Signal warns it would pull out of Canada if made to comply with access bill

https://www.theglobeandmail.com/politics/article-signal-warns-it-would-pull-out-of-canada-if-made...
7•gnabgib•26m ago•2 comments

Show HN: MyUUIDshop, Generate UUIDs and never worry about duplicates

https://myuuid.shop
2•scrygl•26m ago•1 comments

Show HN: Nano-RAG – Agentic multi-hog retrieval without graph database

2•freakynit•28m ago•0 comments

Microsoft rejects critical Azure vulnerability report, no CVE issued

https://www.bleepingcomputer.com/news/security/microsoft-rejects-critical-azure-vulnerability-rep...
4•olearysec•29m ago•0 comments

Windows AI Background Services Are Slowing Down Your PC

https://www.fixtech.co.ke/2026/05/windows-ai-background-services-are.html
4•rindodi•35m ago•2 comments

Show HN: It is hard to show genuine work on HN

3•shailendra_sis•38m ago•3 comments

Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised

https://safedep.io/mini-shai-hulud-strikes-again-314-npm-packages-compromised/
5•theanonymousone•39m ago•0 comments

Nordstjernen Web Browser

https://www.nordstjernen.org/
5•roschdal•41m ago•2 comments

What I Told Charles About RFCs

https://uaxd.fr/dispatches/what-i-told-charles-about-rfcs.html
1•enoch_cg•46m ago•0 comments

Linux 7.1-rc4: security list "almost unmanageable" from AI bug reports

https://lwn.net/Articles/1073192/
4•zdkaster•49m ago•1 comments

No, I don't want my kids using your stupid AI

https://www.theglobeandmail.com/life/article-no-i-dont-want-my-kids-using-your-stupid-ai/
4•petethomas•50m ago•3 comments

The 30 Year Game

https://remysharp.com/2026/05/17/the-30-year-game
1•tobr•57m ago•0 comments

In Memoriam: Peter G. Neumann (1932-2026)

https://cacm.acm.org/news/in-memoriam-peter-g-neumann-1932-2026/
2•fork-bomber•57m ago•0 comments

Standard Chartered to cut roles as AI use increases

https://www.bbc.com/news/articles/crep3v8vzglo
2•KnuthIsGod•1h ago•0 comments

Xiaomi YU7 GT Breaking the Nürburgring SUV Lap Record [video]

https://www.youtube.com/watch?v=Fx6d-K_8QXg
1•gainsurier•1h ago•0 comments

Mug Shots: A Small Town Noir (2014)

https://theappendix.net/issues/2014/4/mug-shots-a-small-town-noir
3•samclemens•1h ago•0 comments

As of April 2026: Iran has destroyed 42 U.S. Military Aircraft in Op: Epic Fury

https://nationalsecurityjournal.org/iran-destroyed-42-u-s-military-aircraft-in-operation-epic-fur...
26•Gaishan•1h ago•3 comments

We Made a World for Bots

https://empaworld.ai
1•sarah-oates•1h ago•0 comments