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!

The Stochastically K Shaped Job Market

https://www.williamangel.net/blog/2026/06/05/the-stochastically-k-shaped-engineering-job-market.html
1•datadrivenangel•52s ago•0 comments

Silicon Valley's Secretive, Orgiastic Dark Side (2018)

https://www.vanityfair.com/news/2018/01/brotopia-silicon-valley-secretive-orgiastic-inner-sanctum
1•mgh2•1m ago•0 comments

Getting silly with C, part and((int*)1)[-1]

https://lcamtuf.substack.com/p/getting-silly-with-c-part-and-int1
1•surprisetalk•2m ago•0 comments

Show HN: Backup Your Perplexity Research to Markdown and Obsidian

https://chatgpt2notion.com/products/perplexity-to-obsidian/
1•chatgpt2notion•13m ago•0 comments

Show HN: Zedra – Mobile control plane for AI coding agents

1•tanlethanh•15m ago•0 comments

Why is the HN crowd so anti-AI?

2•Ekami•15m ago•4 comments

Definitive guide for creating skill.md for your tools

https://docsalot.dev/blog/what-is-skill-md
1•fazkan•21m ago•0 comments

Agent-ML-skills – Teach Codex/Claude/Cursor to stop making ML mistakes

https://github.com/param087/agent-ml-skills
1•param087•25m ago•0 comments

Show HN: Apple Contacts MCP – Local AI Access to macOS Contacts

https://github.com/lu-wo/apple-contacts-mcp
1•luwo•26m ago•0 comments

Trump Signals Interest in US Owning Stakes in Top AI Labs

https://www.bloomberg.com/news/articles/2026-06-05/us-exploring-government-partnerships-with-ai-f...
3•grassfedgeek•33m ago•2 comments

A better go file/text sharing service with single binary, inspired by microbin

https://github.com/zaaack/go-bin
1•zaaack•34m ago•0 comments

Show HN: The Deterministic Core Architecture for AI-Augmented Applications

https://brandonbellsystems.com/deterministic-core/
1•Brandon_Bell•40m ago•0 comments

Something is jamming GPS over Europe. Here's what we found (Veritasium) [video]

https://www.youtube.com/watch?v=tz23G_UXCGA
3•kordlessagain•46m ago•1 comments

Show HN: Lite Agent redefines what an AI agent is

https://liteagent.cloud
2•cheikhshift•46m ago•0 comments

Show HN: Declank – Remove AI Watermarks from Images

https://declank.skeptrune.com/
1•skeptrune•50m ago•0 comments

Bernie Sanders: A.I. Is a Public Resource. You Should Own Half of It

https://www.nytimes.com/2026/06/01/opinion/artificial-intelligence-bernie-sanders.html
6•ankitr•54m ago•2 comments

SAT-Physical Thermodynamic Framework: treating constraints as a thermal system

https://github.com/alikamp/SAT_HARDNESS_P-NP
1•kauai1•58m ago•0 comments

Tinker Cookbook

https://github.com/thinking-machines-lab/tinker-cookbook
2•dima1830•58m ago•0 comments

Why sophrosyne, an ancient Greek virtue, matters more than ever in the age of AI

https://theconversation.com/why-sophrosyne-an-ancient-greek-virtue-matters-more-than-ever-in-the-...
2•1659447091•58m ago•0 comments

Rethinking the Value of Generated Tests for LLM Software Engineering Agents

https://arxiv.org/abs/2602.07900
1•zuzululu•1h ago•0 comments

Ask HN: Will your company be doing "LeetCode" interviews a year from now?

2•locusofself•1h ago•5 comments

Show HN: Incremental SfM pipeline that reconstructs 3D point clouds from images

https://github.com/egeozgul/Incremental-3D-Reconstruction-SfM/tree/main
1•egeozgul•1h ago•0 comments

Show HN: ABC Classic 100 Rankings visualised

https://classic100.gotski.workers.dev/
15•gotski•1h ago•11 comments

Some concerns about Ladybird's bylaws

https://tuananh.net/2026/06/06/ladybird-bylaws/
3•tuananh•1h ago•3 comments

Alzheimer's patient gets back speech, bladder control and memory in drug trial

https://nypost.com/2026/06/04/health/alzheimers-patient-recovers-speech-continence-and-memory-wit...
7•virgildotcodes•1h ago•2 comments

Google will pay SpaceX $920M per month for compute capacity

https://twitter.com/JackKuhr/status/2062975800488394777
6•bear_with_me•1h ago•2 comments

Protein overabundance is driven by growth robustness

https://www.science.org/doi/10.1126/sciadv.adz9623
1•PaulHoule•1h ago•0 comments

Ask HN: Questions about HN and life questions

2•mwhite•1h ago•0 comments

Unlocking Non-Uniform KV Cache for Efficient Multi-Turn LLM Serving

https://arxiv.org/abs/2606.06302
1•johnbarron•1h ago•0 comments

Astrocytic Contributions to Cognition Across Rodent Models of Brain Dysfunction

https://www.mdpi.com/2218-273X/16/5/662
1•PaulHoule•1h ago•0 comments