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!

Multicore TypeScript, Inspired by Rust's Rayon

https://geastack.com/blog-parallel-typescript
1•arbayi•23s ago•0 comments

Do minor curl vulnerabilities in the open

https://daniel.haxx.se/blog/2026/10/20/do-minor-curl-vulnerabilities-in-the-open/
1•birdculture•28s ago•0 comments

AI Portability in 2026: Breaking Up Is Hard to Do

https://peckjon.substack.com/p/ai-portability-in-2026
1•peckjon•1m ago•0 comments

The AI-Hacking Apocalypse Began Last Night

https://www.theatlantic.com/technology/2026/10/ai-hacking-apocalypse-began-last-night/689106/
1•zzzeek•3m ago•0 comments

Tinder Reverse Engineered

https://twitter.com/TheDonAyo/status/2112591782857109809
1•mrkn1•7m ago•0 comments

Ollama flint requires 0.40.8 but most recent is 0.40.7

1•roscas•8m ago•0 comments

Show HN: Yantra – Interactive step-by-step diagrams as one offline HTML file

https://github.com/niyankhadka/yantra
1•niyankhadka•9m ago•0 comments

Developers Are Dumbing Down Their Smart TVs

https://www.extremetech.com/electronics/developers-are-dumbing-down-their-smart-tvs
2•speckx•11m ago•2 comments

NPWS ask for vigilance after red kite poisoning in Carlow

https://www.rte.ie/news/regional/2026/1021/1596338-red-kite-carlow/
1•austinallegro•11m ago•0 comments

After automation: Solo founding will be the default

https://every.to/thesis-statements/julian-weisser
3•rmason•14m ago•1 comments

Ask HN: Caution on using AI security platforms for repositories.

1•BehanPrW•15m ago•0 comments

Claude Duet

https://claude.com/resources/articles/claude-duet
5•zaevlad•18m ago•2 comments

Physicists trap a single antimatter particle for a month

https://www.scientificamerican.com/article/physicists-trap-a-single-antimatter-particle-for-a-month/
1•mooreds•18m ago•1 comments

Research Preview of Claude Duet

https://twitter.com/claudeai/status/2112984664256241837
1•davidgomes•18m ago•1 comments

How to Fix PHP2Shell (CVE-2026-109618 and CVE-2026-109619)

https://containersecurity.dev/blog/how-to-fix-php2shell
1•aerabi•20m ago•0 comments

Vulnerabilities in PHP Affecting Cisco Products: October 2026

https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-php-octobe...
1•speckx•21m ago•0 comments

4 Wheel Steering Is a Nightmare

https://simulation.michelin.com/canopy/technical-articles/4-wheel-steering-is-a-nightmare
1•shpx•22m ago•0 comments

iPhone Duo Review with CT scan [video]

https://www.youtube.com/watch?v=o1qc29t04GI
1•tekacs•23m ago•0 comments

Plex laid off the whole player team

https://forums.plex.tv/t/2026-20-0-beta-ios-and-tvos-4k-dovi-hdr10-won-t-play-infinite-spinning-c...
29•zzyzxd•26m ago•12 comments

Ask HN: How will programming language design change as more code comes from AI?

2•pelican0•27m ago•0 comments

LLM-D 1.0 Takes Open-Source Kubernetes AI Inference into Production

https://techstrong.ai/ai-infrastructure/llm-d-1-0-takes-open-source-kubernetes-ai-inference-into-...
2•CrankyBear•27m ago•0 comments

Show HN: Is there a YC advantage for sales?

https://elegant-chebakia-7aee64.netlify.app/
1•30minAdayHN•27m ago•0 comments

A story of a Figma bug that wasn't a bug at all (2021)

https://aresluna.org/this-is-a-story-of-a-figma-bug/
1•jllyhill•28m ago•0 comments

Apple's Touchscreen OLED MacBook Pro: Everything We Know

https://www.macrumors.com/guide/touchscreen-macbook-pro/
2•mahboi•28m ago•2 comments

The $15B 'viral' AI startup changing how American doctors treat patients

https://www.ft.com/content/0ed17b79-47dd-4ad8-8dca-44eb35617edc
2•bazzmt•29m ago•0 comments

Security Through Obscurity Is Dead and LLMs Killed It – Brendan Dolan Gavitt [video]

https://www.youtube.com/watch?v=8rOY3aD1yxY
3•arto•30m ago•0 comments

Problematic social media use: Attachment, Narcissism, and interpersonal skills

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0359569
2•PaulHoule•30m ago•0 comments

Making a Career in Dictatorship

https://aworkinglibrary.com/reading/making-a-career-in-dictatorship
1•Tomte•31m ago•0 comments

Meta hit with $25B penalty for deceiving users about privacy on Facebook

https://nmdoj.gov/press-release/the-new-mexico-department-of-justice-secures-another-landmark-vic...
4•DeepLogin•32m ago•2 comments

Sulfur, Right There All Along

https://www.science.org/content/blog-post/sulfur-right-there-all-along
2•dverlaeckt80•32m ago•0 comments