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•9mo 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!

Technographic data samples from my 51M company database

https://github.com/leadita/tech-stack-datasets
1•haynajjar•21s ago•1 comments

Hacker News is just Reddit pretending at sophisticiation

1•Vicinity9635•51s ago•0 comments

Honda Wants Its Cars to Help Fix Busted Infrastructure

https://www.thedrive.com/news/honda-wants-its-cars-to-help-fix-busted-infrastructure
1•PaulHoule•3m ago•0 comments

Tesla exec tells Congress ‘no one has ever’ taken control of its vehicles...

https://electrek.co/2026/02/06/tesla-exec-tells-congress-no-one-has-ever-taken-control-vehicles-b...
1•Bender•3m ago•1 comments

Show HN: VibeBox – an ultrafast macOS sandbox for AI agents

https://github.com/robcholz/vibebox
1•robcholz•4m ago•0 comments

Instagram Emails Links Are Dangerous by Design

https://github.com/xnomagichash/instagram-bug-report
1•ghc•4m ago•0 comments

Zscaler Acquires Browser Security Firm SquareX

https://www.securityweek.com/zscaler-acquires-browser-security-firm-squarex/
1•Bender•4m ago•0 comments

The Inevitable Emergence of Neurons in Probabilistic Search

https://segfaults.co/from-bayesian-inference-to-neural-computation-the-inevitable-emergence-of-ne...
1•moona3k•5m ago•0 comments

Omega-3 is inversely related to risk of early-onset dementia

https://pubmed.ncbi.nlm.nih.gov/41506004/
4•brandonb•7m ago•0 comments

Vouch

https://github.com/mitchellh/vouch
1•dboon•8m ago•0 comments

The next evolution of application security: AI-accelerated DevSecOps

https://www.scworld.com/resource/the-next-evolution-of-application-security-ai-accelerated-devsecops
1•Bender•9m ago•0 comments

Good People Make Others Uncomfortable

https://thecomplexityedge.substack.com/p/the-myth-that-good-people-dont-make
1•srid•10m ago•0 comments

A Better TypeScript-ZScript v0.4.1

https://github.com/zscriptlang/zscript
1•ziyaadsaqlain•11m ago•0 comments

Shaping 0-1 with Claude Code

https://twitter.com/rjs/status/2020184079350563263
1•tosh•11m ago•0 comments

Michael Pollan Says Humanity Is About to Undergo a Revolutionary Change

https://www.nytimes.com/2026/02/07/magazine/michael-pollan-interview.html
1•whack•13m ago•0 comments

Credentials for Linux: Bringing Passkeys to the Linux Desktop

https://alfioemanuele.io/talks/2026/02/01/fosdem-2026-credentials-for-linux.html
1•alfie42•13m ago•0 comments

Show HN: Computerscienceresources.com – A Crowdsourced Learning Platform

https://github.com/AllanKoder/ComputerScienceResources.com
1•CatBread•13m ago•0 comments

Ask HN: How do you handle Canadian income tax brackets in software?

1•jbsgermain•15m ago•0 comments

Tell HN: Claude Code freezes on long inputs

1•logicallee•16m ago•0 comments

Fast Properties in V8 (2017)

https://v8.dev/blog/fast-properties
1•aragonite•16m ago•0 comments

Warming temperatures are shrinking snowpack in key Canadian watersheds

https://www.cbc.ca/news/science/winter-snow-climate-water-9.7078119
1•Teever•16m ago•0 comments

Remote Laravel Development – Mac and Tailscale and Laravel Herd

https://swapnil.dev/remote-laravel-development-with-tailscale-herd-and-mac-studio-the-complete-guide
1•iamswap•16m ago•0 comments

Show HN: Generated implementation of StrongDM Attractor from Markdown specs

https://github.com/brynary/attractor
1•brynary•18m ago•0 comments

Bitcoin is still about $69,000 too high

https://www.ft.com/content/2b030926-2012-4446-b22d-e549e10e7086
3•bookofjoe•18m ago•1 comments

Show HN: CarbonLint – Real-time carbon footprint tracker for code

1•nishalk•21m ago•2 comments

Immigrants Reduced US Deficits by $14.5T Since 1994

https://www.cato.org/blog/cato-study-immigrants-reduced-deficits-145-trillion-1994
3•throw0101c•22m ago•0 comments

I put a real-time 3D shader on the Game Boy Color

https://blog.otterstack.com/posts/202512-gbshader/
2•adunk•25m ago•0 comments

Waymo admits that its autopilot is often just guys from the Philippines

https://www.techspot.com/news/111233-waymo-admits-autopilot-often-guys-philippines.html
3•u1hcw9nx•29m ago•1 comments

Looking for AI Engineering Intern at at Berlin Investment Fund

https://bitcap.jobs.personio.com/job/2497787?language=en
1•dipshady•31m ago•1 comments

Show HN: Bhagavan – a calm, approachable app for exploring Hinduism

https://www.bhagavan.io
4•AkhilSonthi•32m ago•0 comments