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!

A Claude Code and Codex Skill for Deliberate Skill Development

https://github.com/DrCatHicks/learning-opportunities
1•cdrnsf•1m ago•0 comments

NYC*Bug May 2026: The Design of Unix Shell, with Stephen R. Bourne

https://www.youtube.com/watch?v=Anr2UAs7ifY
1•bluesounddirect•1m ago•1 comments

Andrew's Layoff Checklist

https://docs.google.com/document/d/1FaDxhnCXsneXbel5XVRAyX0Ce1RyC1F__wGboBBPlBM/edit?tab=t.0
1•mooreds•7m ago•0 comments

NASA's James Webb Space Telescope Photostream

https://www.flickr.com/photos/nasawebbtelescope/
1•mooreds•8m ago•0 comments

Reddit Is (Mostly) Shuttering R/All, but There's Still a Way to Access It

https://lifehacker.com/tech/reddit-is-mostly-shutting-down-r-all?test_uuid=zXnWOLjQQwkYjMVwrvo5w&...
1•big_toast•10m ago•0 comments

Charity Majors on AI, Observability, and the Future of Software [audio]

https://scalingdevtools.com/podcast/episodes/charity
1•mooreds•13m ago•0 comments

Ask HN: Are SaaS businesses going to zero?

1•nomilk•13m ago•4 comments

Eliza: Natural Language Processing from 1967

https://en.wikipedia.org/wiki/ELIZA
1•frasermarlow•13m ago•1 comments

On-Device Real-Time Speech-to-Speech Translation [video]

https://www.youtube.com/watch?v=D9id2Dgv_OM
1•kenarsa•16m ago•0 comments

My life was changed by four sentences in four books

https://sive.rs/4s4b
2•James72689•16m ago•0 comments

Show HN: Sync creative assets to any CMS

https://syncific.com
2•lightsyncpro•19m ago•0 comments

Show HN: Short links and dynamic QR codes you can white-label as your own SaaS

https://linked.codes/
1•attendos•20m ago•0 comments

Measuring the Self-Reported Impact of Early-2026 AI on Tech Worker Productivity

https://metr.org/blog/2026-05-11-ai-usage-survey/
1•willmarch•21m ago•1 comments

Show HN: Containarium – self-hosted sandbox for AI agents, MCP-native

https://github.com/footprintai/Containarium
1•hsin003•28m ago•0 comments

Microsoft BitLocker – YellowKey zero-day exploit

https://www.tomshardware.com/tech-industry/cyber-security/microsoft-bitlocker-protected-drives-ca...
4•cookiengineer•29m ago•0 comments

Terax – Lightweight (7MB) AI Terminal Emulator (ADE) in Rust, Tauri, and React

https://terax.app
2•nikolay•36m ago•1 comments

CVE-2026-45793: Anatomy of a 14-Hour PHP Supply-Chain Near-Miss

https://github.com/graycoreio/github-actions-magento2/discussions/261
1•damienwebdev•36m ago•1 comments

MacBook Neo Review: The Laptop for the Rest of Us

https://fireborn.mataroa.blog/blog/macbook-neo-review-the-laptop-for-the-rest-of-us/
4•vinhnx•37m ago•1 comments

Gaining control of every projector and camera on campus

https://www.edna.land/blogs/posts/scanning/
1•ednaordinary•37m ago•0 comments

Butter Box – Sharing offline has never been easier

https://likebutter.app/
1•MRPockets•38m ago•0 comments

Extortion Using Smart Glasses Is a Thing Now

https://gizmodo.com/extortion-using-smart-glasses-is-a-thing-now-2000755562
2•dataflow•47m ago•0 comments

Show HN: MerryDiv – Track dividends across all your brokerage accounts

https://www.merrydiv.com/
2•zouko•52m ago•0 comments

Tell HN: Starting June 15, claude -p usage will change

2•andersonmvd•56m ago•1 comments

LinkedIn planning to lay off 5% of staff

https://www.reuters.com/business/world-at-work/linkedin-is-planning-lay-off-5-staff-latest-tech-s...
7•doppp•58m ago•1 comments

The Chip War Nobody Saw Coming: Samsung vs. SK Hynix

1•xurgadis•1h ago•1 comments

SwiftUI Is a Disaster

https://ben1777.substack.com/p/swiftui-is-a-disaster
1•bentocorp•1h ago•0 comments

Harvey's Legal Agent Benchmark

https://www.harvey.ai/blog/introducing-harveys-legal-agent-benchmark
1•gmays•1h ago•0 comments

The Ten Commands of the Nine Divines

https://en.uesp.net/wiki/Lore:Ten_Commands:_Nine_Divines
1•alhazrod•1h ago•0 comments

ICE may be at World Cup matches in U.S.

https://www.nbcnews.com/sports/soccer/ice-may-world-cup-matches-us-rcna344797
8•mgh2•1h ago•0 comments

Meta launches WhatsApp 'incognito' mode to address privacy concerns for AI chats

https://apnews.com/article/whatsapp-meta-ai-chatbot-privacy-9a5f7565c969cbf04cf150dfc318cfae
4•devonnull•1h ago•0 comments