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

Notifications Are a Form of Surveillance

https://frostecho.neocities.org/posts/notifications-are-a-form-of-surveillance/
1•meysamazad•38s ago•0 comments

A HAR Analyser That Stays in the Browser

https://thelazysre.com/posts/a-har-analyser-that-stays-in-your-browser/
1•meysamazad•2m ago•0 comments

ESR on dropping terminfo and curses from an old Unix game

https://twitter.com/i/status/2053957912624500929
1•Ariarule•2m ago•0 comments

Income tax calculator for US and Canada

https://takehome.tax
1•ccnomas•2m ago•0 comments

"Cancelling Async Rust" – RustConf 2025

https://www.youtube.com/watch?v=zrv5Cy1R7r4
1•tcp_handshaker•7m ago•0 comments

Building Kiteshield: A journey from prototype to safety-critical

https://www.youtube.com/watch?v=6YGghlVOXlE
1•tcp_handshaker•12m ago•0 comments

Using LLM in the shebang line of a script

https://til.simonwillison.net/llms/llm-shebang
2•dnw•12m ago•0 comments

Reanimation of the First Automatic Theorem Prover (From 1956)

https://github.com/dmoews/logic-theorist
1•abrax3141•21m ago•1 comments

Show HN: Gremlin

https://github.com/aosmith/gremlin
1•aosmith•31m ago•0 comments

Zero-native – Build native desktop apps with web UI

https://zero-native.dev
2•gedy•31m ago•0 comments

Revisiting "No Silver Bullets" in the Age of AI

https://newsletter.pragmaticengineer.com/p/revisiting-no-silver-bullets-in-the
1•perpetua•33m ago•1 comments

Filmeon: Physically grounded, color-managed inversion for negative film scans

https://filmeon.app/
1•alibosworth•37m ago•0 comments

Cloud Latency Map – Latency Changes by City

https://clm.kentik.com/
2•embedding-shape•40m ago•0 comments

Ask HN: Is your kids Alexa now have conversational AI?

1•stevenhubertron•41m ago•0 comments

Show HN: Mp4 or mov to detailed design spec MCP

https://github.com/Meliwat/spectr
2•Meliwat93•41m ago•0 comments

Obsidian Community

https://community.obsidian.md/
1•hisamafahri•45m ago•0 comments

Zig vs. Rust, agentic coding, and intellectual control [video]

https://www.youtube.com/watch?v=urMV1JKbIxs
2•alibosworth•45m ago•0 comments

AI agents can self-replicate. Who is building for the human side?

https://hugonomy.com/
2•GlyphWeaver_a•46m ago•0 comments

Starship V3

https://www.spacex.com/updates#starship-v3
13•fprog•46m ago•0 comments

London Rooftop Where Beatles Played Last Gig (1969) to Become Museum

https://www.nytimes.com/2026/05/11/arts/music/beatles-museum-london.html
2•bookofjoe•51m ago•1 comments

How AI Killed a 133-Year-Old Princeton Tradition

https://www.theatlantic.com/ideas/2026/05/princeton-ai-honor-code/687144/
1•KnuthIsGod•52m ago•0 comments

The New York Times Got Caught Using AI Hallucinations in Its Reporting

https://thewalrus.ca/the-new-york-times-got-caught-using-ai-hallucinations-in-its-reporting/
2•ireflect•54m ago•0 comments

RND: A 1 button generative 4-track synth

https://www.cymaforma.com/rnd-synth
1•peteforde•59m ago•0 comments

Could You Live Without a Computer? I Can.

https://www.thefp.com/p/could-you-live-without-a-computer
2•James72689•1h ago•1 comments

Atlas: An LLM inference engine written from scratch in Rust and CUDA

https://atlasinference.io
2•emrehan•1h ago•0 comments

I traveled 65 countries and built my own travel tracker

https://play.google.com/store/apps/details?id=com.ahnlee.jidoapp&hl=en_US
1•leeahn137•1h ago•1 comments

First 3D Emoji?

1•xxemogirl694uxx•1h ago•0 comments

Facebook is a hub for illegal wildlife trade, and that's by design, report says

https://news.mongabay.com/2026/05/facebook-is-a-hub-for-illegal-wildlife-trade-and-thats-by-desig...
3•PaulHoule•1h ago•0 comments

AI shouldn't have a meter. Unlimited tokens. Forever

https://www.openmonoagent.ai/
13•startuphakk•1h ago•6 comments

Cloudflare breaks promise to not gatekeep small browsers

https://forum.palemoon.org/viewtopic.php?t=33442
3•mimasama•1h ago•2 comments