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!

Reviving a four year old reMarkable 2

https://oskrim.github.io/hardware/2026/08/09/remarkable-over-ssh.html
2•tremguy•5m ago•0 comments

Sperm whale communication clicks can travel up to 70 km

https://bio.au.dk/en/about-biology/news-and-events/show/artikel/verdens-kraftigste-clickbait
2•ashurandi•9m ago•0 comments

Data Warehouse Isn't Integrated Just Because the Tables Are in One Place

https://seattledataguy.substack.com/p/your-data-warehouse-isnt-integrated
1•eigenBasis•11m ago•0 comments

Everything You Do Is Being Recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
2•ike_usawa•14m ago•0 comments

Silencing brain's prefrontal cortex boost creative problem-solving in mice

https://news.emory.edu/stories/2026/08/how-mice-learn-think-out-box-neuroscience-surprise
1•giuliomagnifico•16m ago•0 comments

Show HN: Inspect any MCP server – latency, token usage, and security scans

https://github.com/ytkoka/mcp-tester
1•ytkoka•20m ago•0 comments

Switching to electric stoves can dramatically cut indoor air pollution

https://news.stanford.edu/stories/2025/12/gas-propane-stoves-nitrogen-dioxide-exposure-health-ris...
3•Doriell•25m ago•0 comments

Real Engineers Dig with Their Bare Hands

https://www.minid.net/2026/7/14/how-to-automatise-with-ai
4•meerita•25m ago•0 comments

A quick look at zero-knowledge proofs

https://bernsteinbear.com/blog/zkp/
2•birdculture•26m ago•0 comments

Show HN: Pier – Give every agent session its own cloud VM, on your own infra

https://pier.kak.dev/
1•kasktra•30m ago•0 comments

Hybrid Structured Editing

https://programming-journal.org/2026/11/1/
1•mpweiher•30m ago•0 comments

Myspace eyes comeback as an an 'antidote' to social media fatigue

https://www.cnbc.com/2026/08/09/myspace-comeback-rival-social-media-giants.html
1•pseudolus•31m ago•0 comments

The Analytic Monopoly on AI Philosophy

https://millermanschool.substack.com/p/the-analytic-monopoly-on-ai-philosophy
1•theanonymousone•33m ago•0 comments

Story of Roomy with Handmade Illustrations

https://story.roomy.space
1•jdsane•33m ago•0 comments

India's Republic of Uncles

https://www.economist.com/asia/2026/05/31/indias-republic-of-uncles
3•thunderbong•38m ago•3 comments

If You Get in a Car Crash, the Risk Is Growing Your Insurance Won't Pay

https://www.wsj.com/finance/if-you-get-in-a-car-crash-the-risk-is-growing-your-insurance-wont-pay...
3•impish9208•41m ago•2 comments

Tcl Note A1 Nxtpaper Review (2026): A Hybrid Tablet for Taking Notes and Watchi

https://www.wired.com/review/tcl-note-a1-nxtpaper-tablet/
1•joozio•42m ago•0 comments

One Japanese village defied the tsunami (2011)

https://www.nbcnews.com/id/wbna43018489
1•mpweiher•46m ago•0 comments

We are witnessing the death of the games console

https://mattcasmith.net/2026/08/09/death-of-the-games-console
1•mattcasmith•49m ago•0 comments

The Aaronson Oracle: an interactive lesson in human predictability

https://aaronsonoracle.com/
1•Tomte•50m ago•0 comments

Ask HN: Should AI's tell you they're AI?

3•logicallee•50m ago•2 comments

Show HN: Argonix – One AI-powered platform for SRE and cloud operations

https://argonix.io/
1•pydavid•54m ago•0 comments

Show HN: Free QR Code Generator – URL, Text, WiFi and VCard – Free, No Signup

https://at-use.com/tools/qr-code-generator
1•atuse•55m ago•1 comments

Angel Investor Simulator

https://store.steampowered.com/app/4771830/Angel_Investor_Simulator/
2•babuskov•55m ago•0 comments

Ask HN: What you using local models for?

1•kandros•56m ago•1 comments

Solitude as a new aspirational lifestyle: 'We are not lonely'

https://www.bbc.com/news/articles/c5y63dw2x3wo
2•paulpauper•58m ago•0 comments

Softlanding Linux System – ArchiveOS

https://archiveos.org/sls/
1•rbanffy•58m ago•1 comments

The economics professor who keeps running office hours

https://current.fas.harvard.edu/stories/meet-economics-professor-who-keeps-running-office-hours
1•paulpauper•59m ago•0 comments

Show HN: Restoredrill proves your Postgres backups restore

https://github.com/ahmadpiran/restoredrill
2•ahmadpiran•59m ago•0 comments

Taco Bell fans won't let cyclospora come between them and food

https://www.yahoo.com/entertainment/articles/taco-bell-fans-wont-let-100001989.html
2•paulpauper•1h ago•0 comments