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!

The First Nvidia RTX Spark Mini PCs Launch Today from Asus, Dell, and MSI

https://www.theverge.com/tech/1036880/nvidia-rtx-spark-ai-mini-pc-desktops
1•CharlesW•49s ago•0 comments

FastFrames: Video Generation at Interactive Latency

https://huggingface.co/apple/FastFrames-L
1•tingletech•1m ago•0 comments

Multiple vulnerabilities in Regexp and String case conversion

https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
1•runesoerensen•1m ago•0 comments

Tchiko Native GTK3 Linux sysadmin companion with sub-15ms local dispatch

https://zyniq-solutions.github.io/Tchiko-Assistant-Sysadmin-companion/
1•khalilpreview•1m ago•0 comments

Injury-induced signalling coordinates immunity and cannibalism in locusts

https://www.nature.com/articles/s41586-026-11297-7
1•geneticdrifts•3m ago•0 comments

Software companies are trying to kill home computing

https://lateblt.livejournal.com/526188.html
2•sammatilda•4m ago•0 comments

Palo Alto Networks to Acquire Applied Compute for $4.5B

https://investors.paloaltonetworks.com/news-releases/news-release-details/palo-alto-networks-acqu...
1•alpb•4m ago•0 comments

Show HN: Solve hard jigsaw puzzles scanning with phone

https://puzzle.cloudish.app/
1•javierluraschi•8m ago•2 comments

Show HN: Frontier Observatory – A visual timeline of what the AI labs ship

https://frontier-lab-observatory.lucentcarrot1.chatgpt.site
1•mnhcorp•8m ago•0 comments

Oops All Shells – Stupid Vulnerability Name Generator

https://oops-all-shells.netlify.app/
1•mister_mort•9m ago•1 comments

Getting Access

https://www.math.columbia.edu/~woit/wordpress/?p=16002
1•jjgreen•9m ago•0 comments

Apache Shiro Joins the GitHub Secure Open Source Fund

https://shiro.apache.org/blog/2026/11/apache-shiro-secure-open-source-fund.html
1•lprimak•9m ago•0 comments

The public database of AI agent incidents

https://www.experimentempire.com/agent-incident-register
1•yakhinvadim•12m ago•0 comments

That 'SNL' Sister Sketch: It's More Like Nonfiction

https://www.nytimes.com/2026/11/18/upshot/sister-snl-elder-care.html
1•mooreds•12m ago•0 comments

Maak v1.0.0 – infinitely extensible command runner, build sys in Lisp

https://github.com/jjba23/maak
1•jjba23•12m ago•0 comments

Carbon beats opponents when it thinks more than them, but not more in total

https://micjm.com/blog/carbon-beats-opponents-when-it-thinks-more-than-them-but-not-more-in-total/
1•seizethecheese•12m ago•0 comments

Identity Verification Built for Devs

https://www.idswyft.app/
1•mooreds•13m ago•0 comments

Would you dine out more if restaurants turned off the music?

https://boulderreportinglab.org/newsletter/%f0%9f%92%ac-would-you-dine-out-more-if-restaurants-tu...
1•mooreds•13m ago•0 comments

Sodium Bicarbonate Supplementation Enhances High-Intensity Interval Performance

https://onlinelibrary.wiley.com/doi/10.1002/ejsc.70253
1•Jimmc414•14m ago•0 comments

Show HN: Control a robot (IRL or MuJoCo SIM) just by simple prompting

https://github.com/google-deepmind/robotics-antigravity-plugin
2•_sshahid_•15m ago•0 comments

I Won't Do Business with Trump's America

https://macleans.ca/politics/i-wont-do-business-with-trumps-america/
3•emptybits•17m ago•0 comments

FAA pauses Juniper router installations after nationwide ground stop

https://www.cnn.com/2026/11/17/us/faa-ground-stop-juniper-router-installations
1•Bender•18m ago•0 comments

LureRush – Play competitive fishing game

https://lurerush.com/
1•tongsong•19m ago•0 comments

Btrfs to Deal with AI and Newbies Without Common Senses More Harm Than Good

https://www.phoronix.com/news/Btrfs-LLM-Newbies-Guidelines
1•Bender•19m ago•0 comments

The Chess Rating System That Predicts Everything [video]

https://www.youtube.com/watch?v=1ejtdt78rCo
1•gmays•20m ago•0 comments

Anthropic sets share price at $83 for stock market debut, above expected range

https://www.theguardian.com/technology/2026/nov/18/anthropic-share-price-stock-market-ipo
3•howard941•21m ago•0 comments

Ergodicity: What Does It Mean?

https://leonlins.com/writing/ergodicity
1•AlinaFilomena•21m ago•0 comments

Anthropic prices initial public offering

https://www.anthropic.com/news/anthropic-prices-initial-public-offering
4•surprisetalk•23m ago•0 comments

The Making of Grand Theft Auto VI

https://unwall.app/www.bloomberg.com/features/2026-grand-theft-auto-6-making-of/
1•CharlesW•24m ago•0 comments

Cognitive Radius

https://lemire.me/blog/2026/11/16/cognitive-radius/
1•sorentwo•25m ago•0 comments