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

Cloudflare Zero-Day: Accessing Any Host Globally

https://fearsoff.org/research/cloudflare-acme
1•flipped•44s ago•0 comments

Show HN: Linky – AI-powered link submission that adapts to any website

https://github.com/jiweiyeah/linky-ai
1•freeourdays•1m ago•0 comments

Notch – open-source Programmer's Notebook

https://github.com/sb-/notch
1•barani•1m ago•0 comments

The State of Rust Cryptography in 2026

https://kerkour.com/rust-cryptography-ecosystem-2026
1•unsolved73•1m ago•0 comments

Tighter bounds in the prime number theorem

https://www.johndcook.com/blog/2026/01/16/prime-number-theorem-bounds/
1•ibobev•1m ago•0 comments

Efficiently testing multiple primes at once

https://www.johndcook.com/blog/2026/01/16/testing-multiple-primes/
1•ibobev•2m ago•0 comments

Prime Gaps and Gapcoin

https://www.johndcook.com/blog/2026/01/18/prime-gaps-gapcoin/
1•ibobev•2m ago•0 comments

LED "Nixie" Tube Clock (2022)

https://youtu.be/gkYBQIplHyQ
1•spking•2m ago•0 comments

Workspaces and Monorepos in Package Managers

https://nesbitt.io/2026/01/18/workspaces-and-monorepos-in-package-managers.html
1•zdw•3m ago•0 comments

RSS Tinder

https://philippdubach.com/standalone/rss-tinder/
2•7777777phil•5m ago•1 comments

A tale of building tech for motorcycle theft and have the iOS launch hijacked

https://bikesafe.me/blogs/news/watchman-for-riders-on-ios-a-hijacked-launch-and-the-road-back-fro...
2•mygnu•7m ago•0 comments

Show HN: Heavyops – identify performance bottlenecks in Python

https://pypi.org/project/heavyops/
1•stabbles•8m ago•0 comments

The Medical Power of Hypnosis

https://www.bbc.com/future/article/20220519-does-hypnosis-work
1•sprt•9m ago•0 comments

The Discourse Is a Distributed Denial-of-Service Attack

https://www.joanwestenberg.com/the-discourse-is-a-distributed-denial-of-service-attack/
1•zdw•9m ago•0 comments

Show HN: Project-cleanup – Smart disk cleanup that protects active projects

https://github.com/joshduffy/project-cleanup
1•nahsuhn•10m ago•0 comments

Wikipedia: Please be a giant dick, so we can ban you

https://en.wikipedia.org/wiki/Wikipedia:Please_be_a_giant_dick,_so_we_can_ban_you
1•cainxinth•10m ago•2 comments

Yes AI or No AI, that is the question

https://gabrielweinberg.com/p/yes-ai-or-no-ai-that-is-the-question
2•taubek•10m ago•0 comments

Show HN: TJS, The World's Fastest and Most Accurate JSON Schema Validator

https://github.com/sberan/tjs
1•ZitchDog•12m ago•1 comments

When "I Built" Became "I Ordered"

https://decodebytes.substack.com/p/when-i-built-became-i-ordered
1•decodebytes•13m ago•0 comments

CSS Web Components for marketing sites

https://hawkticehurst.com/2024/11/css-web-components-for-marketing-sites/
1•zigzag312•15m ago•0 comments

Dark Web Data Pricing 2025: Real Costs of Stolen Data and Services

https://deepstrike.io/blog/dark-web-data-pricing-2025
1•mrtimo•15m ago•0 comments

"Anyone else out there vibe circuit-building?"

https://twitter.com/beneater/status/2012988790709928305
2•thetrustworthy•16m ago•0 comments

Fallacies of Distributed Computing

https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing
1•tosh•16m ago•0 comments

China blocks Nvidia H200 AI chips that US Government cleared for export– report

https://www.theguardian.com/technology/2026/jan/17/china-blocks-nvidia-h200-ai-chips-that-us-gove...
6•pseudolus•18m ago•0 comments

GLM-4.7-Flash

https://huggingface.co/zai-org/GLM-4.7-Flash
3•scrlk•18m ago•0 comments

Futo FAQ

https://futo.org/about/futo-faq
1•maelito•18m ago•0 comments

Don't Be a Sucker

https://en.wikipedia.org/wiki/Don%27t_Be_a_Sucker
1•Topfi•18m ago•0 comments

The Myth of the AI Race

https://www.foreignaffairs.com/united-states/myth-ai-race
1•pseudolus•19m ago•0 comments

The Last Election

https://chrishedges.substack.com/p/the-last-election
1•chmaynard•19m ago•0 comments

Data Centers Use Lots of Electricity. This Bill Would Let Them Go Off the Grid

https://reason.com/2026/01/12/data-centers-use-lots-of-electricity-this-bill-would-let-them-go-of...
1•taubek•20m ago•1 comments