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!

Snap Is Laying Off 16% of Full-Time Staff as It Embraces A.I

https://www.nytimes.com/2026/04/15/business/snap-layoffs-snapchat.html
1•xnx•26s ago•0 comments

Lyra 2.0: Explorable Generative 3D Worlds

https://arxiv.org/abs/2604.13036
1•aanet•2m ago•1 comments

The Security Decisions Claude Code and Codex Make

https://amplifying.ai/research/ai-security-decisions
1•edwin•3m ago•0 comments

Introducing Cloudflare Mesh

https://developers.cloudflare.com/changelog/post/2026-04-14-cloudflare-mesh/
2•ransom_rs•5m ago•1 comments

Moss-TTS-Nano: Real-Time Voice AI on CPU (Open-Source TTS Stack)

https://firethering.com/moss-tts-nano-open-source-tts/
1•steveharing1•5m ago•0 comments

Ask HN : Vibe coders: does AI keep breaking your auth and webhooks?

https://www.indiehackers.com/post/vibe-coders-does-ai-keep-breaking-your-auth-and-webhooks-b9e869...
2•siddhant-jain•6m ago•1 comments

Watching TV with the Second-Party: A First Look at ACR Tracking in Smart TVs (2024)

https://arxiv.org/abs/2409.06203
1•redbell•6m ago•0 comments

Show HN: Slack killed their OpenAPI spec, so we reverse engineered it

https://github.com/connectstrata/slack-openapi-generator
1•jmclai•7m ago•0 comments

Ask HN: What do founders want from a one person dev studio?

1•Punyakrit•8m ago•1 comments

Ask HN: What's your favourite business oriented movie?

3•wasimsk•9m ago•2 comments

BBC to cut up to 2k jobs in biggest downsize in 15 years

https://www.theguardian.com/media/2026/apr/15/bbc-cut-jobs-downsize-matt-brittin-tim-davie
1•mellosouls•13m ago•0 comments

Trump Killed the One Thing That Made Filing Taxes Easier

https://www.nytimes.com/2026/04/04/opinion/taxes-trump-direct-file-tax-day-april.html
5•mitchbob•14m ago•1 comments

Trust and the Death of the Handshake Deal

https://nickchirls.com/2026/04/15/trust-and-the-death-of-the-handshake-deal/
2•rafaelc•14m ago•0 comments

Close the Book. Recall. Write It Down. (2009)

https://www.chronicle.com/article/close-the-book-recall-write-it-down/
1•downbad_•16m ago•1 comments

Jensen Huang – How Nvidia locked up the semiconductor supply chain [video]

https://www.youtube.com/watch?v=Hrbq66XqtCo
1•tosh•16m ago•0 comments

Dino from Scratch

https://github.com/aldipiroli/dino_from_scratch
1•tgnk2341•17m ago•0 comments

Show HN: Tier – Adaptive tool routing that makes small LLMs 10pt more accurate

https://github.com/yantrikos/tier
2•pranabsarkar•17m ago•0 comments

Bot-AGI-1 – a robotics benchmark for VLMs

https://bot-agi.org/
1•chronolitus•18m ago•0 comments

Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts

https://machinelearning.apple.com/research/cram-less
1•gmays•18m ago•0 comments

The Gemini app is now on Mac

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-mac-os/
2•thm•18m ago•0 comments

Python Type Checker Comparison: Speed and Memory Usage

https://pyrefly.org/blog/speed-and-memory-comparison/
1•ocamoss•18m ago•0 comments

Show HN: Agentfab – A Distributed Agentic Platform

https://github.com/RazvanMaftei9/agentfab
1•razvan_maftei•19m ago•0 comments

Patch Tuesday, April 2026 Edition

https://krebsonsecurity.com/2026/04/patch-tuesday-april-2026-edition/
1•Brajeshwar•20m ago•0 comments

New search engine reveals if ancestors were in Nazi party

https://www.bbc.com/news/articles/cr411ndee7yo
2•hackernj•20m ago•1 comments

Ecovacs Wants to Weaponize Your Mop Water

https://www.siliconsnark.com/ecovacs-wants-to-weaponize-your-mop-water/
1•SaaSasaurus•21m ago•0 comments

French cops free mother and son after 20-hour crypto kidnap ordeal

https://www.theregister.com/2026/04/15/crypto_kidnap_france/
1•Bender•21m ago•0 comments

Encrypted Client Hello: A Big Tech Privacy Fix

https://blog.miloslavhomer.cz/encrypted-client-hello/
1•ArcHound•23m ago•0 comments

Henry's Pocket

https://en.wikipedia.org/wiki/Henry%27s_pocket
1•thunderbong•24m ago•0 comments

Notes on Twins Vol. 2 – 12 Weeks

https://roryflint.substack.com/p/notes-on-twins-vol-2
2•mrroryflint•28m ago•1 comments

'Handing out the blueprint to a bank vault' Why AI led Cal to drop open source

https://www.zdnet.com/article/ai-security-worries-force-company-to-abandon-open-source/
2•CrankyBear•29m ago•1 comments