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!

Lines of Code as a Productivity Metric in the AI Era

https://keegan.codes/blog/lines-of-code-as-a-productivity-metric-ai-era
1•keegandonley•1m ago•0 comments

Stop renting AI – run AI workers on your own dedicated node

https://ainode.sh
1•rzessski•3m ago•1 comments

Northstar CUA Fast, open source 4B CUA model

https://www.tzafon.ai/blog/northstar-cua-fast
1•publius_•4m ago•0 comments

How Tenaciously Palantir Courted Switzerland

https://www.republik.ch/2026/02/18/how-tenaciously-palantir-courted-switzerland
1•sschueller•6m ago•0 comments

Beside

https://aplwiki.com/wiki/Beside
1•tosh•6m ago•0 comments

2 Days to Ship: Codex-Authored Metal Compute Shaders in Draw Things

https://engineering.drawthings.ai/p/2-days-to-ship-codex-authored-metal
1•liuliu•7m ago•0 comments

Open Decision-Making (2021)

https://web.stanford.edu/~ouster/cgi-bin/decisions.php
1•otoolep•7m ago•0 comments

Show HN: Tic-Tac-Word – Can you beat yourself in this tic-tac-toe word game?

https://www.tictacword.com
2•onion92•8m ago•1 comments

Autoresearch for SAT Solvers

https://github.com/iliazintchenko/agent-sat
2•chaisan•8m ago•1 comments

Agents are not thinking: a behavioral study of pwning sonnet

https://technoyoda.github.io/pwning-claude.html
1•sci-genie•9m ago•0 comments

Embedding TeX Hyphenation Patterns for 30 Languages in a 1.1 MB Rust Automaton

https://laurmaedje.github.io/posts/hypher/
2•PaulHoule•9m ago•0 comments

MacBook Neo can be modded to run faster, but you probably shouldn't

https://appleinsider.com/articles/26/03/16/macbook-neo-can-be-modded-to-run-faster-but-you-probab...
3•gslin•10m ago•0 comments

Show HN: Smart glasses that tell me when to stop pouring

https://github.com/RealComputer/GlassKit/tree/main/examples/rokid-overshoot-openai-realtime
3•tash_2s•11m ago•0 comments

All Linus rants from 2012 to 2015

https://github.com/corollari/linusrants
2•stmw•11m ago•0 comments

Pure Functions in APL and J

https://dl.acm.org/doi/10.1145/114054.114065
2•tosh•13m ago•0 comments

Anthropic requires your phone number

https://support.claude.com/en/articles/8287232-verifying-your-phone-number
2•dataspun•13m ago•0 comments

AI campus gender wars ahead

https://hollisrobbinsanecdotal.substack.com/p/the-ai-campus-gender-wars-ahead
1•HR01•14m ago•1 comments

Neal.Fun Constellation Draw

https://neal.fun/constellation-draw/
1•memalign•14m ago•0 comments

Combinatory Logic

https://en.wikipedia.org/wiki/Combinatory_logic
2•tosh•15m ago•0 comments

Chemical safety API – Free for public

https://aletheia.holisticquality.io/
1•Phractal•15m ago•0 comments

Show HN: Mnemosphere – AI chat for the intellectually ambitious

https://www.mnemosphere.ai
1•jntucehyd•17m ago•0 comments

Show HN: GhostVM – macOS containers on Apple Silicon

https://ghostvm.org/
3•CarolineWang•18m ago•0 comments

COBOL Is the Asbestos of Programming Languages

https://www.wired.com/story/cobol-is-the-asbestos-of-programming-languages/
3•chrisaycock•20m ago•0 comments

Show HN: AgentPen – macOS dashboard for managing OpenClaw AI agents

https://agentpen.io
2•sara_builds•22m ago•0 comments

Show HN: Open-source agent first AEO monitoring platform

https://github.com/AINYC/canonry
1•arberx•22m ago•0 comments

Upgrading Hex security – Gleam v1.15.0 released

https://gleam.run/news/upgrading-hex-security/
1•iruoy•23m ago•0 comments

Living Human Brain Cells Play Doom [video]

https://corticallabs.com/doom.html
1•smartmic•25m ago•0 comments

Metrify – open-source annotation-driven Micrometer metrics for Spring Boot

https://github.com/wtk-ns/metrify-spring-boot-starter
2•wotkins•26m ago•1 comments

Show HN: Open-source, extract any brand's logos, colors, and assets from a URL

https://openbrand.sh/
3•hitchyhocker•27m ago•0 comments

Try ZeroTrain

https://www.zerotrain.ai/
1•WalterStjones•29m ago•1 comments