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!

Goodbye Sourcehut

https://timharek.no/blog/goodbye-sourcehut/
1•twapi•53s ago•0 comments

OpenAI's apparent maths breakthrough raises profound questions

https://www.economist.com/science-and-technology/2026/09/09/openais-apparent-maths-breakthrough-r...
1•ijidak•1m ago•0 comments

Show HN: Project Management for the Rest of Us

https://actual-plan.com/
1•crmasterton•2m ago•0 comments

Virtualized Conversations (Vcon)

https://datatracker.ietf.org/group/vcon/documents/
1•mindcrime•2m ago•0 comments

Schools Get 5M Complaints yet Almost No Teachers Trained to Handle Them

https://replyresearch.com/schools-get-5m-complaints-yet-almost-no-teachers-trained-to-handle-them/
1•replyresearch•2m ago•0 comments

Show HN: CantonPay – registration-free Stellar payment links

https://cantonpay.online
1•richardbertok•2m ago•0 comments

Data Access Patterns That Makes Your CPU Angry

https://blog.weineng.me/posts/slowest_add
1•fagnerbrack•2m ago•0 comments

There is no 10x RBAC

https://infisical.com/blog/folder-based-rbac
1•FinnLobsien•4m ago•0 comments

Vibe2phone: Test your vibe coded iPhone apps from anywhere on your phone

https://github.com/jystervinou/vibe2phone
1•jystervinou•4m ago•1 comments

Apple raises prices of last years iPhones

https://www.theverge.com/tech/992551/apple-iphone-17-17e-air-price-increase
1•qprofyeh•5m ago•0 comments

Building Web Layouts for Dual-Screen and Foldable Devices

https://www.smashingmagazine.com/2022/03/building-web-layouts-dual-screen-foldable-devices/
1•alwillis•6m ago•0 comments

Staggering amounts of valuable metals are ending up in the trash

https://qz.com/copper-nickel-aluminum-metal-trash-recycling-electronic-1851428445
1•behnamoh•6m ago•0 comments

Six Chinese AI firms accused of aggressively copying US frontier models

https://arstechnica.com/tech-policy/2026/09/six-chinese-ai-firms-accused-of-aggressively-copying-...
2•SegfaultSeagull•7m ago•0 comments

South Park creators rename show 'South America'

https://www.bbc.co.uk/news/articles/cp9340rg7k8o
2•hermitcrab•9m ago•0 comments

Apple Doesn't Want You to Worry About the New Apple Watch's Listening Features

https://www.wired.com/story/apple-doesnt-want-you-to-worry-about-the-new-apple-watchs-listening-f...
1•discostrings•11m ago•1 comments

I promise this Ollama replacement will give you the fastest t/s you've ever had

https://github.com/omgitsbase/llmash
2•wowitsbase•11m ago•2 comments

Open-source agentic terminal with a PTY daemon and browser access

https://github.com/hydraterm/hydra-local
1•hydraterms•11m ago•0 comments

Testing Race Conditions

https://projectzero.google/2026/09/maccconc-race-condition.html
1•alpaylan•12m ago•0 comments

Secret DHS Unit Pulling People over Based on Their Financial Data

https://newrepublic.com/post/215177/secret-dhs-unit-predictive-policiing-people-based-financial-data
7•devonnull•12m ago•0 comments

Benchmark: MariaDB vs. MemCP drop-in replacement WordPress

https://www.memcp.org/wiki/Benchmark_MemCP_vs._MariaDB_on_Wordpress#Host_PHP_directly%3A_remove_a...
2•carli2•15m ago•0 comments

EU and Canada Plan Deal to Boost Trade, Security as US Ties Fray

https://www.bloomberg.com/news/articles/2026-09-08/eu-and-canada-plan-far-reaching-alliance-to-st...
3•doener•18m ago•0 comments

Australia to impose digital duty of care on tech companies to reduce online harm

https://www.thetimes.com.au/world/36212-australia-will-impose-a-digital-duty-of-care-on-tech-comp...
2•like_any_other•20m ago•0 comments

Ask HN: Does Gusto drop dependents randomly for anyone else?

1•QuadmasterXLII•22m ago•0 comments

Exposing a global AI slop empire ruining the internet for profit [video]

https://www.youtube.com/watch?v=GEHHTh5OTnQ
2•neom•26m ago•0 comments

The U.S. just had its hottest summer on record

https://www.ncei.noaa.gov/news/national-climate-202608
1•sphyrna-029•26m ago•0 comments

I am obsessed with two ads

https://bryananthonio.com/blog/shift-from-ml-to-ai-engineering/
1•skyberrys•29m ago•0 comments

How the Heck Do QR Codes Work?

https://perthirtysix.com/how-the-heck-do-qr-codes-work
1•hermitcrab•30m ago•0 comments

Student's new car gets erroneously flagged by Flock twice in 2 days

https://www.wsbtv.com/news/local/students-new-car-gets-flagged-by-flock-twice-2-days-family-blame...
3•jimt1234•32m ago•1 comments

BasinRAG – Topological RAG via dynamical basins (0.771 nDCG 10, $0 API cost, CPU

https://github.com/Basinfy/BasinRAG
1•alexmart1ns•32m ago•0 comments

Show HN: BiNeuron – AI code assistant that runs 100% locally

https://github.com/just-not-google/BiNeuron
1•waratecs123•33m ago•0 comments