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

War.gov/UFO Files Explorer

https://hypergrid.systems/war.gov-ufo-viewer/?ok
1•keepamovin•33s ago•0 comments

Germany's Decline in Data

https://ourdeclineindata.com/
1•mpweiher•1m ago•0 comments

Mystery of G Hackman

4•nmeofunowho•5m ago•0 comments

What's a Mathematician to Do?

https://mathoverflow.net/questions/43690/whats-a-mathematician-to-do
1•ipnon•5m ago•0 comments

Why Not GitHub? (2017)

https://sanctum.geek.nz/why-not-github.html
1•jruohonen•7m ago•0 comments

Who invented file extensions in file names? (2023)

https://retrocomputing.stackexchange.com/questions/27926/who-invented-file-extensions-in-file-names
1•aragonite•9m ago•0 comments

Space Cadet Pinball on Linux

https://brennan.io/2026/05/09/pinball-and-escrow/
1•jandeboevrie•10m ago•0 comments

Do you take after your dad's RNA?

https://knowablemagazine.org/content/article/living-world/2026/epigenetic-effects-of-sperm-on-off...
1•ndr42•12m ago•0 comments

JDownloader Got Hacked

https://jdownloader.org/incident_8.5.2026.html?v=20260508277000
1•campuscodi•13m ago•0 comments

Profiling.sampling – Statistical Profiler

https://docs.python.org/3.15/library/profiling.sampling.html#module-profiling.sampling
2•djoldman•13m ago•0 comments

Codebadger – MCP server for static code analysis with Joern

https://github.com/lekssays/codebadger
1•codebadger•16m ago•0 comments

Show HN: Generate a lot of ad creatives for your SaaS in one click

https://zenduxai.com
1•total_plus•16m ago•0 comments

Data as a Product Is a Promise

https://yusufaytas.com/data-as-a-product-a-new-frontier
5•yapqueen•17m ago•0 comments

Boards of Canada – Introit / Prophecy at 1420 MHz

https://www.youtube.com/watch?v=74NluS3jzTo
1•nntwozz•20m ago•0 comments

Doctors Just Staged the Quietest Coup in American History

https://thegrimhistorian.substack.com/p/36-doctors-just-staged-the-quietest
16•s4i•22m ago•4 comments

Will AI kill the research paper?

https://marginalrevolution.com/marginalrevolution/2026/05/will-ai-kill-the-research-paper.html
3•smitty1e•23m ago•0 comments

Multi-camera scenes and Smart transitions in our open-source 3D web platform

https://vectreal.com/news-room/camera-presets-and-transitions
1•Vectreal-Admin•23m ago•0 comments

Tech is turning increasingly to religion in a quest to create ethical AI

https://apnews.com/article/ai-artificial-intelligence-ethics-religion-roundtable-053a44133c64703f...
2•cainxinth•23m ago•0 comments

Amazon's data center in Chile is moving forward

https://www.reuters.com/sustainability/land-use-biodiversity/amazons-chile-data-center-moves-ahea...
1•01-_-•24m ago•0 comments

Robot Operating System

https://en.wikipedia.org/wiki/Robot_Operating_System
1•tosh•27m ago•0 comments

There's a Long-Shot Proposal to Protect California Workers from AI

https://www.wired.com/story/tom-steyer-proposes-jobs-guarantee-to-protect-california-workers-from...
2•joozio•28m ago•0 comments

Upgrade your Symfony 1.x Website To PHP 8.x Compatibility – PHP 8.5.6 Tested

https://github.com/se7enxweb/symfonyone
2•7x•34m ago•1 comments

Technical Dimensions of Programming Systems

https://tomasp.net/techdims/
2•tosh•38m ago•0 comments

NV-CA state line casinos and truck stop to close July 4

https://www.vvdailypress.com/story/news/local/2026/05/06/primm-casinos-closing-along-stateline-hu...
1•burnt-resistor•39m ago•0 comments

Steering Zig Fmt

https://matklad.github.io/2026/05/08/steering-zig-fmt.html
1•birdculture•39m ago•0 comments

If you're a programmer and you feel depressed by AI, don't be!

https://unixdigest.com/articles/if-youre-a-programmer-and-you-feel-depressed-by-ai-dont-be.html
2•jruohonen•40m ago•0 comments

Israel's AI targeting system: data from a phone become a death sentence

https://www.latimes.com/world-nation/story/2026-05-04/inside-israels-ai-targeting-system-how-data...
3•YeGoblynQueenne•40m ago•0 comments

AI Startup's Software Watches Employees as They Work

https://www.forbes.com/sites/rashishrivastava/2026/05/10/this-ai-startups-software-watches-employ...
3•geox•41m ago•0 comments

Counterfeit Power Cables – A Fire Waiting to Happen

https://goughlui.com/2026/05/09/notes-counterfeit-power-cables-a-fire-waiting-to-happen/
1•giuliomagnifico•50m ago•0 comments

Cangjie, Huawei's new language for HarmonyOS NEXT

https://cangjie-lang.cn/en/docs?url=%2F0.53.13%2Fuser_manual%2Fsource_en%2Ffirst_understanding%2F...
1•pjmlp•56m ago•0 comments