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!

Miasma NPM Supply Chain Attack: Self-Spreading Worm via Phantom Gyp

https://www.stepsecurity.io/blog/binding-gyp-npm-supply-chain-attack-spreads-like-worm
1•gaurang_tandon•1m ago•0 comments

RIP Jim Rutt (1953-2026), and Thoughts on Philanthropy and Culture-Building

https://lydialaurenson.substack.com/p/rip-jim-rutt-1953-2026-and-thoughts
1•sebg•3m ago•0 comments

Show HN: App that shows your screen-free hours every time you look at your phone

https://apps.apple.com/gb/app/oh-my-hours/id6760450002
1•mindfulbun•8m ago•0 comments

Latency Numbers Every Programmer Should Know

https://colin-scott.github.io/personal_website/research/interactive_latency.html
1•tosh•11m ago•0 comments

Root access for Harmony Hubs and local web mangagement

https://github.com/Ripthulhu/harmony-hub-root
1•lakid•14m ago•1 comments

Digital Independence: EU Plans Strict Access to State IT Structures

https://www.heise.de/en/news/Digital-Independence-EU-Plans-Strict-Access-to-State-IT-Structures-1...
3•doener•19m ago•0 comments

AI enthusiasts are in a race against time, AI skeptics in a race against entropy

https://charitydotwtf.substack.com/p/ai-enthusiasts-are-in-a-race-against
2•adunk•22m ago•0 comments

Coreutils for Windows Overview – Microsoft Learn

https://learn.microsoft.com/en-us/windows/core-utils/overview
1•rbanffy•24m ago•1 comments

Grep this: Microsoft grafts (most) Linux commands onto Windows

https://www.theregister.com/os-platforms/2026/06/03/grep-this-microsoft-grafts-most-linux-command...
2•rbanffy•24m ago•0 comments

StereoTales: Multilingual Open-Ended Stereotype Discovery in LLMs

https://research.giskard.ai/blog/stereotales/
1•mattbit•27m ago•0 comments

XLclick Add-In

https://xlclick.com/
1•getseofix•30m ago•0 comments

Train your own LLM? Here's what happens

https://www.exasol.com/blog/train-your-own-llm/
4•ROSEDOLA•32m ago•0 comments

2026 World Cup Predictions

https://www.natesilver.net/p/world-cup-2026-odds-predictions
3•7777777phil•34m ago•0 comments

Nvidia – The Coming Short Squeeze?

https://www.linkshort.app/r/pagea.uk/nvidia-stock-thesis
1•freakynit•37m ago•1 comments

The Russian "Max" messaging app has suddenly disappeared from the App Store

https://komersant.ua/en/rosiiany-skarzhatsia-shcho-z-app-store-raptovo-znyk-mesendzher-maks/
1•NewCzech•38m ago•0 comments

Show HN: Uruky (EU-based Kagi alternative) now has Image Search and URL Rewrites

https://uruky.com/?il=en
3•BrunoBernardino•41m ago•0 comments

What if heterogenous agents could talk to each other?

https://github.com/prassanna-ravishankar/repowire
1•nomadic-coder•41m ago•1 comments

Quality in the Age of Slop

https://sinclairtarget.com/blog/2026/06/01/quality-in-the-age-of-slop/
3•birdculture•46m ago•1 comments

EtherHiding: Malware uses Ethereum blockchain as uncensorable C2 resolver

https://www.mcafee.com/blogs/other-blogs/mcafee-labs/weedhack-minecraft-malware-as-a-service-camp...
1•Ember_Wipe•49m ago•0 comments

Why Learn Pandas?

https://blog.geekuni.com/2026/06/why-learn-pandas.html
1•theanonymousone•50m ago•0 comments

UK media fails to disclose defence sector links in nearly 60% of cases

https://aoav.org.uk/2026/military-experts-or-arms-industry-insiders-uk-media-fails-to-disclose-de...
39•XzetaU8•52m ago•11 comments

Email is the hardest easy problem, and I built a business in it

https://blog.emailengine.app/email-is-the-hardest-easy-problem-and-i-built-a-business-in-it/
4•andris9•53m ago•0 comments

How Freedom Tech Is Pushing Back Against Digital Authoritarianism

https://www.forbes.com/sites/digital-assets/2026/06/04/how-freedom-tech-is-pushing-back-against-d...
3•mkfain•54m ago•0 comments

A post-quantum future for Let's Encrypt

https://letsencrypt.org/2026/06/03/pq-certs.html
1•fanf2•55m ago•0 comments

Companies Are Using Reddit to Manipulate ChatGPT and Google AI Search

https://www.404media.co/companies-are-using-reddit-to-manipulate-chatgpt-and-google-ai-search/
4•RobotToaster•56m ago•1 comments

Anthropic's in-house data analytics with Claude

https://claude.com/blog/how-anthropic-enables-self-service-data-analytics-with-claude
1•dmpetrov•59m ago•0 comments

Google to add sources in AI Searches, allow to opt out following UK ruling

https://sfist.com/2026/06/03/google-to-add-clearer-attributions-to-ai-searches-allow-sites-to-opt...
4•xyzal•1h ago•0 comments

The Electrodynamics of Moving Bodies by A. Einstein June 30, 1905 [pdf]

https://users.physics.ox.ac.uk/~rtaylor/teaching/specrel.pdf
1•chistev•1h ago•0 comments

OpenAI and Anthropic Sign Letter to Prevent AI-Developed Biological Weapons

https://www.wired.com/story/openai-anthropic-letter-ai-biological-weapons/
3•dangoldbj•1h ago•0 comments

So Long, CHU, and Thanks for All the Time Signals

https://hackaday.com/2026/05/27/so-long-chu-and-thanks-for-all-the-time-signals/
1•austinallegro•1h ago•0 comments