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!

Data races and the limits of ThreadSanitizer in C and Go

https://theconsensus.dev/p/2026/09/06/data-races-and-the-limits-of-threadsanitizer-in-c-and-go.html
1•matt_d•3m ago•0 comments

India's First AI Agentic E-Commerce Platform

https://www.youtube.com/watch?v=e-Z690c_SLA
1•Shraddha__Singh•3m ago•0 comments

Quantum O(1) Invariants: Redefining Post-Quantum Cryptography

https://zenodo.org/records/22731417
1•GeometryKernel•6m ago•0 comments

Roon: "I think open source will be banned"

https://twitter.com/tszzl/status/2098875417373634944
3•pr337h4m•10m ago•0 comments

Fenton's Reagent

https://en.wikipedia.org/wiki/Fenton%27s_reagent
2•peter_d_sherman•24m ago•0 comments

Early Earth's Aurora may have made a ion-beam reactor for prebiotic chemistry

https://phys.org/news/2026-09-early-earth-auroral-belts-natural.html
2•wglb•28m ago•1 comments

JWST finds extreme star-forming galaxies masquerading as faint quasars

https://phys.org/news/2026-09-jwst-extreme-star-galaxies-masquerading.html
2•wglb•33m ago•1 comments

Show HN: I made an alternative to the archived filebrowser

https://github.com/skidoodle/filebrowser
2•skidoodle•33m ago•1 comments

A wandering black hole caught feeding on the run

https://phys.org/news/2026-08-black-hole-caught.html
2•wglb•37m ago•1 comments

MacFileSizing – What is consuming my disk space?

https://github.com/jaccon/macfilesizing/tree/main
3•jaccon•40m ago•0 comments

Anthropic CEO says AI swarm could 'take over the Internet' in 6-12 months

https://venturebeat.com/security/anthropic-ceo-says-ai-swarm-could-take-over-the-entire-internet-...
6•pseudolus•46m ago•1 comments

Show HN: Aqqai – Every answer, checked before you see it

https://demo.aqqai.in
2•Vineetyadav2•50m ago•1 comments

Kubernetes v1.37 brings 67 enhancements. Which matter for operators?

https://thenewstack.io/kubecon-kubernetes-updates-security/
2•geoffbp•51m ago•0 comments

Every invoice in Brazil's economy runs on SOAP 1.2. We mapped it all

https://github.com/stoix-dev/sefaz-webservices-postman
3•lestx•52m ago•0 comments

The Succession Crisis That Tore England Apart

https://www.historytoday.com/archive/feature/succession-crisis-tore-england-apart
6•pepys•53m ago•0 comments

Aligned to Whom?

https://hyperbo.la/w/aligned-to-whom/
3•lopopolo•55m ago•0 comments

After Math

https://terrytao.wordpress.com/2026/09/12/after-math/
3•throwaway81523•55m ago•0 comments

Ask HN: How can DigitalOcean not afford $50, but can afford $3M to Omarchy?

14•dpmartinez•1h ago•2 comments

Backflip: Apple now wants to train AI models with user data after all

https://www.heise.de/en/news/Backflip-Apple-now-wants-to-train-AI-models-with-user-data-after-all...
3•jacquesm•1h ago•0 comments

Show HN: Astah Pro MCP – Enabling AI-Powered UML Modeling

https://github.com/takaakit/astah-pro-mcp
2•takaakit•1h ago•0 comments

Physicist does the math on Star Trek's "Picard maneuver"

https://arstechnica.com/science/2026/09/physicist-does-the-math-on-star-treks-picard-maneuver/
2•kensai•1h ago•0 comments

Code is free speech (2020)

https://hoffmang9.github.io/free-speech/the-history-code-is-free-speech.html
2•tehlike•1h ago•1 comments

Tim Berners-Lee: I'm interested in Math-what stuff don't we do in School?

https://www.w3.org/People/Berners-Lee/Kids.html
3•nxobject•1h ago•0 comments

U.S. agencies say top Chinese AI companies systematically copied American models

https://www.nbcnews.com/tech/tech-news/us-accuses-china-ai-developers-deepseek-alibaba-copying-am...
3•pseudolus•1h ago•0 comments

Trade war puts spotlight on Canada's relationship with US tech

https://www.cbc.ca/radio/justasking/canada-digital-sovereignty-just-asking-9.7337778
2•pseudolus•1h ago•0 comments

Biggest AI Rivals Agree They Need to Slow It Down

https://www.wsj.com/tech/ai/anthropic-boss-warns-ai-industry-must-slow-the-pace-a4267b56
2•bryan0•1h ago•0 comments

An interesting anecdote from our Hacker Opus work

https://www.lesswrong.com/posts/HE3Styo9vpk7m8zi4/evhub-s-shortform?commentId=fcqxeya5TCnbx5YBa
2•yurivish•1h ago•0 comments

The Interim Computer Museum

https://icm.museum/
37•mulmen•1h ago•4 comments

Apple *deletes* your Apple Music library if you unsubscribe

https://www.reddit.com/r/apple/comments/7niv58/fyi_apple_deletes_your_apple_music_library_if_you/
12•behnamoh•1h ago•3 comments

Can an earnest agreement with AI increase alignmnet. appears to be "YES "

https://www.echohive.ai/a-short-agreement-zero-observed-cheating
3•echohive42•1h ago•0 comments