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!

GitHub Gists Flooded with Spam

https://gist.github.com/discover
1•jdthedisciple•56s ago•1 comments

Rolefit – IT roles ranked by tech stack with automated cover letters

https://rolefit.freebuff.page/
1•Rolefit_creator•2m ago•0 comments

You Are Losing Weight. Why Are You So Angry?

https://julienreszka.com/blog/you-are-losing-weight-why-are-you-so-angry/
1•julienreszka•2m ago•0 comments

Empires of AI: The Rise and Fall of a New Global Order

https://www.foreignaffairs.com/china/empires-artificial-intelligence-niall-ferguson-eric-schmidt
1•bryanrasmussen•4m ago•0 comments

Show HN: Open-Source Cybersecurity Platform Uses AI Agents to Protect Businesses

https://medium.com/@thomasunise/this-open-source-cybersecurity-platform-uses-ai-agents-to-detect-...
3•modern_cmo•5m ago•0 comments

Slow Software

https://www.inkandswitch.com/slow-software/
1•andsoitis•7m ago•0 comments

Show HN: macOS window switcher replacement that keeps each Space separate

https://debutspace.com/
1•thomplth•10m ago•1 comments

The One Question I Can't Stand at Restaurants

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
1•masfuerte•11m ago•0 comments

To make AI morally good, tech companies are turning to religion

https://apnews.com/article/anthropic-moral-artificial-intelligence-religion-2bb91e3334fd6d732edf2...
1•geox•16m ago•1 comments

Faxbook

https://jussiparikka.net/2016/07/24/faxbook/
1•jruohonen•17m ago•0 comments

Origin Range Requests: Serving large files without range-request tuning

https://blog.cloudflare.com/origin-range-requests/
1•weinzierl•17m ago•0 comments

Show HN: Farol – a risk map of a pull request for the person who approves it

https://github.com/winnin/farol
2•ericholiveira•18m ago•0 comments

Incremental Computation Graphs

https://dziban.net/posts/incremental-computation-graph/
1•birdculture•19m ago•0 comments

iPhone Duo "Teardown"

https://www.youtube.com/watch?v=5laDGy4INB0
1•migmartri•21m ago•0 comments

Show HN: Liquid Glass – Physical Glass Optics and UI Engine for Linux in Rust

https://github.com/ziuus/liquid-glass
1•noelyt101•21m ago•0 comments

What Do People Like?

https://prog21.dadgum.com/72.html
1•andsoitis•21m ago•0 comments

A Space Startup Is Coming Out of Stealth with Seven-Figure Deals

https://newsbywire.com/a-space-startup-is-coming-out-of-stealth-with-seven-figure-deals/
1•usfaxion•21m ago•0 comments

US inequality is getting worse in ways you might not expect

https://theconversation.com/us-inequality-is-getting-worse-in-ways-you-might-not-expect-294075
5•JKCalhoun•21m ago•4 comments

Don't fall in love with your technology (2012)

https://prog21.dadgum.com/128.html
1•andsoitis•22m ago•0 comments

Dear ImGui Explorer: An Interactive Manual for Dear ImGui, ImPlot and ImPlot3D

https://pthom.github.io/imgui_explorer/
1•alhirzel•23m ago•0 comments

YousefAbdulHusain – The Dune Movies Erase Islam [video]

https://www.youtube.com/watch?v=Vu2ARRBjEHY
1•abdelhousni•25m ago•1 comments

The Polyglot's Dilemma: Conformance Testing a Dozen Specs in as Many Languages

https://emptysqua.re/blog/polyglots-dilemma/
1•weinzierl•29m ago•0 comments

The AI graveyard: a running list of projects and startups that didn't make it

https://techcrunch.com/2026/10/24/the-ai-graveyard-a-running-list-of-projects-and-startups-that-d...
2•theanonymousone•29m ago•0 comments

Conversations at Karma

https://www.novembermag.com/content/volume-3-conversations-at-karma
1•jruohonen•31m ago•0 comments

Show HN: Code Counter Machine a modern analysis of AI driven development costs

https://github.com/insanai/ccm
1•vikrantrathore•33m ago•0 comments

WIP – Native Dolby Vision Support on x86 Intel CPU in LE and Kodi: R/LibreELEC

https://www.reddit.com/r/libreELEC/comments/1wq20eu/wip_native_dolby_vision_support_on_x86_intel_...
1•xbmcuser•34m ago•0 comments

Samsung TVs look for microphones in your house via Bluetooth and then spy events

https://twitter.com/freddier/status/2114042326758867453
4•taubek•35m ago•0 comments

Workmux: Tmux workflow for parallel coding agents

https://workmux.dev/
2•rane•36m ago•0 comments

VenaCast

https://venacast.vena-io.workers.dev
1•elijahtue•36m ago•0 comments

Active incident at Dreamhost forcing password reset

https://www.dreamhoststatus.com/
2•greenchair•37m ago•0 comments