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!

Augmenting Long-term Memory (2018)

https://augmentingcognition.com/ltm.html
1•re-framer•3m ago•0 comments

AI makes foundational knowledge more important

https://www.timeshighereducation.com/opinion/ai-makes-foundational-knowledge-more-important-ever
1•jruohonen•8m ago•0 comments

Hayward City Council will consider banning data centers at its Sept. 15 meeting

https://www.hayward-ca.gov/discover/news/aug26/hayward-council-consider-move-ban-data-centers-its...
3•MilnerRoute•8m ago•0 comments

Why did I build a product no one needs?

https://metedata.substack.com/p/017-why-did-i-build-a-product-no
2•young_mete•8m ago•0 comments

DersCountsort: General-purpose sort with amortized O(N) complexity

1•dersoverflow•9m ago•0 comments

Which Data Repository Should You Use?

http://daniellakens.blogspot.com/2026/08/which-data-repository-should-you-use.html
2•pajop•10m ago•1 comments

Abdominal Fat Predicts Heart Disease Risk Better Than BMI

https://www.acc.org/about-acc/press-releases/2026/08/11/14/59/abdominal-fat-predicts-heart-diseas...
1•theanonymousone•11m ago•0 comments

AAP: How pediatricians are navigating federal leaders' fearmongering on vaccines

https://www.statnews.com/2026/08/14/vaccine-executive-order-policy-aap-president/
1•EA-3167•12m ago•0 comments

4B Capable Agent in the Browser

https://alexwortega-my-pi-agent.hf.space/
1•Alexwortega•13m ago•0 comments

Living with Depression: The Part I Never Say Out Loud About Depression

https://medium.com/freedomofthought/living-with-depression-the-part-i-never-say-out-loud-3e9c218b...
1•raynchad•13m ago•1 comments

A Walkable ASCII Cyberpunk City in One HTML File [video]

https://www.youtube.com/watch?v=3YtygAx_C6A
1•yboris•14m ago•0 comments

Memories Mysteriously Survive After Brain Shutdown

https://www.404media.co/memories-mysteriously-survive-after-brain-shutdown-and-scientists-dont-kn...
1•Jimmc414•14m ago•0 comments

Dryas: A Reprogrammable Engine for High-Speed Interconnect Tracing and Analysis

https://arxiv.org/abs/2608.12934
1•Jimmc414•15m ago•0 comments

Show HN: Personal Stock – share a stake in your lifetime wealth

https://github.com/onrootnet/personal-stock
1•koopuluri•15m ago•0 comments

The Enshittification of Everything (Part 3)

https://robertreich.substack.com/p/the-enshittification-of-everything-c94
10•rbanffy•16m ago•1 comments

How Samsung's Privacy Screen Works

https://www.ifixit.com/News/117498/the-secrets-behind-samsungs-privacy-screen
2•gnabgib•16m ago•0 comments

Show HN: Open-source skill to run Matt Pocock's skills in bulk AFK

https://github.com/rvoertmann/barbequeue
1•remingtonv•18m ago•0 comments

Cornell: Pro Palestine Students Targeted by ICE: Come Back to US or Lose Funding

https://theintercept.com/2026/08/14/cornell-pro-palestine-student-targeting-ice/
6•Jimmc414•18m ago•0 comments

The unlikely opera star: How AI helped a nonspeaking performer find his voice

https://www.scientificamerican.com/podcast/episode/a-nonspeaking-person-is-the-star-of-this-opera...
1•e2e4•20m ago•0 comments

Stewart Brand's 6‑Part Series How Buildings Learn, with Music by Brian Eno

https://www.openculture.com/2026/08/watch-stewart-brands-6-part-series-how-buildings-learn.html
2•pauldelany•21m ago•0 comments

Show HN: Native experience for mobile web – Raylers

https://raylers.com
1•faruq_72_786•21m ago•0 comments

Show HN: A mobile app to keep up with most important news on Agentic Coding

https://apps.apple.com/de/app/agentic-coding-news-digest/id6797645176
1•remingtonv•21m ago•0 comments

Show HN: Open-source Grok Bot alternative

https://github.com/madebywelch/guaca
1•madebywelch•22m ago•0 comments

Emulating Terraform on Pulumi's Engine

https://www.pulumi.com/blog/terraforms-data-model-on-pulumis-engine/
1•cnunciato•26m ago•0 comments

Air traffic controller saves day when 2 flights with same call number converge

https://www.cbsnews.com/news/phoenix-air-traffic-controller-2-american-airlines-flights-same-call...
2•cf100clunk•26m ago•1 comments

The Podcast Where You Can Eavesdrop on the A.I. Elite

https://www.nytimes.com/2026/04/26/business/dwarkesh-patel-podcast-ai.html
1•paulpauper•28m ago•0 comments

Ozempic is not just a weight-loss story anymore

https://www.vox.com/future-perfect/499434/ozempic-glp1-wegovy-obesity-overweight-diabetes
2•paulpauper•31m ago•0 comments

Cultivating a state of mind where new ideas are born (2023)

https://www.henrikkarlsson.xyz/p/good-ideas
10•felixbraun•32m ago•0 comments

Successful Families Are Process Knowledge

https://steader.substack.com/p/successful-families-are-process-knowledge
1•paulpauper•34m ago•0 comments

TemporalStore: A disruptive open-source engine managing your LLM memory

https://temporalstore.ai/blog-context-management.html
2•matrixarkai•34m ago•1 comments