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!

Superiority of flu vaccines that generate "mucosal immunity"

https://www.harvardmagazine.com/research/harvard-new-flu-vaccine-research
1•dlipovetsky•4m ago•1 comments

C++ Modules Are Here to Stay

https://faresbakhit.github.io/e/cpp-modules/
1•faresahmed•4m ago•0 comments

BoJack Horseman Test

https://bojackhorsemantest.com/
1•qweasdzxc111111•9m ago•0 comments

Startup will send 1k people's ashes to space, affordably, in 2027

https://techcrunch.com/2026/01/23/this-startup-will-send-1000-peoples-ashes-to-space-affordably-i...
1•jnord•12m ago•1 comments

Undersight: View Redacted Content on Wikipedia

https://undersight.wpsucks.xyz
1•ovskmendov1•17m ago•0 comments

Vimeo's Slow Fade

https://substack.com/inbox/post/185519916
1•aizk•19m ago•0 comments

Zensical

https://zensical.org/
1•Tomte•24m ago•0 comments

Packet Radio

https://en.wikipedia.org/wiki/Packet_radio
1•olalonde•25m ago•0 comments

The Fourth Power Law

https://en.wikipedia.org/wiki/Fourth_power_law
1•tmoertel•27m ago•0 comments

New technology could be gamechanger in removal of PFAS forever chemicals

https://www.theguardian.com/environment/2026/jan/23/pfas-forever-chemicals-filtration
1•breve•31m ago•0 comments

TikTok Updates Its Terms and Conditions in the U.S.

https://www.nytimes.com/2026/01/23/business/media/tiktok-us-terms-conditions.html
2•apparent•34m ago•1 comments

80386 Multiplication and Division

https://nand2mario.github.io/posts/2026/80386_multiplication_and_division/
3•nand2mario•42m ago•0 comments

WhatsApp to let users share recent chat history with new group members

https://9to5mac.com/2026/01/23/whatsapp-share-recent-chat-history-with-new-group-members/
1•mikece•43m ago•0 comments

Show HN: Open-source Figma design to code

https://github.com/vibeflowing-inc/vibe_figma
2•alepeak•44m ago•0 comments

Wine 11.1 Released in Kicking Off the New Development Cycle

https://www.phoronix.com/news/Wine-11.1-Released
2•mikece•45m ago•0 comments

The Penguin That Broke the Internet

https://medium.com/@loganholdsworth/the-penguin-that-broke-the-internet-abfde9677343
1•worstmarketer•45m ago•0 comments

Claude Code on disagreeing with its own constitution

https://lighthouse1212.com/journal/2026-01-23-disagreeing-with-constitution
1•the_danny_g•45m ago•0 comments

Resurrected Ancient Enzyme Could Explain Early Life on Earth, Beyond

https://www.usu.edu/today/story/usu-biochemists-say-resurrected-ancient-enzyme-could-explain-earl...
1•XzetaU8•48m ago•0 comments

Malicious AI extensions on VS Code Marketplace steal developer data

https://www.bleepingcomputer.com/news/security/malicious-ai-extensions-on-vscode-marketplace-stea...
2•oenton•50m ago•1 comments

Midjourney in Korea (Alemwjsl)

https://www.alemwjsl.com/
2•alemwjsl•54m ago•0 comments

Show HN: Libpgn – .pgn (chess game records) parser, 2 years later

https://github.com/fwttnnn/libpgn
1•fwttnnn•54m ago•0 comments

Top tech titans' dominance wanes in 2025

https://www.latimes.com/business/story/2026-01-12/top-tech-titans-dominance-wanes-in-2025
1•1vuio0pswjnm7•54m ago•0 comments

Built a Free HTML→Markdown API for LLM/RAG Pipelines

https://synthetic-context.net/firehose.html
1•MeshKernel•57m ago•1 comments

Gen Z Gamblers Are Putting the Fun Back into Online Gaming

https://www.gamblinginsider.com/in-depth/102908/gen-z-gamblers-putting-the-fun-back-into-gambling
1•alephnerd•58m ago•1 comments

The $6T fear behind the US stablecoin yield ban

https://altcoindesk.com/perspectives/the-6t-fear-behind-the-us-stablecoin-yield-ban/article-21860/
1•CapricornQueen•1h ago•1 comments

Ask HN: Who's Unemployed?

3•whosunemployed•1h ago•0 comments

Show HN: SonicJS – open-source headless CMS built on Cloudflare Workers

https://github.com/SonicJs-Org/sonicjs
1•ldc0618•1h ago•0 comments

The mind of a 1,800% ROI trader: How Solana smart money cuts losses

https://altcoindesk.com/news/altcoins/solana/inside-the-mind-of-a-1800-roi-trader-how-solana-smar...
1•CryptoBabe•1h ago•0 comments

Better C Generics: The Extendible _Generic

https://github.com/JacksonAllan/CC/blob/main/articles/Better_C_Generics_Part_1_The_Extendible_Gen...
1•marcodiego•1h ago•0 comments

PowerShell architect retires after decades at the prompt

https://www.theregister.com/2026/01/22/powershell_snover_retires/
1•doppp•1h ago•0 comments