frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Researchers directly observe infinitely long wavelengths for the first time

https://phys.org/news/2017-10-zero-index-waveguide-infinitely-wavelengths.html
1•thunderbong•1m ago•0 comments

Automating Human Connection

https://www.tonyrice.me/automation-killing-startups/
1•tonyrice•3m ago•0 comments

Homomorphic Static Analysis

http://marcosh.github.io/post/2026/05/21/homomorphic-static-analysis.html
1•yacin•3m ago•0 comments

Syncing lights with music: Marzullo's algorithm in the DJ booth

https://aaronjanse.substack.com/p/syncing-lights-with-music-marzullos
1•yacin•3m ago•0 comments

AI code automation meets sabotage and strict governance

https://www.developer-tech.com/news/ai-code-automation-meets-sabotage-strict-governance/
1•SVI•3m ago•0 comments

PassNet: Scaling Large Language Models for Graph Compiler Pass Generation

https://arxiv.org/abs/2605.29357
1•matt_d•3m ago•0 comments

Automate pattern discovery with Topics, now generally available

https://www.braintrust.dev/blog/topics-ga
1•mooreds•4m ago•0 comments

Dbt Core v2 is here: still open source, now rebuilt for what's next

https://docs.getdbt.com/blog/dbt-core-v2-is-here?version=2.0&name=Fusion
1•lfx•6m ago•0 comments

Bambu Labs A2L

https://bambulab.com/en/a2l
1•Naracion•6m ago•0 comments

Productivity Effects Across Generations of AI Coding Tools

https://www.nber.org/papers/w35275
1•mooreds•7m ago•0 comments

The Download: China's brain implant ambitions

https://www.technologyreview.com/2026/06/01/1138207/the-download-china-bci-brain-implant-nvidia-a...
1•joozio•8m ago•0 comments

Gefs

https://orib.dev/gefs.html
1•tosh•8m ago•0 comments

Strava sunsetting free API endpoints and public profiles

https://techcrunch.com/2026/06/01/strava-declares-war-on-scrapers-ahead-of-ipo/
1•foco_tubi•8m ago•1 comments

Gimli Tailwind 5.1 Going Commercial (and Why)

https://gimli.app/gimli_tailwind_5_1
1•gimliapp•8m ago•0 comments

Virtual File Tree VSCode Extension for Developers

https://codeberg.org/hjdesulme/virtual-tree.git
1•hdell49•10m ago•1 comments

Anthropic confidentially files to go public

https://www.cnn.com/2026/06/01/tech/anthropic-ipo-filing
3•bdangubic•10m ago•1 comments

Show HN: DepsGuard – one command to harden NPM/pnpm/yarn/bun/uv configs

https://github.com/arnica/depsguard
1•eranation•11m ago•0 comments

Responsible Disclosure in the Age of AI: A Call for Urgent Action [pdf]

https://cyberdefensereview.army.mil/Portals/6/Documents/2026-vol11-iss2/CDR_V11_N2_Hathaway.pdf
1•speckx•11m ago•0 comments

Arm desktop: so many cores, not enough speed

https://marcin.juszkiewicz.com.pl/2026/06/01/arm-desktop-so-many-cores-not-enough-speed/
1•jandeboevrie•12m ago•0 comments

Elon x Dwarkesh / Collison: A 20-min breakdown of Musk's biggest claims about AI [video]

https://www.youtube.com/watch?v=Pv-ppe-g_RE
1•betterhealth12•14m ago•1 comments

Anthropic Files to Go Public

https://www.wsj.com/tech/anthropic-ipo-paperwork-9a48c35e
3•sonabinu•14m ago•0 comments

GPT-5.5 (Azure) down on OpenRouter

https://openrouter.ai/openai/gpt-5.5
2•gmag•16m ago•0 comments

AI Dark Output: The Visible Cost of Invisible Output

https://newsletter.semianalysis.com/p/ai-dark-output-the-visible-cost-of
1•kjhughes•16m ago•0 comments

Michael Saylor's Bitcoin Treasury Firm Strategy Sells 32 BTC

https://decrypt.co/369587/michael-saylors-bitcoin-treasury-firm-strategy-sells-32-btc-for-2-5m
2•trotro•16m ago•0 comments

Why Hardened Images Are Suddenly Everywhere

https://redmonk.com/kholterhoff/2026/06/01/why-hardened-images-are-suddenly-everywhere/
1•mooreds•17m ago•0 comments

Masturbation among birds is 'natural' and should not be punished, say experts

https://www.theguardian.com/science/2026/jun/01/masturbation-birds-natural-healthy-behaviour-study
2•Tomte•20m ago•0 comments

California passes bill declaring death-by-algorithm to 3D-printed ghost guns

https://www.theregister.com/personal-tech/2026/06/01/california-passes-ban-on-3d-printed-firearms...
4•joebuckwilliams•21m ago•1 comments

Tiny GPT in Go. Optimised for Understanding. Trained on Jules Verne Books

https://github.com/zakirullin/gpt-go
3•asdfjsjj2342•22m ago•0 comments

Arwinss The new Windows subsystem for ReactOS / Windows (2014) [pdf]

https://winehq.org.ru/images/8/80/Arwinss.pdf
1•JPLeRouzic•22m ago•0 comments

Patients hospitalized with depression in brighter rooms were discharged twice

https://twitter.com/BrandonLuuMD/status/2061400194210484536
1•bilsbie•23m ago•0 comments