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

Windows++: C++ Application Framework for Windows by Paul DiLascia

http://pauldilascia.com/wpp.htm
1•teleforce•9m ago•0 comments

A rational non-commutative 4×4x48 matrix multiplication algorithm

https://arxiv.org/abs/2603.18699
1•vulcanology•10m ago•0 comments

Hand-Drawn Style in PowerPoint

https://pptcrafter.wordpress.com/2019/09/24/hand-drawn-style-in-powerpoint/
2•teleforce•13m ago•0 comments

Corebot 26.03 released with Intel PantherLake support

https://blogs.coreboot.org/blog/2026/03/30/coreboot-26-03-release/
1•cromka•14m ago•0 comments

A group of flamingoes is called a 'flamboyance'

https://www.themarginalian.org/2026/03/30/flamingos-pink/
1•sparshselim•16m ago•0 comments

The Contribution Theatre Trap

https://www.nyn.me/blog/last-mile-fallacy
1•codevenn•16m ago•0 comments

Seeds of doubt:The dark side of an Italian energy giant's green jet fuel promise

https://www.politico.eu/article/seeds-of-doubt-the-dark-side-of-enis-green-jet-fuel-promise/
1•leonidasrup•28m ago•0 comments

Sandflare – I built a sandbox that launches AI agent VMs in ~300ms

1•ajaysheoran2323•30m ago•2 comments

We Used to Think Everybody Heard a Voice Inside Their Heads – But We Were Wrong

https://www.sciencealert.com/we-used-to-think-everybody-heard-a-voice-inside-their-heads-but-we-w...
1•Anon84•31m ago•1 comments

EchoMind – AI Voice Notes

https://apps.apple.com/us/app/echomind-ai-voice-notes/id6760428216
1•srsstyle•32m ago•0 comments

Office, Messaging and Verbs (2015)

https://www.ben-evans.com/benedictevans/2015/5/21/office-messaging-and-verbs
1•simonebrunozzi•34m ago•0 comments

Pgit: I Imported the Linux Kernel into PostgreSQL

https://oseifert.ch/blog/linux-kernel-pgit
2•ImGajeed76•37m ago•0 comments

Cape Town Seeks to Emulate India's High-End Outsourcing Push

https://www.bloomberg.com/news/articles/2026-03-31/cape-town-seeks-to-emulate-india-s-high-end-ou...
3•alephnerd•39m ago•0 comments

What is AX?

https://sumato.ai/posts/2026-03-31-what-is-ax.html
1•jasonmoo•41m ago•0 comments

Using AI to forcast success of active clinical trials

https://warpspeed.sh/
1•obventio56•41m ago•0 comments

Show HN: Raincast – Describe an app, get a native desktop app (open source)

https://github.com/tihiera/raincast
7•tito777•45m ago•5 comments

Show HN: How many seasons does Melbourne (VIC) have?

1•bluemetal•50m ago•0 comments

LipoVive (Investigated) Why 2026 Metabolic Science Is a Rethink on Weight Loss

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•tagyhans•50m ago•0 comments

China factories log fastest growth in a year as war risks loom large

https://www.reuters.com/world/asia-pacific/chinas-factory-activity-returns-expansion-pmi-shows-20...
3•defrost•53m ago•0 comments

Call.md

https://github.com/video-db/call.md
1•handfuloflight•58m ago•0 comments

PyTorch Primer

https://bitwise.land/
2•jackomelon•58m ago•0 comments

Spacecraft Heat Shields Could Violently "Burst" in Alien Atmospheres

https://www.universetoday.com/articles/spacecraft-heat-shields-could-violently-burst-when-plungin...
1•gostsamo•1h ago•1 comments

I Like Real Estate

https://www.sohum.com/why-i-like-real-estate/
1•Sohum•1h ago•0 comments

Google's 200M-parameter time-series foundation model with 16k context

https://github.com/google-research/timesfm
39•codepawl•1h ago•16 comments

Sony halts memory card shipments due to NAND shortage

https://www.techzine.eu/news/devices/140058/sony-halts-memory-card-shipments-due-to-nand-shortage/
19•methuselah_in•1h ago•4 comments

Gone (Almost) Phishin'

https://ma.tt/2026/03/gone-almost-phishin/
2•luu•1h ago•0 comments

Scientists say we've been looking in the wrong place for human origins

https://www.sciencedaily.com/releases/2026/03/260327230113.htm
1•DeathArrow•1h ago•0 comments

GitHub backs down, kills Copilot pull-request ads after backlash

https://www.theregister.com/2026/03/30/github_copilot_ads_pull_requests/
43•_____k•1h ago•12 comments

Information Flow Kernel for Claude Code Hooks

https://github.com/coproduct-opensource/nucleus/blob/main/docs/quickstart-hook.md
1•difc•1h ago•1 comments

Vector Databases Explained in 3 Levels of Difficulty

https://machinelearningmastery.com/vector-databases-explained-in-3-levels-of-difficulty/
2•eigenBasis•1h ago•0 comments