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!

Zooming UIs in 2026: Prezi, impress.js, and why I built something different

1•tinchox6•22s ago•0 comments

Why some cities are shutting down Flock cameras amid privacy concerns

https://www.theguardian.com/us-news/ng-interactive/2026/apr/06/flock-cameras-privacy-concerns
3•devonnull•2m ago•0 comments

Tell HN: Reddit Seems to Be Down

3•forlorn•3m ago•2 comments

The Edwardian builder who had changed how we keep time

https://www.bbc.com/news/articles/cd9vxg95ze2o
1•speckx•4m ago•0 comments

Scientists identify 'neural fingerprint' of psychedelic drugs in the brain

https://www.theguardian.com/science/2026/apr/06/scientists-identify-neural-fingerprint-of-psyched...
2•tmnvix•4m ago•0 comments

Refactoring Untested Code

https://yusufaytas.com/refactoring-untested-code/
5•kakerane•5m ago•0 comments

Open AI to give up to $100k and up to $1M in API credits

https://openai.com/index/industrial-policy-for-the-intelligence-age/
4•ageofattention•9m ago•0 comments

Poolside hunts data centre partners after CoreWeave deal falls through

https://www.ft.com/content/24168508-e2a1-447d-b1a0-44a0be0c0550
1•MasterScrat•9m ago•1 comments

Building an AI Companion with Perfect Memory

https://cortexdb.ai/blog/building-ai-companion
1•prmalik•11m ago•0 comments

Dupes vs. Originals: CT Scans Reveal What's Inside

https://www.lumafield.com/scan-of-the-month/dupes
2•viasfo•11m ago•1 comments

Some Contemporary Heresies

https://kevinkelly.substack.com/p/some-contemporary-heresies
1•jger15•14m ago•0 comments

Isaac Asimov on 1984

https://redsails.org/asimov-on-1984/
1•cybersoyuz•14m ago•0 comments

Netflix launches new gaming app for kids called Netflix Playground

https://www.latimes.com/entertainment-arts/business/story/2026-04-06/netflix-playground-expands-f...
1•andsoitis•15m ago•0 comments

Pacific West (Reno, NV or Remote) – Systems / Software Architect (Exploratory)

https://pacificwestcompanies.com/
1•philhow•16m ago•1 comments

No on-site doctor: Dental student died in ICU overseen by remote tele-health MD

https://lawandcrime.com/lawsuit/no-on-site-doctor-dental-student-died-in-icu-overseen-by-remote-t...
3•randycupertino•20m ago•1 comments

A local LAN radio station that gives you ambient audio awareness of your agents

https://radioagent.live/
1•nmelo•20m ago•0 comments

Londoners are sick of viral videos telling lies about their city

https://www.londoncentric.media/p/london-crime-viral-videos-crime
2•pseudolus•21m ago•0 comments

The Cult of Vibe Coding Is Insane

https://bramcohen.com/p/the-cult-of-vibe-coding-is-insane
24•drob518•22m ago•1 comments

A visual guide to Iran's coastline and strategic islands

https://interactive.aljazeera.com/aje/2026/iran-coastline-islands/
1•atlasunshrugged•23m ago•1 comments

Jaguar: We Will Be 'Exclusively Electric'

https://www.motor1.com/news/792058/jaguar-rawdon-glover-interview/
2•randycupertino•23m ago•0 comments

China stands to benefit most from the war-driven energy crisis

https://www.washingtonpost.com/world/2026/04/06/iran-war-china-renewable-energy/
2•CamelCaseCondo•23m ago•1 comments

Agent Retro: post-session retrospectives for coding agents

https://github.com/giannimassi/agent-retro
1•tidymince•24m ago•0 comments

Orca – moving beyond prompt-based agents

https://github.com/gfernandf/agent-skills
1•gfernandf1•25m ago•0 comments

Bored of Scrolling ChatGPT and Gemini

https://www.trydraft.app/
1•0xNishchit•25m ago•0 comments

AI helps add 10k more photos to OldNYC

https://www.danvk.org/2026/03/08/oldnyc-updates.html
3•evakhoury•29m ago•0 comments

The Sales Learning Curve (2006)

https://hbr.org/2006/07/the-sales-learning-curve
1•wslh•31m ago•0 comments

Suno is a music copyright nightmare

https://www.theverge.com/ai-artificial-intelligence/906896/sunos-copyright-ai-music-covers
1•cdrnsf•32m ago•0 comments

Nvidia Pascal Turns 10

https://videocardz.com/newz/nvidia-pascal-turns-10-the-architecture-that-gave-us-geforce-gtx-1080-ti
2•LorenDB•32m ago•0 comments

Antibacterial properties of birch tar and its medicinal use in the Pleistocene

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0343618
2•PaulHoule•32m ago•0 comments

The Legal and Policy Fallout from Data Center Strikes in the Middle East War

https://www.techpolicy.press/the-legal-and-policy-fallout-from-data-center-strikes-in-the-middle-...
2•rbc•33m ago•0 comments