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!

Survey Statistics: structured MRP to smooth survey weights

https://statmodeling.stat.columbia.edu/2026/08/04/survey-statistics-structured-mrp-to-smooth-surv...
1•paulpauper•4m ago•0 comments

Economy in an automated post-scarcity society

https://qalamjadal.substack.com/p/economy-in-a-fully-automated-post
1•x0axz•4m ago•0 comments

Lunch With Freeman Dyson, in 196,883 Dimensions

https://mathshistory.st-andrews.ac.uk/Obituaries/Dyson_2_NY_Times/
1•paulpauper•5m ago•0 comments

The little-told story of the WWII pet cull (2013)

https://www.bbc.com/news/magazine-24478532
1•Teever•6m ago•0 comments

Cloudflare Wallet, developers who need it can reserve a name they like

https://cloudflare.pay/
1•BearBest•7m ago•0 comments

Show HN: Structured search for Who is hiring threads

https://gethnjobs.com/
1•hboon•8m ago•0 comments

All Knowledge Is Provisional (2024)

https://www.sebastianmellen.com/post/2024/all-knowledge-is-provisional/
2•andsoitis•10m ago•0 comments

Farewell Etaoin Shrdlu (1978) [video]

https://www.youtube.com/watch?v=1MGjFKs9bnU
2•mitthrowaway2•11m ago•0 comments

Seeing the World Through Your Field (2024)

https://www.sebastianmellen.com/post/2024/seeing-the-world-through-your-field/
1•andsoitis•13m ago•0 comments

BorrowSanitizer

https://borrowsanitizer.com/
1•vinhnx•13m ago•0 comments

Tests for a PDF

https://blog.lvmbdv.dev/posts/tests-for-a-pdf/
1•vinhnx•13m ago•0 comments

Show HN: Memcode launches a new terminal coding agent

https://www.memcode.ai/
1•timerwin•14m ago•0 comments

Telegram Briefly Removed from App Store

https://www.macrumors.com/2026/08/04/telegram-briefly-removed-from-app-store/
1•zdkaster•15m ago•0 comments

Show HN: MCP for building secured apps on SQL databases

https://www.dronahq.com/mcp-server/
1•kinj28•22m ago•0 comments

Who coined the term "spin doctor"?

https://www.theguardian.com/notesandqueries/query/0,5753,-1124,00.html
2•teleforce•28m ago•0 comments

Cyberattacks target water systems in at least 12 states

https://www.axios.com/2026/08/04/water-cyberattacks-us-iran
2•toomuchtodo•29m ago•0 comments

Sendspin: Open standard for the complete music listening experience

https://github.com/Sendspin
1•teleforce•32m ago•0 comments

Are Native Americans in the final stages of cultural eradication in the USA?

https://medium.com/freedomofthought/are-native-americans-in-the-final-stages-of-cultural-eradicat...
1•raynchad•35m ago•1 comments

The Moral Compass of AI: Why Fairness Shapes Our Future

https://medium.com/freedomofthought/the-moral-compass-of-ai-why-fairness-shapes-our-future-d2aed5...
1•raynchad•45m ago•0 comments

SpaceX hit by surging AI costs as insiders prepare to sell their shares

https://www.nbcnews.com/business/business-news/spacex-earnings-surging-ai-costs-rcna590682
3•mapping365•46m ago•0 comments

Funding found for free meals in Seattle schools

https://www.seattletimes.com/education-lab/funding-found-for-free-meals-in-seattle-schools/
2•petethomas•48m ago•0 comments

Do you find paid contribution on AI Annotation (e.g. DataAnnotation), moral?

1•moorcheh•49m ago•2 comments

Massive Worms, Tiny Bodies: Why Horsehair Worms Might Be Good for Nature [video]

https://www.youtube.com/watch?v=1VSeb-ZNRYY
1•thunderbong•49m ago•0 comments

Solving the Shortest Vector Problem in $2^{0.6039n}$ Time via Mid-Point Hessian

https://arxiv.org/abs/2608.02478
1•sbulaev•51m ago•0 comments

Trump administration drafting ban on Chinese data center devices, sources say

https://www.reuters.com/world/trump-administration-drafting-ban-chinese-data-center-devices-sourc...
2•mikhael•52m ago•0 comments

I built an AI tool that turns your photo into a Greek mythology character

http://blurb.cam/
1•gaoheyang•53m ago•0 comments

Rochelle Hudson

https://the-wanderling.com/hudson.html
1•petethomas•55m ago•0 comments

Nucleus – A lightweight dashboard for Linux dev environments (PHP and systemd)

https://github.com/LebToki/Nucleus
1•LebToki•57m ago•0 comments

The White House Is Keeping Its AI Cybersecurity Framework Secret

https://www.wired.com/story/the-white-house-is-keeping-its-ai-cybersecurity-framework-secret/
4•reasonableklout•58m ago•0 comments

The Bitwarden subscription is now $20 a year

https://bitwarden.com/pricing/
2•mikalauskas•1h ago•0 comments