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!

Infinite Campus Data Breach

https://haveibeenpwned.com/Breach/InfiniteCampus
1•rexthonyy•2m ago•0 comments

When Intelligence Gets Cheap, What Becomes Valuable?

https://agonora.com/blog/when-intelligence-gets-cheap
4•mw67•7m ago•0 comments

Ask HN: Do you have AI psychosis?

2•roschdal•11m ago•3 comments

USER INTERVIEW: How early stage founders do their marketing?

https://calendar.google.com/calendar/appointments/schedules/AcZssZ0MmuhXXdHNdTt4BM3BF-enJ3Rvqz9qp...
1•geethikaisuru•12m ago•1 comments

Alexandre Dumas Coauthor and Intellectual Property Lawsuits

https://clubstorica.substack.com/p/alexandre-dumas-had-a-co-author
1•remiko•13m ago•0 comments

The AI layoff wave is becoming a powder keg

https://techcrunch.com/2026/06/15/the-ai-layoff-wave-is-becoming-a-powder-keg/
2•gruntled-worker•13m ago•0 comments

UK to ban under 16s on Social Media

https://www.theguardian.com/media/2026/jun/15/social-media-ban-uk-under-16-starmer
2•u02sgb•15m ago•1 comments

Quest 3 Accessory Makes Your VR Avatar Expressive Without Face Tracking

https://www.uploadvr.com/pieeg-xr-makes-your-vr-avatar-expressive-without-face-tracking/
2•Christiangmer•15m ago•0 comments

We're not just fighting AI

https://sayyesdono.pagecord.com/were-not-just-fighting-ai
1•BrunoBernardino•21m ago•0 comments

The Path to Google's #1 Position

https://medium.com/@thesuperrepemail/the-path-to-googles-1-position-f6aacbf1f758
1•mssblogs•23m ago•0 comments

Testing Uruky to Replace Kagi

https://rewiring.bearblog.dev/kagi-to-uruky/
1•BrunoBernardino•24m ago•0 comments

Large language models pass a standard three-party Turing test

https://www.pnas.org/doi/10.1073/pnas.2524472123?trk=3246d38d-657b-4330-8a8c-4fca0385cac6&sc_chan...
1•cassianoleal•30m ago•0 comments

Show HN: Check – prefix any command to know if it'll work before you run it

https://www.golproductions.com/check
1•golproductions•30m ago•0 comments

Owning Your Token Capital: Building the Enterprise AI Learning Loop

https://twitter.com/LakshyAAAgrawal/status/2066392532540670354
1•LakshyAAAgrawal•32m ago•0 comments

Ask HN: Renting GPUs, do you mostly care about price, reliability, or setup?

1•tinstar112•33m ago•0 comments

CUDA-like programming of Cerebras WSE

https://github.com/greg1232/cerebras-py-sim
1•gdiamos•40m ago•1 comments

How to Be Good at AI Research

https://twitter.com/i/status/2064686372737454155
1•yarapavan•43m ago•0 comments

I sped up the test suite by 2x with one simple change

https://gaultier.github.io/blog/I_sped_up_the_test_suite_by_x2.html
1•broken_broken_•43m ago•0 comments

Care about what you do – even when nobody's watching

https://mattcasmith.net/2026/05/31/care-about-what-you-do
2•signa11•44m ago•0 comments

I restarted a 10 year old Xeon 174 times to delete 12 flags and gain 4 TPS

https://point.free/blog/delete-12-flags/
2•cafkafk•45m ago•0 comments

Oğuzxccl Kimdir?

1•oguzxxlxv•46m ago•0 comments

Email Data Normalization for Automation

https://blog.mailwebhook.com/blog/normalization-is-where-reliability-starts/
1•birdculture•50m ago•0 comments

Token-warden is a thrifty office manager for your AI assistants

https://github.com/vukkt/token-warden
1•vukkt•50m ago•0 comments

What I have done with Claude Code in the last 60 days being a non tech person

2•sahiltll•51m ago•2 comments

Under-16s to be banned from social media, Starmer announces

https://www.bbc.co.uk/news/live/c77yx1jpg1nt
30•petepete•53m ago•31 comments

Brand Voice Local Tunning Tool Demo

https://github.com/yuvhaim-gif/LLM_InSight
1•yuvalhaim•54m ago•0 comments

Building N8n AI Automation Workflows: What I Learned Creating a Masterclass

https://www.udemy.com/course/n8n-ai-automation-masterclass-build-ai-chatbots-hindi/?referralCode=...
1•tv77048•54m ago•2 comments

Selective Elimination of TP53 Mutant Cells

https://www.biorxiv.org/content/10.64898/2026.05.08.723607v1
2•rballpug•59m ago•1 comments

Openrouter Fusion API

https://openrouter.ai/openrouter/fusion
2•tdchaitanya•1h ago•0 comments

Ask HN: Is the Fable situation the ultimate "security through obscurity"?

1•king_zee•1h ago•0 comments