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!

US death row inmate survives execution attempt after two lethal injections

https://www.bbc.com/news/articles/cq8r6rjdvlx6o
1•vrganj•1m ago•0 comments

Booms, Bombs and Bonds: Interest Rates, Part I

https://paulkrugman.substack.com/p/booms-bombs-and-bonds-interest-rates
1•runeks•4m ago•0 comments

Microsoft's Big Copilot Rethink

https://www.theverge.com/tech/1003365/microsoft-copilot-os-for-work-notepad
1•saikatsg•7m ago•0 comments

The AI data center e-waste problem is huge

https://www.theverge.com/ai-artificial-intelligence/996470/ai-data-center-e-waste-ban
1•saikatsg•7m ago•0 comments

We Do Know How, but Not the How We Want

https://cacm.acm.org/blogcacm/we-do-know-how-but-not-the-how-we-want/
1•adunk•8m ago•0 comments

Thunderbird for iOS: A First Look

https://blog.thunderbird.net/2026/10/thunderbird-for-ios-a-first-look-at-the-native-iphone-email-...
2•HieronymusBosch•8m ago•0 comments

China's rise as a health tech superpower is important

https://restofworld.org/2026/china-ai-healthcare-biotech-drugs/
3•stareatgoats•17m ago•0 comments

Software doesn't need to be readable anymore. it needs to be explainable

https://ghuntley.com/readable/
1•ghuntley•20m ago•1 comments

Gnomish relay: a secure remote control for coding agents in World of Warcraft

https://www.curseforge.com/wow/addons/gnomish-relay
1•eserilev•26m ago•0 comments

Dagenza – a fresh new calendar app for iPhone

https://testflight.apple.com/join/sKcmUdAq
1•marc0janssen•29m ago•1 comments

Glashütte Trash Clock – A 30-minute pendulum clock made from trash

https://niklasroy.com/gtc/
1•r0r0•29m ago•1 comments

AI godfather Yann LeCun: Anthropic CEO deluded, doesn't understand cybersecurity

https://fortune.com/2026/10/01/yann-lecun-anthropic-ceo-dario-amodei-deluded-crazy-cybersecurity/
4•OtomotO•31m ago•0 comments

Is Claude Conscious?

https://www.nytimes.com/2026/09/29/us/anthropic-claude-morals-ai.html
1•langitbiru•33m ago•1 comments

It's the Kernel's Fault: Custom Page Fault Handling with Bpf_fault

https://dl.acm.org/doi/10.1145/3830418.3843896
1•theanonymousone•36m ago•0 comments

Explore decision models in one place with Decisions API

https://decisions-api.dev
3•QingWu•43m ago•1 comments

AI training of copyrighted material not fair use: Third Circuit

https://www.courthousenews.com/ai-training-of-copyrighted-material-not-fair-use-third-circuit/
3•reasonableklout•44m ago•0 comments

My website runs a curated RSS feed of critical film finance news

https://home.danieldeboulay.com/#essays
1•freedmans•45m ago•1 comments

OpenAI cuts ties with 3 safety researchers

https://techcrunch.com/2026/10/01/openai-cuts-ties-with-three-safety-researchers-wsj-reports/
3•KingOfCoders•47m ago•0 comments

List your SaaS in this free directories and get more visibility

https://goodsaas.xyz/blog/top-free-saas-directories-2026
1•agnes_realm•53m ago•0 comments

Designing Neki for Performance

https://planetscale.com/blog/designing-neki-for-performance
1•hisamafahri•54m ago•0 comments

Removing Timing Shortcuts Improves Non-Invasive Brain-to-Text

https://arxiv.org/abs/2609.40359
2•sbulaev•55m ago•0 comments

ImageGen: Local AI image generation for Mac with Qwen-Image 2.1

https://github.com/ph1lb4/imagegen-mac
1•tosh•56m ago•0 comments

Write_On by Jason Fried

https://twitter.com/jasonfried/status/2105403067793584590
1•gholap•59m ago•0 comments

NetBSD on My Netbook

https://movq.de/blog/postings/2026-09-18/0/POSTING-en.html
1•networked•59m ago•0 comments

WSLC Architecture Deep Dive

https://devblogs.microsoft.com/commandline/wslc-architecture-deep-dive/
1•taubek•1h ago•0 comments

AI upscaling is coming to PS5

https://blog.playstation.com/2026/10/01/ai-upscaling-is-coming-to-ps5/
3•thibautg•1h ago•0 comments

Bryan Cantrill: Keynote (RustConf2026): Rust, in Sickness and in Health [video]

https://www.youtube.com/watch?v=3kbPyuAtk7g
1•mfrw•1h ago•0 comments

A lack of rockets is creating a crisis for space technology companies

https://www.newscientist.com/article/2591502-a-lack-of-rockets-is-creating-a-crisis-for-space-tec...
1•ryzvonusef•1h ago•1 comments

Show HN: Mixdog – open-source coding agent for Windows desktop

https://github.com/tribgames/mixdog
2•tempest1033•1h ago•0 comments

Decode what's behind a QR code, useful for retrieving wi-fi passwords

https://www.qrexpress.org/decoder/
1•levario•1h ago•0 comments