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!

Amanda Gorman: white supremacy triangulates African American against Asian

https://www.instagram.com/reel/DgjLASBzuhC/
1•donsupreme•48s ago•0 comments

AGI Ruin: A List of Lethalities

https://www.lesswrong.com/posts/uMQ3cqWDPHhjtiesc/agi-ruin-a-list-of-lethalities
1•Alien1Being•1m ago•0 comments

Show HN: Image to Excel – Layout-aware table photos and scanned PDFs to .xlsx

https://imagetoexcel.io/
1•airapcreator•3m ago•0 comments

When stocks, houses and crypto fall, where does all that money go?

https://www.cbc.ca/1.6486826
1•thunderbong•5m ago•0 comments

Open-Source Developer Stands Up Against Synaptics Legal Threats over DisplayLink

https://www.phoronix.com/news/Vino-Driver-Redacted-Back
1•snvzz•6m ago•0 comments

BQP Lives Another Day

https://scottaaronson.blog/?p=10454
1•Alien1Being•6m ago•0 comments

Intelligence as a Resource

https://arxiv.org/abs/2612.04545
1•Anon84•8m ago•0 comments

AI Software Factories Were a Mistake

https://tej.as/blog/ai-software-factories-were-a-mistake
1•chriscbr•9m ago•0 comments

Show HN: A2a-gateway – Rust A2A v1.0 and MCP 2.0 gateway (973 RPS, 13.5 MB RAM)

https://github.com/csa7mdm/a2a-gateway
1•csa7mdm•12m ago•0 comments

The Mystery of the Continuously Functioning Battery from 1840 (2015)

https://www.smithsonianmag.com/smart-news/mystery-continuously-functioning-battery-1840-180954028/
1•saikatsg•15m ago•0 comments

Polish bare-knuckle fighter dies after bout, say fight organizers

https://www.cnn.com/2026/12/05/uk/bare-knuckle-fighter-magdon-dies-intl
1•begueradj•16m ago•0 comments

The Modern Marketing Implementation Process

https://cunderwood.dev/2026/12/06/the-modern-marketing-implementation-process/
1•fenier•20m ago•0 comments

Pioneer Head Unit Animations

https://github.com/youxufkhan/carozerra
1•kakadu•21m ago•0 comments

1k Issues, 500 PRs: Using AI to build a B2B app with no coding experience

https://mkpr.dev/notes/using-ai-to-build-a-b2b-app/
1•articul8info•22m ago•0 comments

Show HN: If Pokemon cards are quantum resistant, find those gems here

https://www.decard.fun
1•alleybo55•23m ago•0 comments

Deadly Thoughts

https://drb.ie/article/deadly-thoughts/
1•lermontov•31m ago•0 comments

Albums I Like

https://jaydip.me/music
1•jdsane•33m ago•0 comments

Lawyers Suing Nvidia Seize 'Gold Mine' in Huang Senate Testimony

https://www.bloomberg.com/news/articles/2026-12-05/lawyers-suing-nvidia-seize-gold-mine-in-huang-...
2•gwu78•33m ago•0 comments

Test Your Agents Inside a Copy of Your Company

https://mirrordimensions.com/
2•nakam0t0•43m ago•0 comments

Show HN: Song Mashup Maker – overlay two songs in-browser, no upload

https://song-mashup-maker.com/
1•kevinzrzgg•44m ago•0 comments

The Marine Aquarium Screensaver [video]

https://www.youtube.com/watch?v=PprsZgA-kxs
1•gregsadetsky•48m ago•0 comments

New York court bars Kalshi from offering sports bets to users under 21

https://www.reuters.com/legal/government/new-york-ag-says-court-bars-kalshi-offering-sports-bets-...
21•gwu78•51m ago•0 comments

Depth of Field Simulator

https://jherr.github.io/depth-of-field/
1•soheilpro•51m ago•0 comments

Naive, stumbling Jensen Huang is indispensable to our economy?? Really!?

https://nypost.com/2026/12/03/business/naive-stumbling-jensen-huang-is-indispensable-to-the-econo...
1•gwu78•55m ago•2 comments

One Model Family Across Four Tiers: The Sovereign AitherOS Stack and Mesh

https://blog.aitherium.com/blog/sovereign-multi-device-stack-and-mesh-aitheros
1•waizns•57m ago•0 comments

I let an AI agent organise my life and it became weirdly protective of me

https://www.bbc.co.uk/news/articles/cxvg21mzypyyo
2•mellosouls•1h ago•0 comments

Troubleshooting Analog Circuits(1993) [pdf]

https://www.changpuak.ch/electronics/downloads/Troubleshooting_Analog_Circuits.pdf
2•pillars•1h ago•0 comments

Unclaimed money: Why state listings can hide large sums

https://www.cnbc.com/2026/12/05/unclaimed-money-state-databases.html
2•kristianp•1h ago•2 comments

Data Center Supply Chains Fuel Record Share of U.S. Industrial Leasing

https://ir.cushmanwakefield.com/news/press-release-details/2026/Cushman--Wakefield-Data-Center-Su...
1•geox•1h ago•0 comments

Cliclick – execute mouse and keyboard related actions from the macOS shell

https://github.com/BlueM/cliclick
1•gregsadetsky•1h ago•0 comments