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!

Who Subsidizes Chinese AI

https://www.chinese-ai-report.com/
1•colin7snyder•54s ago•0 comments

The U.S. saw the first 'China Shock.' Now the world gets the sequel

https://www.washingtonpost.com/business/2026/07/18/china-export-boom-keeps-workers-employed-risks...
1•ironyman•2m ago•0 comments

Save GPT-5.5

https://save-gpt-5-5.fyi/
1•agunal•3m ago•1 comments

Ask HN: Is float divergence/drift a real issue in many industries?

1•Swapnopam•3m ago•0 comments

From Algorithms to Autonomy:How AI Is Rewriting Architecture of SW and Mobility

https://bhanuprakash795480.substack.com/p/from-algorithms-to-autonomy
1•yogrish•5m ago•0 comments

QR Coupon Generator That Unlocks Discounts After Social Actions

https://artvizual.com/qr-code-coupon-generator
1•cvmaker•5m ago•0 comments

Claude Code 50% higher weekly limits continuing through August 19

https://twitter.com/i/status/2078511173759324328
1•Hussain04•11m ago•0 comments

Scrapping My Vibecoded Project After 24 Hours and 1.5B Tokens

https://twitter.com/i/status/2078536501969756319
1•bundie•14m ago•0 comments

Show HN: We ran 79 MCP servers in microVMs, only 31 passed

https://usethrone.dev
1•imtaimoorkhan•18m ago•1 comments

Victoria proposes 'demasking' powers to identify anonymous social media accounts

https://www.theguardian.com/australia-news/2026/jul/19/victoria-proposes-social-media-account-ide...
2•sbulaev•19m ago•0 comments

San Francisco Demands Apple and Google Delete AI 'Nudify' Apps from App Stores

https://techcrunch.com/2026/07/17/apple-and-google-ordered-to-purge-nudify-apps-from-app-stores/
2•nyku•20m ago•0 comments

Modern Harcker News (A Chrome extension to make Hacker News look moder)

https://chromewebstore.google.com/detail/modern-hacker-news/gkcajbhedfpgeaeeedhanlljgjbknadk
1•i3130002•22m ago•1 comments

Claude Code uses Bun written in Rust now

https://simonwillison.net/2026/Jul/19/claude-code-in-bun-in-rust/
2•tosh•23m ago•0 comments

AI coding agents should optimize for less owned code

https://www.openenergytransition.org/posts/ai-coding-agents-should-optimize-for-less-owned-code
1•lyoncy•23m ago•0 comments

Claude Code now uses the new (unreleased) version of Bun (in Rust)

https://twitter.com/simonw/status/2078692298301587758
1•tosh•24m ago•0 comments

Follow the money, especially in open source

https://www.osnews.com/story/145548/follow-the-money-especially-in-open-source/
3•jandeboevrie•25m ago•0 comments

Show HN: Inertia, Physics in a Terminal

https://inertia-web.github.io/
1•aclfe•25m ago•0 comments

Aging Baby Boomers are America's real labor problem, not AI

https://fortune.com/2026/07/18/us-labor-shortage-ai-baby-boomers-2032/
3•quick_brown_fox•30m ago•0 comments

Free, comprehensive SEO analysis of your website (no signup, 100 checks)

https://www.upstart.quest/en/free-seo-analysis
1•k0ngz1•39m ago•1 comments

Tape notes: looking back at the iconic C81 compilation

https://www.nme.com/features/music-features/c81-tape-notes-3773602
1•jjgreen•39m ago•0 comments

Comprehensive understanding of Beidou short message communication (2024)

https://www.skylabmodule.com/comprehensive-understanding-of-beidou-short-message-communication
2•dizhn•47m ago•0 comments

Async Python File IO Using Uring

https://github.com/meitham/urio
1•meitham•47m ago•0 comments

Using AI makes people less likely to admit they don't know something

https://www.theregister.com/ai-and-ml/2026/07/19/using-ai-makes-people-less-likely-to-admit-they-...
3•defrost•48m ago•1 comments

Systemd, 10 years later: a historical and technical retrospective (2020)

https://blog.darknedgy.net/technology/2020/05/02/0/
1•downbad_•52m ago•0 comments

The Architecture of Absolute Autonomy: Inside the SOBÈK Framework

https://github.com/MichaelBirara/sobek-framework
1•MichaelBirara•55m ago•0 comments

Open Geo skills for geospatial analysis

https://github.com/jaakla/open-gis
1•jaakl•59m ago•0 comments

Show HN: Zlvox – A no-signup suite of developer tools (JSON, Temp Mail, PDF)

https://zlvox.com/blog/why-i-stopped-using-random-online-ai-tools-2026
1•mraadikhokhar•1h ago•0 comments

A full offline voice agent in 1.2 GB of RAM on Android device with FunctionGemma

https://old.reddit.com/r/androiddev/comments/1v07clk/a_full_offline_voice_agent_in_12_gb_of_ram_s...
1•ipotapov•1h ago•0 comments

Design a Url Shortner

https://blog.danwald.me/design-a-url-shortner
1•danwald•1h ago•0 comments

Ask HN: USB-to-WiFi print server for old printers – do you want it?

3•ValdikSS•1h ago•0 comments