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

Japan's New Care Workers: Bodybuilders, Wrestlers and MMA Fighters

https://www.nytimes.com/2026/04/25/world/asia/japan-care-workers-bodybuilders-sumo-mma.html
1•danso•6m ago•1 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
1•cubefox•6m ago•0 comments

Surprising Signs of an Atmosphere Around a Tiny World, Billions of Miles Away

https://www.nytimes.com/2026/05/07/science/plutino-atmosphere-astronomy-pluto.html
1•lxm•15m ago•0 comments

Energy Prices Are Driving Demand for Solar Panels and Heat Pumps

https://www.nytimes.com/2026/05/08/business/europe-solar-panels-iran-war.html
1•lxm•17m ago•0 comments

Catch breaking API changes before merge

https://ImpactGuard.dev
1•dclavijo•20m ago•0 comments

Challenging the Way We Pedal

https://hackaday.com/2026/05/09/challenging-the-way-we-pedal/
1•lxm•24m ago•0 comments

Mariculture Systems to begin the construction of Portugal aquaculture facility

https://www.seafoodsource.com/news/aquaculture/mariculture-systems-approved-to-begin-the-construc...
1•mooreds•24m ago•0 comments

How we know if our agent is right

https://www.mendral.com/blog/how-we-know-if-our-agent-is-right
2•shad42•26m ago•0 comments

A Preview of the Future

https://unsung.aresluna.org/a-preview-of-the-future/
2•zdw•29m ago•0 comments

Make America AI Ready: Strengths, Weaknesses, and Recommendations

https://blog.citp.princeton.edu/2026/05/05/make-america-ai-ready-strengths-weaknesses-and-recomme...
2•Kye•32m ago•0 comments

Bonsai of the Imperial Palace [video]

https://www.youtube.com/watch?v=HXoECYXr_Bk
1•tkgally•34m ago•0 comments

Diversity as the Bottleneck in Self-Play

https://ivison.id.au/2026/05/06/self-play.html
1•jxmorris12•35m ago•0 comments

Learning on the Shop floor

https://twitter.com/tobi/status/2053121182044451016
1•jmacd•36m ago•0 comments

New map shows where electric truck charging is scaling

https://electrek.co/2026/05/08/new-map-electric-truck-charging-is-scaling/
2•Bender•40m ago•0 comments

¡Hola, soy DORA. Why hasn't AI improved my metrics?

https://www.vaines.org/posts/2026-05-09-why-hasnt-ai-improved-my-metrics/
1•gpi•42m ago•0 comments

UK wants fresh fingerprints on £300M biometrics platform

https://www.theregister.com/public-sector/2026/05/09/uk-wants-fresh-fingerprints-on-300m-biometri...
1•Bender•50m ago•0 comments

The new Wild West of AI kids' toys

https://www.wired.com/story/the-new-wild-west-of-ai-kids-toys/
1•Bender•50m ago•0 comments

AI Productivity Fails

https://blog.sshh.io/p/how-ai-productivity-fails
3•sshh12•1h ago•0 comments

You Need AI That Reduces Maintenance Costs

https://www.jamesshore.com/v2/blog/2026/you-need-ai-that-reduces-your-maintenance-costs
4•cratermoon•1h ago•0 comments

PS3 Emulator Devs Politely Ask That People Stop Flooding It with AI PRs

https://kotaku.com/playstation-3-emulator-devs-politely-ask-that-people-stop-flooding-it-with-ai-...
40•stalfosknight•1h ago•10 comments

Usein

1•USEIN•1h ago•0 comments

Rep. Crane Introduces Legislation to Pause and Reform the Broken H-1B Visa

https://crane.house.gov/2026/04/22/rep-crane-introduces-legislation-to-pause-and-reform-the-broke...
5•rawgabbit•1h ago•1 comments

Zero-native by Vercel: Build tiny desktop and mobile apps with Zig and web UI

https://github.com/vercel-labs/zero-native
1•maxloh•1h ago•0 comments

Antikythera Mechanism (oldest known analogue computer)

https://www.historyofinformation.com/detail.php?id=120
3•p0u4a•1h ago•0 comments

Show HN: Gawk Dev – live feed tracking what's happening across AI tools

https://gawk.dev
1•Srinathprasanna•1h ago•0 comments

You can have your composer.lock and not make others eat it too

https://kevinullyott.com/blog/2026-05-05-composer-lock-gitattributes/
1•orrison•1h ago•0 comments

Riding the D in Los Angeles: city hopes new subway stations will be game changer

https://www.theguardian.com/us-news/2026/may/09/los-angeles-subway-public-transportation
6•raybb•1h ago•0 comments

Running local models on an M4 with 24GB memory

https://jola.dev/posts/running-local-models-on-m4
47•shintoist•1h ago•29 comments

The Mythology of Rice and Beans

https://economistwritingeveryday.com/2024/12/13/the-mythology-of-rice-and-beans/
1•ksymph•1h ago•0 comments

How Fast Does Claude, Acting as a User Space IP Stack, Respond to Pings?

https://dunkels.com/adam/claude-user-space-ip-stack-ping/
2•adunk•1h ago•0 comments