frontpage.
newsnewestaskshowjobs

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•1y 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!

Building a 350M Transformer from Scratch in PyTorch

https://john463212.substack.com/p/building-a-350m-transformer-from
1•Johnene•41s ago•0 comments

Ask HN: Are OSS projects allowing vibe-coding?

1•raphaelj•1m ago•0 comments

Celebrating 15 years of SAP's involvement in the OpenJDK

https://mostlynerdless.de/blog/2026/07/07/celebrating-15-years-of-saps-involvement-in-the-openjdk/
1•Tomte•3m ago•0 comments

Beijing is looking at curbing overseas access to China's top AI models

https://www.reuters.com/world/beijing-is-looking-curbing-overseas-access-chinas-top-ai-models-sou...
3•eis•4m ago•1 comments

Are We AI Yet?

https://data.stackexchange.com/stackoverflow/query/1953321/are-we-ai-yet#graph
1•pelagicAustral•5m ago•0 comments

HTTP Status Codes and SEO

https://urlwatch.io/blog/http-status-codes.php
1•mssblogs•6m ago•0 comments

An allegory on technical debt, hiring, and product requirements

https://carette.xyz/posts/a_story_of_screwdriver_drivers/
1•weird_trousers•7m ago•0 comments

Top researchers leave USA for the Netherlands (in Dutch)

https://www.nwo.nl/nieuws/eerste-internationale-wetenschappers-via-het-tulp-fonds-naar-nederland
1•28304283409234•7m ago•0 comments

Transforming Wild

https://wild.gr/story/2
1•djnaraps•8m ago•0 comments

A Script for Mark Zuckerberg

https://stratechery.com/2026/a-script-for-mark-zuckerberg/
1•chrisvalleybay•9m ago•0 comments

Why migrants come to Germany for work and then leave again

https://www.dw.com/en/germany-migrants-skilled-workers-integration-labor-market-bureaucracy-langu...
4•theanonymousone•12m ago•0 comments

Money Magician – AI financial co-pilot for founders (not a budgeting app)

https://moneymagician.eu
1•carolinev•12m ago•0 comments

Tamp – shows when another app is keeping your Mac awake

https://tamp.kybernaut.cz/
1•vyskoczilova•14m ago•0 comments

Show HN: A simple random animal generator

https://randomanimalgen.com
1•mark_literacy•14m ago•0 comments

Search movies across all your streaming services

https://memovee.com/posts/search-across-your-streaming-services
1•zacksiri•15m ago•0 comments

Introduction to Algorithms and Machine Learning from Sorting to Strategic Agents [pdf]

https://www.justinmath.com/files/introduction-to-algorithms-and-machine-learning.pdf
1•Anon84•17m ago•0 comments

Show HN: A read-only MCP server for WooCommerce

https://github.com/wppoland/woocommerce-mcp
1•motylanogha•21m ago•0 comments

The hard part was never the model

https://jenniferjiangkells.substack.com/p/the-hard-part-was-never-the-model
1•adjks•24m ago•0 comments

Top banking watchdogs issue stark warning over AI-driven cyber attacks

https://www.ft.com/content/304cdbb9-c161-4e40-af4d-6df1d2ff5363
2•thm•26m ago•0 comments

Show HN: Formester – a form builder with no limits on forms or submissions

https://formester.com/
1•whitefang•30m ago•1 comments

Missing women on Indian streets [pdf]

https://gsood.com/research/papers/missing_women.pdf
1•like_any_other•33m ago•1 comments

ABC Australia will trial using AI for journalism

https://theconversation.com/abc-will-trial-using-ai-for-journalism-what-are-the-risks-and-benefit...
1•Alien1Being•34m ago•0 comments

Ask HN: Is Email Marketing Dead?

2•akashwadhwani35•35m ago•2 comments

The first American autonomous ground vehicles are fighting in Ukraine

https://techcrunch.com/2026/07/07/the-first-american-autonomous-ground-vehicles-are-fighting-in-u...
1•arnejenssen•36m ago•0 comments

Prevail – open-source AI "life OS" (not for your job)

https://prevail.sh/
2•mrlou•38m ago•0 comments

Shell Has a Forth-Like Quality

https://www.oilshell.org/blog/2017/01/13.html
1•ingve•42m ago•0 comments

Show HN: Brianni – AI chat on GPT/Claude/Gemini that we can't read (provable)

https://brianni.co/blog/prove-were-not-lying
1•iosazee•45m ago•0 comments

Ask HN: What are your favorite games?

3•freedomben•46m ago•1 comments

Never ask a model to do something a deterministic system can do reliably

https://cacm.acm.org/blogcacm/what-platform-security-taught-me-about-trusting-llm-agents/
2•visha1v•48m ago•1 comments

The EU Wants Its Own Tech Supply Chain

https://spectrum.ieee.org/europe-tech-sovereignty-package
2•sscaryterry•48m ago•0 comments