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•11mo 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!

Shelter Aid

https://apps.apple.com/us/app/shelter-aid/id6762375916
1•starboyy•15s ago•1 comments

Mullvad to add feature that forces all iOS traffic through the VPN tunnel

https://cyberinsider.com/mullvad-to-add-feature-that-forces-all-ios-traffic-through-the-vpn-tunnel/
1•Cider9986•1m ago•0 comments

AI run store in SF can't stop ordering candies and paying women less.

https://sfist.com/2026/04/21/ai-store-manager-paying-female-employees-less-cant-stop-ordering-can...
1•fragmede•2m ago•0 comments

Study shows removing exposure to plastic from our food chain yields quick result

https://www.abc.net.au/news/2026-04-23/plastic-packaging-body-chemicals-study/106594194
1•xbmcuser•4m ago•0 comments

The Surveillance Accountability Act

https://www.surveillanceaccountability.com
1•Cider9986•5m ago•0 comments

French police look at claim of sensor tampering to win weather bets

https://www.theguardian.com/world/2026/apr/23/hairdryer-or-lighter-french-police-look-at-claim-of...
2•geox•6m ago•0 comments

Control Workspace Intelligence for generative AI features [AI defaults on]

https://knowledge.workspace.google.com/admin/gemini/control-workspace-intelligence
1•lancewiggs•9m ago•0 comments

Ask HN: What are the best developer tools built around Markdown?

1•dhruv3006•10m ago•0 comments

Mahjong: A Visual Guide

https://themahjong.guide/
1•iamwil•18m ago•0 comments

DeepSeek V4 is out. the best open-source on coding. here's the breakdown

2•Alisaqqt•19m ago•0 comments

Ada's Technical Books in Seattle will close

https://www.seattletimes.com/entertainment/books/capitol-hill-bookstore-adas-will-close-fuel-coff...
2•so-cal-schemer•20m ago•1 comments

Free API for real-time Australian emergency data (27 feeds, all 8 states)

https://emergencyapi.com
1•JackDemps•22m ago•0 comments

The Toroidal Momentum Engine: A Workable Version of Infinity

https://zenodo.org/records/19572243
2•SCAQTony•22m ago•0 comments

Mini ML Blog

https://mni-ml.github.io/
1•SoulMan•24m ago•0 comments

Nvidia's B200 costs around $6,400 to produce

https://epoch.ai/data-insights/b200-cost-breakdown
1•KnuthIsGod•24m ago•0 comments

Privacy Setup for Android 16 with GrapheneOS

https://xn--gckvb8fzb.com/privacy-setup-for-android-16-with-grapheneos/
2•HotGarbage•25m ago•0 comments

Equity for Europeans

https://lucumr.pocoo.org/2026/4/23/equity-for-europeans/
2•Tomte•26m ago•0 comments

If AI existed in 2011 would we still have the modern web

https://webmatrices.com/post/if-ai-existed-in-2011-would-we-still-have-the-modern-web
1•bishwasbh•31m ago•0 comments

Is possible a language easy as py, fast as C, more secure than Rust?

1•jerryzhang66•32m ago•0 comments

Harnesses Explained: The Inner and Outer Workings of the Coding Agent Harness

https://codagent.beehiiv.com/p/harnesses-explained
3•paulcaplan•33m ago•1 comments

Turn messy chats into structured TODOs and notes automatically

https://noteithub.com
1•pardisapporify•37m ago•0 comments

DeepSeek V4 Flash

https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash
6•S0y•39m ago•0 comments

DeepSeek 4 Launched

https://deepseek4.hk/
7•mariopt•41m ago•4 comments

In Defense of Blub Studies

https://www.benkuhn.net/blub/
2•jonnonz•42m ago•0 comments

Need Help Please

1•activist_mel•44m ago•0 comments

A quick look at Mythos run on Firefox: too much hype?

https://xark.es/b/mythos-firefox-150
2•leonidasv•47m ago•0 comments

Hello from Berkeley

https://fluoverse.com
2•Panos_moschos•48m ago•1 comments

Anthropic Engineering Postmortem: Claude's 60-Minute Memory Bug

https://www.aiuniverse.news/claudes-memory-lapse-a-bug-erased-its-reasoning-after-an-hour/
1•aiuniversenews•50m ago•0 comments

DeepSeek-V4

https://huggingface.co/collections/deepseek-ai/deepseek-v4
5•meetpateltech•51m ago•0 comments

DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence

https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro
71•cmrdporcupine•52m ago•7 comments