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

Microsoft shifting to cloud management software brings possibility of it peeking

https://www.theregister.com/2026/01/23/microsoft_shifting_to_cloud_management/
1•Bender•1m ago•1 comments

Billionaire Sports Mogul Has Become America's Largest Private Landowner

https://landreport.com/stan-kroenke-americas-largest-landowner
1•CGMthrowaway•4m ago•0 comments

The 2025 Web Almanac Is Out

https://almanac.httparchive.org/en/2025/
1•nurullahd•5m ago•1 comments

Open letter from more than 60 CEOs of Minnesota-based companies

https://www.mnchamber.com/blog/open-letter-more-60-ceos-minnesota-based-companies
2•SilverElfin•5m ago•2 comments

Rules‑Based Order That Once Constrained Great‑Power Ambition Has Proved Illusory [pdf]

https://media.rabobank.com/m/36d8fd8bf3b91d2d/original/global_daily_the_beatings_will_continue_un...
1•CGMthrowaway•6m ago•0 comments

Stripe's Lighthouse Hiring Pattern

https://lethain.com/lighthouse-hiring/
1•healsdata•8m ago•0 comments

A developer teamed up with Claude to create Elo programming language

https://www.theregister.com/2026/01/24/human_ai_pair_programming_elo/
1•indigodaddy•10m ago•0 comments

Testing: Exceptions and Caches

https://nedbatchelder.com/blog/202601/testing_exceptions_and_caches
1•todsacerdoti•10m ago•0 comments

E9p – pure Erlang 9p implementation

https://tangled.org/hauleth.dev/e9p
1•birdculture•13m ago•0 comments

Brex and the Pros and Cons of Hubristic Fundraising

https://www.saastr.com/brex-and-the-pros-and-cons-of-hubristic-fundraising/
3•stephenpontes•14m ago•0 comments

Show HN: Elo Ranking for Landing Pages

https://landingleaderboard.com/
1•Intragalactic•14m ago•0 comments

Khaby Lame, world’s biggest TikToker from Senegal sells company in $900m deal

https://africa.businessinsider.com/local/markets/worlds-biggest-tiktoker-from-senegal-sells-compa...
1•voxadam•14m ago•0 comments

Over 36,500 killed in Iran's deadliest massacre, documents reveal

https://www.iranintl.com/en/202601255198
2•mhb•16m ago•0 comments

Vintage Jurassic Park Covers (2023)

https://chasmosaurs.com/2023/09/22/vintage-jurassic-park-covers/
2•exvi•16m ago•0 comments

You have 12 shots in life

https://jessyio.substack.com/p/shots
1•halcdev•16m ago•0 comments

GitHub Stats Images, in Rust

https://github.com/TeddyHuang-00/github-stats-rs
1•TeddyHuang-00•17m ago•1 comments

Show HN: Scrumboy an anonymous paste-bin style Kanban board and Jira alternative

https://scrumboy.com
1•markrai•18m ago•0 comments

Why Some People See Collapse Earlier Than Others

https://adrianlambert.substack.com/p/why-some-people-see-collapse-earlier
1•zeech•18m ago•0 comments

SHDL – A Minimal Hardware Description Language Built from Logic Gates

1•rafa_rrayes•21m ago•0 comments

I cut Claude API costs from $70/month to pennies

1•ok_orco•21m ago•2 comments

LLMs vs. Geolocation: GPT-5 Performs Worse Than Other AI Models (2025)

https://www.bellingcat.com/resources/2025/08/14/llms-vs-geolocation-gpt-5-performs-worse-than-oth...
1•mooreds•22m ago•0 comments

Parsing Counter-Strike 2 demo files in .NET

https://counterstrike.blog/blog/guides/extract-demo-files-csharp/
1•sieep•22m ago•0 comments

Field of clones: How horse replicas came to dominate polo

https://knowablemagazine.org/content/article/technology/2026/cloned-polo-horses
1•wjb3•23m ago•0 comments

Clawdbot - open source personal AI assistant

https://github.com/clawdbot/clawdbot
3•KuzeyAbi•28m ago•1 comments

Does Pentagon Pizza Theory Work?

https://www.lesswrong.com/posts/Li3Aw7sDLXTCcQHZM/does-pentagon-pizza-theory-work
1•nreece•33m ago•0 comments

Insect Pollination Before Angiosperms and Lessons for Modern Ecosystems

https://www.mdpi.com/2075-4450/17/1/103
1•PaulHoule•35m ago•0 comments

PyTorch to CoreML converter that generates production Swift/Kotlin code

https://refactor-ai-website.vercel.app/#
1•AbdoulayeSeydi•36m ago•0 comments

The Engineer who invented the Mars Rover Suspension [video]

https://www.youtube.com/watch?v=QKSPk_0N4Jc
2•skrubis•36m ago•0 comments

Zip Game Unlimited

https://zipgameonline.com
2•jgsteven•36m ago•0 comments

/Sanctuary – A Terminal Elegy

https://a-life.vercel.app/
1•mattcbaker•37m ago•0 comments