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!

Implementing SEH in Rust and why you shouldn't do it

https://engineering.zeroitlab.com/2022/03/13/rust-seh/
1•not_a9•1m ago•1 comments

How to turn Claude Code transcripts into a shareable link

https://lore.link/blog/how-we-built-share
1•feifan•1m ago•0 comments

Fragmentation of sunfish caused by high-impact ramming behavior in orcas

https://www.frontiersin.org/journals/ethology/articles/10.3389/fetho.2026.1835536/full
1•mooreds•3m ago•0 comments

Feel The AGI: a collection of my Twitter bookmarks over the past year

https://feel-the-agi.exe.xyz/
1•voat•5m ago•0 comments

Untangler, Rectangle-style window management for GNOME

https://github.com/bluvulture/untangler
1•shonster88•7m ago•0 comments

Ask HN: What's Up with Archive.today?

1•nobody9999•7m ago•0 comments

Dolmenwood: Fantasy RPG built around the acclaimed Old-School Essentials rules

https://necroticgnome.com/collections/dolmenwood
1•doener•9m ago•0 comments

Benchmarking Qwen 3.6 35B MoE (3B active) on an RTX 3090

https://www.gilesthomas.com/2026/07/benchmarking-qwen-3-6-35b-moe-rtx-3090
1•gpjt•9m ago•0 comments

Rmatch: Fast Java native regex matcher for lots of expressions and data

https://github.com/la3lma/rmatch
1•rmzdotno•9m ago•0 comments

Beautiful description of the lattice of sets of natural numbers

https://jdh.hamkins.org/the-lattice-of-sets-of-natural-numbers-is-rich/
1•benmandrew•11m ago•0 comments

Wrap – a Claude Code skill that tells you if a session is safe to close

https://github.com/ravsau/wrap
1•cloudyeti•12m ago•0 comments

FalconAI – An intent-driven media discovery platform

https://play.google.com/store/apps/details?id=com.falconai.tv&hl=en_US
1•erind_musliu•13m ago•0 comments

h5i-db: Fast Embeded Time-Series Database Written in Rust

https://medium.com/@Koukyosyumei/inside-h5i-db-fast-embeded-database-for-time-series-analytics-56...
1•syumei•16m ago•0 comments

Show HN: Kalytera – Find out why your AI agent failed, step-by-step

https://kalytera.dev
1•mathurpriya19•17m ago•0 comments

AIs don't do what you want. This is bad

https://rewardhacking.org
3•kking23•19m ago•0 comments

AMD announced its $5.4B ATI acquisition 20 years ago today

https://videocardz.com/newz/amd-announced-its-5-4-billion-ati-acquisition-20-years-ago-today
1•AbuAssar•22m ago•0 comments

New Challenging Browser game about finding compound words

https://compoundedgame.com/
2•JohnyOxford•23m ago•1 comments

An Early Warning of Emerging Biosecurity Risks in Frontier LLMs

https://arxiv.org/abs/2607.18056
1•StatsAreFun•24m ago•0 comments

Show HN: Money Life, a financial SIM where burning out is a losing state

https://drakeai.app/game/
1•a_protsyuk•26m ago•0 comments

AI Bubble: 'The risk is everywhere' – Ed Zitron [video]

https://www.youtube.com/watch?v=bTwnn-5TpmQ
2•baranul•29m ago•0 comments

Query cycles: A compiler murder mystery

https://ferrous-systems.com/blog/query-cycles-a-compiler-murder-mystery/
1•birdculture•29m ago•0 comments

AI companies stripping universities of their best computer scientists

https://www.theatlantic.com/technology/2026/07/ai-companies-hiring-academics/688002/
4•bookofjoe•30m ago•2 comments

Sakana: Fugu Ultra vs. GLM 5.2

https://runtimewire.com/article/head-to-head-sakana-fugu-ultra-vs-glm-5-2
1•ryanmerket•30m ago•0 comments

The Aside That Built a Test Suite

https://www.racecondition.software/blog/the-aside-that-built-a-test-suite/
1•ingve•33m ago•0 comments

Hermes AI agent used to automate attack on Thai Finance Ministry

https://www.bleepingcomputer.com/news/security/hermes-ai-agent-used-to-automate-attack-on-thai-fi...
2•sbulaev•36m ago•0 comments

Lessons from Indonesia's 10-year journey towards universal health coverage

https://www.worldbank.org/en/programs/multi-donor-trust-fund-for-integrating-externally-financed-...
2•testing22321•37m ago•0 comments

Show HN: Proving Go 1.26's runtime/secret keeps secrets out of core dumps

https://towardsdev.com/runtime-secret-go-1-26s-answer-to-secrets-leaking-in-core-dumps-d884615e971f
1•cheikhdev•39m ago•0 comments

The False Promise of the First 'Smart' Homes

https://thereader.mitpress.mit.edu/the-false-promise-of-the-first-smart-homes/
2•EA-3167•41m ago•1 comments

The Bitmap Brothers – Gaming Legends [video]

https://www.youtube.com/watch?v=TBYQxMJ5GM8
1•doener•42m ago•0 comments

Show HN: KoIME – A BYOK voice-input keyboard for Android

https://github.com/sakai-sktech/koime
2•gysakai•42m ago•1 comments