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!

There is a problem with users abusing flagging on HN (2025)

https://twitter.com/paulg/status/1907528478855201096
1•washingupliquid•1m ago•0 comments

Want to AI proof your degree? Study History

https://froginawell.net/frog/2026/05/want-to-ai-proof-your-degree-study-history/
1•speckx•2m ago•0 comments

Roadside Picnic and the AI Race

https://readgrounded.com/episodes/001-golden-sphere/
1•readgrounded•2m ago•0 comments

'systematic' rape and sexual violence during Hamas' Oct 7 attack on Israel

https://www.cnn.com/2026/05/12/middleeast/report-sexual-violence-hamas-oct-7-attacks-intl
1•Tomte•2m ago•0 comments

Operation: Epic Furious

https://www.epicfurious.com/
1•dmschulman•3m ago•0 comments

Ask HN: Any materials on building distributed rate limiter?

2•ravshan•3m ago•0 comments

"Cannot be explained" – New ultra stainless steel stuns researchers

https://www.sciencedaily.com/releases/2026/05/260510030950.htm
1•bilsbie•5m ago•0 comments

South Korea's housing crisis explained (2025)

https://lgiu.org/south-koreas-housing-crisis-explained/
1•thelastgallon•5m ago•0 comments

Stochastic Parrots: Frequently Unasked Questions

https://medium.com/@emilymenonbender/stochastic-parrots-frequently-unasked-questions-49c2e7d22d11
1•cratermoon•5m ago•0 comments

Bioplastics Toxicity Upon Ingestion: Biotransformation and GI Effects

https://www.mdpi.com/2073-4360/18/9/1091
1•PaulHoule•5m ago•0 comments

Why senior developers fail to communicate their expertise

https://www.nair.sh/guides-and-opinions/communicating-your-expertise/why-senior-developers-fail-t...
1•nilirl•7m ago•0 comments

Apple Sales Coach Will Use AI-Generated Video Presenters

https://www.macrumors.com/2026/05/12/apple-sales-coach-will-use-ai-generated-presenters/
1•ndr42•8m ago•0 comments

Show HN: UIGen – Production UI from any API spec with full override control

https://github.com/darula-hpp/uigen
1•ombedzi•9m ago•0 comments

Bambu Lab 3D printers: Never again

https://www.youtube.com/watch?v=eb48MdtNaDQ
1•chakintosh•10m ago•0 comments

You cannot sell AI written software

https://blog.habets.se/2026/05/You-cannot-sell-AI-written-software.html
1•abnercoimbre•11m ago•2 comments

Heartfelt

https://nicopr.fr/tmp/shades/heartfelt.html
1•bookofjoe•11m ago•0 comments

'I have an A because I use Chat'

https://www.msn.com/en-us/news/technology/i-have-an-a-because-i-use-chat-what-uc-students-say-abo...
1•danorama•11m ago•1 comments

" are ready to take your money"

https://www.rubenerd.au/are-ready-to-take-your-money/
1•speckx•13m ago•0 comments

Humanoid robots to become baggage handlers in Japan airport experiment

https://www.theguardian.com/world/2026/apr/28/humanoid-robots-baggage-handlers-japan-airports
1•PaulHoule•13m ago•0 comments

Incident with CodeQL

https://www.githubstatus.com/incidents/z3jhyg3l0dvx
2•chenrui•13m ago•0 comments

Treat Me Like an Investor

https://cameronwestland.com/treat-me-like-an-investor/
1•camwest•13m ago•0 comments

Fixing headline-only RSS feeds with RSS-fulltext

https://mijndertstuij.nl/posts/introducing-rss-fulltext/
1•mijndert•14m ago•0 comments

ChatGPT Performs Better on Julia Than Python for LLM Code Generation. Why?

https://www.stochasticlifestyle.com/chatgpt-performs-better-on-julia-than-python-and-r-for-large-...
1•thetwentyone•14m ago•0 comments

Ask HN: How do you keep up with blogs from people you follow?

1•kalinkochnev•14m ago•2 comments

Starting 1:1s on the Right Foot

https://personalis.io/blog/one-on-ones
1•sylvanjsmit•15m ago•0 comments

Thomas Massie Has Always Been a Pain in the Ass

https://www.motherjones.com/politics/2026/05/thomas-massie-has-always-been-a-pain-in-the-ass/
1•aworks•15m ago•1 comments

UK Biobank breach prompts the field of genomics to rethink open science

https://www.nature.com/articles/d41586-026-01520-w
1•Brajeshwar•16m ago•0 comments

Show HN: Grunden – Frontier AI inference hosted in Sweden, OpenAI-compatible

https://grunden.ai
3•fsrc•16m ago•0 comments

Lemmy Needs Diversity

https://somethingwonderful.eu/lemmy-needs-diversity.html
1•speckx•16m ago•0 comments

Interactive LLM ArXiv paper knowledge graph

https://gravity7.com/KnowledgeGraph/knowledge-graph.html
1•gravity7•16m ago•1 comments