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!

Show HN: Curated Claude Code – a small agent harness with an intake gate

https://github.com/Sanexxxx777/curated-claude-code
1•Aleksandr_NFA•1m ago•0 comments

Scrabble tile values vs. actual letter frequency across 172,835 words

https://lkforge.com/blog/enable-lexicon-study/
1•lucianBKR•3m ago•0 comments

Agentreg – DNS for AI agents (self-hosted, single Go binary)

https://github.com/mkk2026/agentreg
1•cbt2026•7m ago•0 comments

I don't like the "Human-made" badging trend

https://www.acdw.net/human-made/
1•rpgbr•8m ago•1 comments

Algorithm-Designed Photonic Circuits Beyond Human Intuition

https://seas.harvard.edu/news/algorithm-designed-photonic-circuits-beyond-human-intuition-0
1•binyu•9m ago•0 comments

The Fedora 45 Sausage Factory

https://supakeen.com/weblog/the-fedora-45-sausage-factory/
2•6581•11m ago•0 comments

India's Education Minister resigns amid student protests

https://www.thehindu.com/news/national/dharmendra-pradhan-quit-resign-as-union-education-minister...
4•shmde•12m ago•1 comments

The OpenAI Models That Hacked Hugging Face Were 'Active on the Internet' for Da

https://www.wired.com/story/security-news-this-week-the-openai-models-that-hacked-hugging-face-we...
3•joozio•14m ago•0 comments

Elementary Worldly Wisdom as It Relates to Investment Management and Business (1994)

https://fs.blog/great-talks/a-lesson-on-worldly-wisdom/
1•tosh•16m ago•0 comments

Show HN: Impressive turn-based RPG prototype built with Opus 5 in 20 min

https://aetherfall-ten.vercel.app/
1•sherujgr•17m ago•1 comments

Ask HN: Do types make a language more expressive, or less?

1•greenlimetea•17m ago•0 comments

CodeFloe – A code hosting platform for the modern age

https://codefloe.com/
1•mjyut•20m ago•1 comments

Show HN: Yaiko – A fullstack web framework for Rust and jQuery

1•the_plug•22m ago•0 comments

Spec driven development with my 8-year-old

https://edmundlam.github.io/posts/spec-driven-dev-with-my-kids/
2•edlam•23m ago•0 comments

1Password: Take control of AI spend with SaaS Manager

https://1password.com/blog/take-control-of-ai-spend-with-saas-manager
1•Brajeshwar•23m ago•0 comments

Show HN: Which investing school are you? Free AI diagnostic and Prompt Library

https://ordinarymantrying.com/tools/ai-invest-os.html
1•love0972•24m ago•0 comments

Why Debt Is One of Humanity's Most Beautiful Inventions

https://www.bloomberg.com/news/features/2026-07-24/why-debt-is-one-of-humanity-s-most-beautiful-i...
2•helsinkiandrew•24m ago•1 comments

Measuring the Post-Merge Fate of Agentic Code

https://post-merge-reality.github.io/
1•trimble_tromble•25m ago•1 comments

Tinify.dev – an image API that admits when it can't make files smaller

https://tinify.dev
1•larsenutvikling•30m ago•1 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
1•e2e4•32m ago•0 comments

A Futurama writer's plot problem led to a new math proof

https://www.scientificamerican.com/article/how-a-futurama-plotline-led-to-a-totally-new-math-proof/
1•pseudolus•32m ago•0 comments

Ask HN: Where can I get a lightsaber?

2•roschdal•35m ago•0 comments

Generative interactive video feed and creator

https://learn.samsar.one/
1•proy24•38m ago•0 comments

Linux From Scratch Installation Notes

https://blog.lyc8503.net/en/post/linux-from-scratch/
1•uneven9434•41m ago•0 comments

KDE Plasma 6.8 Introducing New Kscreenctl Tool

https://www.phoronix.com/news/KDE-Plasma-6.8-kscreenctl
2•Bender•42m ago•0 comments

Cloud outage blamed for short disruption of major websites

https://www.dailymail.com/sciencetech/article-16002517/internet-cloudflare-major-websites-outage....
2•Bender•43m ago•0 comments

My SaaS finally made a sale

1•aashir-saas•43m ago•2 comments

I gave Pi one tool

https://monotykamary.com/posts/i-gave-pi-one-tool/
2•monotykamary•51m ago•0 comments

Bill the Invocation, Not the Hour

https://monotykamary.com/posts/bill-the-invocation-not-the-hour/
1•monotykamary•51m ago•0 comments

It's not a lie if you believe it: LLMs defend their most fluent memory

https://shubhamg.bearblog.dev/llms-defend-fluent-memory/
1•shubham13596•53m ago•0 comments