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!

Dynamically add programs to PATH on Windows

https://abhij.it/dynamically-add-programs-to-path-on-windows/
1•thunderbong•2m ago•0 comments

Byblos AI: AI co-founder sharing context across product, brand, and campaigns

https://byblosai.app
1•Sharanxxxx•2m ago•0 comments

Airbnb Preventing the Use of BnB

https://www.theguardian.com/technology/2026/sep/14/portland-bnb-airbnb-silicon-valley-legal-battl...
1•cycomanic•2m ago•0 comments

Engineering Confidence

https://www.developing.dev/p/engineering-confidence
1•AntonZ234•3m ago•0 comments

Harnesses are blowing up. IMO-medalist CTO built one. Launching 3 weeks early

https://cayu.dev/
1•cayu-ai•5m ago•0 comments

$300M financing for 10-satellite edge-computing constellation

https://spacenews.com/sophia-space-and-sli-agree-on-300-million-financing-for-10-satellite-edge-c...
2•KinetiNode•8m ago•0 comments

World of Warcraft running in a web browser

https://play.keldurn.com/
1•wasm__•10m ago•0 comments

3D viz of how DeepSeek Flash v4.1 is different from decode only transformer

https://whip.run/experience/356b3eba-23ce-4dc8-bff2-4f7bc1862966
1•samagra14•11m ago•0 comments

Expired Compromise: Why Higher Education Standardized

https://expired-compromise.colindreis.com
1•CDreis201•16m ago•0 comments

Ask HN: Do you worry about fires in AI datacenters?

3•roschdal•24m ago•2 comments

Copper and Bronze: The Far-Reaching Consequences of Metallurgy

https://ufl.pb.unizin.org/imos/chapter/copper-bronze/
1•andsoitis•24m ago•0 comments

Tools that were invented during the Bronze Age

https://www.flagfen.com/invented-during-the-bronze-age
1•andsoitis•26m ago•1 comments

Building Multilingual Bridges

https://cohere.com/research/papers/building-multilingual-bridges-2026-09-10
1•andsoitis•28m ago•0 comments

Hacker News – The first days frontpage (19-02-2007)

https://news.ycombinator.com/front?day=2007-02-19
2•etoxin•29m ago•1 comments

Ask HN: What if we had to come back?

4•sans_souse•31m ago•5 comments

Show HN: I was frustrated with AI giving confident answer,Even when it was wrong

https://demo.aqqai.in
2•Vineetyadav2•35m ago•0 comments

Open-Weight Diplomacy: How China's AI Models Are Rerunning the Digital Silk Road

https://www.lawfaremedia.org/article/open-weight-diplomacy--how-china-s-ai-models-are-rerunning-t...
1•usmlatif•36m ago•0 comments

Can a local LLM beat -O3?

https://tijl.blog/posts/cppcon-local/
2•yeputons•37m ago•0 comments

Who Gets to Define the Rules for AI?

https://cohere.com/blog/who-gets-to-define-the-rules-for-ai
3•throwworhtthrow•38m ago•1 comments

Saudi pipeline outage threatens loss of 4% of global oil supply

https://www.reuters.com/business/energy/saudi-pipeline-outage-threatens-loss-4-global-oil-supply-...
2•littlexsparkee•40m ago•0 comments

Grid-Free Monte Carlo for Time-Dependent Diffusion

https://arxiv.org/abs/2609.12306
1•E-Reverance•40m ago•0 comments

Inverse-Square Law

https://blog.coredump.cx/p/inverse-square-law
3•surprisetalk•42m ago•0 comments

Pi(e) in a box: running pi on risk-v inside a VM inside TinyEmu inside WASM

https://deepclause.substack.com/p/pie-in-a-box-running-pi-on-risk-v
2•schmuhblaster•43m ago•0 comments

The /3 Body Problem

https://labs.ripe.net/author/remco-van-mook/the-3-body-problem/
4•m_montazeri•44m ago•0 comments

Ask HN: Building KasirCepat, an offline-first POS for Indonesia

1•cas8398•47m ago•0 comments

Technology Is a Net Good

https://dan.bulwinkle.net/blog/technology-is-a-net-good/
3•pilingual•50m ago•1 comments

Looking for co founder in the consumer app space

1•me_sleepy•58m ago•0 comments

Does AI Assistance Enhance or Erode Expertise?

https://www.nber.org/papers/w35720
3•x312•1h ago•1 comments

OpenAI Astra checks webcam for user

https://twitter.com/ryanvogel/status/2099141395894227152
4•oezi•1h ago•0 comments

MetaRSI-v1: A Meta-Recursive Self-Improving System

https://cosmosmind.ai/research/metarsi-v1
1•tvvocold•1h ago•0 comments