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!

Soon everybody will be worried about Chinese LLM's as agent Trojan horses

https://twitter.com/i/status/2080180914135667085
1•mherrmann•47s ago•0 comments

The Law of Leaky Abstractions (2002)

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
1•rldjbpin•2m ago•1 comments

Google's Design Ethicist Testimony [pdf]

https://www.commerce.senate.gov/wp-content/uploads/media/doc/06_25_19Harris_Testimony.pdf
1•malaiqa•3m ago•0 comments

Code review: slapping an AI reviewer on top of an AI author doesn't cut it

https://blog.codacy.com/ai-code-review-is-not-enough-how-engineering-leaders-should-gate-ai-gener...
1•ARayOutOfBounds•3m ago•0 comments

OpenAI's models broke free and launched a cyberattack

https://www.politico.com/news/2026/07/22/openai-hugging-face-congress-response-01009190
1•Alien1Being•3m ago•0 comments

Show HN: I built a token-per-second counter in Go

https://github.com/canergulay/tokps
1•canergl•6m ago•0 comments

Beyond Arc and GSM: Langford Coverage as a Benchmark for ASI

https://zenodo.org/records/21502973
1•Mlangford75•9m ago•1 comments

Stupid Slow: The Perceived Speed of Computers (2024)

https://www.datagubbe.se/stupidslow/
1•doener•10m ago•1 comments

KTransformers – Flexible LLM Inference Framework

https://ktransformers.net/en
1•stareatgoats•13m ago•0 comments

OpenAI's Australian data centre drops water recycling plan

https://www.reuters.com/business/energy/openais-australian-data-centre-drops-water-recycling-plan...
2•adithyaharish•14m ago•0 comments

I gave Pi one tool and it ran for eight days

https://monotykamary.com/posts/i-gave-pi-one-tool/
1•kennyfrc•14m ago•0 comments

Why creators are hedging against the TikTok algorithm

https://www.officeos.co/blog/why-creators-are-hedging-against-the-tiktok-algorithm
1•Harro123•14m ago•0 comments

I'm helping DBA-less SQL Server Shops for free hoping that I can build my leads

https://consulting.marlonribunal.com/
1•MarlonPro•14m ago•0 comments

Ode to Jim Goad

https://counter-currents.com/2026/07/ode-to-jim-goad/
1•MrBuddyCasino•14m ago•0 comments

Distillation Is Not Anti-American, Weaponizing It Is

https://hardcoresoftware.learningbyshipping.com/p/241-distillation-is-not-anti-american
1•rbanffy•15m ago•0 comments

Show HN: Clipboard Saver – Browser extension to save and organize copied text

https://github.com/tejasashinde/clipboard-saver-extension
1•tejas_s•17m ago•0 comments

Find the prefect domain name with Gemeni and Agents (Antigravity)

https://rizz.dev/blog/guides/find-an-available-domain-name-with-ai
1•rizzdev•18m ago•1 comments

Besser is an open-source low-code platform to build all APIs, databases, agents

https://besser-pearl.org/
1•u1hcw9nx•19m ago•0 comments

Buzz – Where people and agents work together

https://buzz.xyz
1•blackdivine•19m ago•0 comments

World Artificial Intelligence Cooperation Organization

https://en.wikipedia.org/wiki/World_Artificial_Intelligence_Cooperation_Organization
1•iamflimflam1•20m ago•0 comments

Prefactoring: Clear the Way for Your New Feature

https://testing.googleblog.com/2026/07/prefactoring-clear-way-for-your-new.html
1•birdculture•21m ago•0 comments

Antares: Highly Efficient Open Weight AI Models for Vulnerability Localization

https://blogs.cisco.com/ai/introducing-antares-the-most-efficient-open-weight-ai-models-for-vulne...
1•shallow-mind•29m ago•0 comments

Iran strikes on CIA facilities prompt questions about possible Russian role

https://www.reuters.com/world/middle-east/iran-strikes-cia-facilities-prompt-questions-about-poss...
2•geox•31m ago•0 comments

Recent Data Graphics Pulling Their Weight

https://www.anychart.com/blog/2026/07/10/data-graphics-pull-their-weight/
1•latentframe•33m ago•0 comments

Valve give Steam Wishlist and Steam Gifts a major needed upgrade

https://www.gamingonlinux.com/2026/07/valve-give-steam-wishlist-and-steam-gifts-a-major-needed-up...
1•Erenay09•36m ago•0 comments

Graffiti (Conjecture-Generating Program)

https://en.wikipedia.org/wiki/Graffiti_(program)
1•YeGoblynQueenne•36m ago•0 comments

Show HN: Loop me in - Get looped into people's chats with AI. Help out. Get paid

https://www.loopmein.ai/
1•guico•37m ago•1 comments

Lira Engine – prove your data isn't in an LLM (AUC-ROC 1.000)

https://medium.com/@v_regis/why-self-auditing-your-ai-model-violates-eu-ai-act-article-53-22f693f...
1•roundcurtain•39m ago•0 comments

Incident Report for GitHub – Latency issues across a number of services

https://www.githubstatus.com/incidents/zq3c1jst2vkq
2•1f97•49m ago•0 comments

Show HN: OpenCode Session Tracker

https://github.com/ykocaman/opencode-session-tracker/tree/main
1•ykocaman•50m ago•2 comments