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!

Adobe Diddles with Your /etc./Hosts File

https://old.reddit.com/r/webdev/comments/1sb6hzk/adobe_wrote_to_my_hosts_file_ive_never_had_an_ap...
1•Brajeshwar•1m ago•1 comments

Closest Thing to Crazy

https://www.atvbt.com/closest-thing-to-crazy/
1•speckx•1m ago•0 comments

Synthetic Sandbox for Training Machine Learning Engineering Agents

https://arxiv.org/abs/2604.04872
1•gmays•1m ago•0 comments

Man jailed for killing abused wife who jumped from bridge

https://www.bbc.co.uk/news/articles/c0krdgjy0kko
1•alimw•4m ago•0 comments

Callgraph analysis in Ferrocene for denying unvalidated Rust library functions

https://ferrous-systems.com/blog/callgraph-analysis/
2•fanf2•7m ago•0 comments

MolmoWeb: An open agent for automating web tasks

https://allenai.org/blog/molmoweb
1•aanet•8m ago•1 comments

Alibaba shifts towards revenue over open-source AI

https://www.ft.com/content/b39da303-3188-447b-8b65-3dd8dad8b59a
2•marojejian•12m ago•1 comments

Waymo ride, now arriving in Nashville

https://waymo.com/blog/2026/04/your-waymo-ride-now-arriving-in-nashville/
3•ysangkok•13m ago•0 comments

Show HN: Agt00 – localhost sharing with an email allowlist

https://github.com/alex-sumin/agt00
1•cc_alex•14m ago•0 comments

The Vasa

https://psychsafety.com/the-vasa-disaster/
3•Tomte•14m ago•0 comments

Framework Next Gen Event on April 21st

https://frame.work/nextgen
1•outlore•15m ago•0 comments

Surviving Hallucinations: AI Fault Tolerance for Campaigns

https://matthodges.com/posts/2026-04-10-ai-politics-fault-tolerance/
2•m-hodges•17m ago•0 comments

What is the impact of AI on productivity?

https://aleximas.substack.com/p/what-is-the-impact-of-ai-on-productivity
2•aanet•17m ago•1 comments

Install-AI-constitution: a tool to centralise your main AGENTS.md

https://github.com/Adri96/AI-Constitution
2•adrimubo96•17m ago•1 comments

Show HN: Eve – Managed OpenClaw for Work

https://eve.new/login
3•zachdive•18m ago•0 comments

Amoxide: Composable, context-aware shell aliases

https://d34dl0ck.me/amoxide-composable-context-aware-shell-aliases/index.html
1•lukastyrychtr•18m ago•0 comments

HBO Obtains DMCA Subpoena to Unmask 'Euphoria' Spoiler Account on X

https://torrentfreak.com/hbo-obtains-dmca-subpoena-to-unmask-euphoria-spoiler-account-on-x/
3•speckx•22m ago•0 comments

Book flights MCP in a single prompt for India Flights

https://www.bookturing.com/mcp
2•avallark•22m ago•1 comments

Largest Group of Chimps Waging Deadly 'Civil War,' Scientists Discover

https://www.404media.co/worlds-largest-group-of-chimps-waging-deadly-civil-war-scientists-discover/
1•pavel_lishin•23m ago•0 comments

Dynamic Map of YouTube Channels

https://www.ytmap.xyz/
3•Bachal•23m ago•0 comments

Update on Platform Stability

https://oapen.hypotheses.org/2217
1•jruohonen•24m ago•0 comments

Okay, Color Spaces – Ericportis.com

https://ericportis.com/posts/2024/okay-color-spaces/
1•tambourine_man•25m ago•0 comments

Ask HN: Is a purely Markdown-based CRM a terrible idea? Optimized for LLM agents

1•dmonterocrespo•26m ago•0 comments

Social Media Is the Opposite of Social Life

https://www.raptitude.com/2026/04/social-media-is-the-opposite-of-social-life/
2•speckx•28m ago•0 comments

AI (and) Maximalism

https://kerkour.com/ai-maximalism
1•randomint64•29m ago•0 comments

OpenAI's Genius Plan [to Cure Cancer] Can't Possibly Fail [video]

https://www.youtube.com/watch?v=ijTxAfFUHkY
2•mentalgear•30m ago•2 comments

U.S. faces an air traffic controller shortage. It's turning to gamers for help

https://www.cbsnews.com/news/faa-video-gamers-increase-air-traffic-controllers/
1•cdrnsf•31m ago•0 comments

The Ones: Actron AM1608 16-Bit CPU. – The CPU Shack Museum

https://www.cpushack.com/2026/04/01/the-forgotten-ones-actron-am1608-16-bit-cpu/
1•rbanffy•31m ago•0 comments

Securing Vapor for the Future: Our Experience in GitHubs Secure Open Source Fund

https://blog.vapor.codes/posts/securing-vapor-for-the-future/
2•frizlab•32m ago•0 comments

An Atari 8-Bit Computer Timeline – By Paul Lefebvre

https://www.goto10retro.com/p/an-atari-8-bit-computer-timeline
1•rbanffy•33m ago•0 comments