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!

Phel v0.36.0 – Lisp on PHP, now with numeric tower and first-class Vars

https://github.com/phel-lang/phel-lang/releases/tag/v0.36.0
1•Chemaclass•3m ago•1 comments

Ask HN: How are you handling QA being bottlenecked with more AI-generated PRs?

2•softneon•3m ago•0 comments

30x faster than Prometheus: How we rebuilt ES as a leading columnar datastore

https://www.elastic.co/search-labs/blog/elasticsearch-columnar-metrics-engine-30x-faster-prometheus
2•yla92•8m ago•0 comments

The Download: the tech reshaping IVF and the rise of balcony solar

https://www.technologyreview.com/2026/05/07/1136956/the-download-ivf-tech-balcony-solar/
1•joozio•12m ago•0 comments

ClojureScript Gets Async/Await

https://clojurescript.org/news/2026-05-07-release
2•Borkdude•17m ago•0 comments

Containers Aren't Just Linux Processes

https://labs.iximiuz.com/tutorials/oci-containers-explained
1•birdculture•17m ago•0 comments

Show HN: I'm building a tiny WordPress plugin on top of my open source software

1•darkhorse13•19m ago•0 comments

QBE – Compiler Back End

https://c9x.me/compile/
1•smartmic•21m ago•0 comments

Moodle – open-source Learning Management System

https://moodle.org/
1•10000truths•23m ago•0 comments

British reporter gets personal YouTube account blocked

https://twitter.com/edconwaysky/status/2052349717489537472
3•jarym•24m ago•1 comments

Nintendo announces price increases for Nintendo Switch 2

https://www.nintendo.co.jp/corporate/release/en/2026/260508.html
2•razorbeamz•25m ago•0 comments

YouTube TimeWatcher – See where your YouTube time goes

https://youtubetimewatcher.com/
3•stacyz•27m ago•0 comments

At 100, Attenborough's Voice Is a Lesson in Wonder and Planetary Stewardship

https://time.com/article/2026/05/07/david-attenborough-100-birthday-prince-harry/
3•yreg•32m ago•0 comments

JSON Schema (Jsonschema)

https://datatracker.ietf.org/wg/jsonschema/about/
2•BerislavLopac•32m ago•0 comments

Museum of the Human Web

https://museum.parallel.ai/introduction?era=modern
2•kristopolous•32m ago•0 comments

TranscriptFormer: A generative cell atlas across 1.5B years of evolution

https://www.science.org/doi/10.1126/science.aec8514
2•tkaraletsos•33m ago•0 comments

Influenza a (H1N1) (2009)

https://www.bunniestudios.com/blog/2009/on-influenza-a/
3•downbad_•33m ago•1 comments

The room, not the words in it. My AI harness

https://blog.imjackofitall.com/posts/2026-04-28/
3•imjackofitall•35m ago•0 comments

Why I'm giving up on Facebook (2017)

http://blog.afandian.com/2017/01/why-i-am-giving-up-on-facebook/
6•chistev•35m ago•1 comments

Tesla Recalls Cybertruck Because Wheels May Fall Off

https://www.kbb.com/car-news/tesla-recalls-cybertruck-because-wheels-may-fall-off/
2•bjhess•37m ago•0 comments

Pitchfork: A devilishly good process manager for developers

https://pitchfork.en.dev/
2•thunderbong•42m ago•0 comments

AI-Native Hedge Funds Are Possible and Profitable Just Not the Next Unicorn

https://podium-finance.com/blog/ai-native-hedge-funds-and-yc
2•nlpnerd•44m ago•0 comments

Four sites. Four ways money was leaving the table

https://noemica.io/blog/four-ways-money-leaves-the-table
2•SebastianSosa•44m ago•0 comments

Auth Proxy Injection for LLMs

https://www.grepular.com/Auth_Proxy_Injection_for_LLMs
2•mike-cardwell•44m ago•0 comments

A Simple Ld_preload Tutorial

https://catonmat.net/simple-ld-preload-tutorial
1•gurjeet•48m ago•0 comments

Why the Future of AI Depends on Smaller Models

https://jeevan.life/posts/why-the-future-of-ai-depends-on-smaller-models.html
2•lroe•50m ago•0 comments

The agent principal-agent problem

https://crawshaw.io/blog/agent-principal-agent
1•bumbledraven•52m ago•0 comments

Show HN: Sfera – sliding puzzle in curved space (open-sourced)

https://github.com/bntre/Sfera
1•bntr•52m ago•0 comments

SubQ: Sub-quadratic LLM built for 12M-token reasoning

https://subq.ai/
3•anujbans•55m ago•0 comments

Camera

https://online-camera.com
2•ent101•59m ago•0 comments