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!

Why are there keys on my messenger app that I don't recognize

1•ttim•1m ago•0 comments

The uno reverse public license

https://github.com/Zuhaitz-dev/URPL
1•anticensor•4m ago•0 comments

Open-source living-room entertainment system, with pretty UI made in Electron

https://github.com/charnam/ClasmeraSpace
1•charnam•5m ago•1 comments

Riyadh Leads Global Tech Growth as Cyprus Becomes Europe's Crisis Safe Haven

https://www.startupblink.com/startupecosystemreport
1•Sam6late•5m ago•1 comments

AI-Declaration.md

https://github.com/DimwitLabs/AI-DECLARATION.md
1•rapiz•7m ago•0 comments

AI Prompt Examples and Techniques for Better AI Outputs

https://promptessor.com/blog/10-ai-prompt-examples-and-techniques
1•rizkimurtadha•7m ago•0 comments

Waterloo Intern = Head of Infra

https://twitter.com/waterloo_intern/status/2057977885840036104
1•tuhins•9m ago•0 comments

Nvidia Removes Gaming Revenue Category from Financial Reports

https://www.guru3d.com/story/nvidia-removes-gaming-revenue-category-from-financial-reports/
2•theanonymousone•10m ago•0 comments

Show HN: Pilates – pure TypeScript flex layout for terminal UIs

https://github.com/pilatesjs/pilates
1•wangzhijie•11m ago•0 comments

Nuclear Power in China

https://world-nuclear.org/information-library/country-profiles/countries-a-f/china-nuclear-power
1•leonidasrup•13m ago•0 comments

Destino: Doom in Your Terminal with Node.js

https://blog.platformatic.dev/destino-doom-terminal-nodejs-ffi
1•piraccini•16m ago•0 comments

Show HN: Source screen for congressional stock disclosure claims

https://tinyopsstudio.com/congress-disclosure-now-csco-source-screen
1•tinyopsstudio•19m ago•0 comments

Telegram's MTProto: Assessing Deanonymization Potential for a Network Attacker [pdf]

https://symbolic.software/pdf/gnmx-01.pdf
1•sysoleg•20m ago•0 comments

Arsenal's title win should be studied by politicians everywhere

https://www.theguardian.com/commentisfree/2026/may/22/keir-starmer-arsenal-politics-premier-league
2•teleforce•31m ago•0 comments

Strengthening Singapore's AI Future

https://deepmind.google/blog/strengthening-singapores-ai-future-a-new-national-partnership/
2•pretext•31m ago•0 comments

Microsoft Agrees to $250M Settlement with Activision Blizzard Shareholders

https://www.law.com/delbizcourt/2026/05/22/microsoft-agrees-to-250m-settlement-with-activision-bl...
2•1vuio0pswjnm7•32m ago•0 comments

White House ordering agencies to place its new app on all employees' govt phones

https://www.govexec.com/management/2026/05/white-house-ordering-agencies-place-its-new-app-all-em...
2•mikhael•32m ago•0 comments

US tells foreigners seeking green cards: Return to your countries to apply

https://www.reuters.com/legal/government/uscis-tells-foreigners-seeking-green-cards-return-your-c...
1•tartoran•32m ago•0 comments

Publishing's Latest Piracy Problem: Audiobooks on YouTube

https://www.nytimes.com/2026/05/21/books/audiobook-piracy-youtube.html
1•thm•35m ago•0 comments

Judge considers ordering Meta to revamp its apps

https://www.politico.com/news/2026/05/22/meta-judge-trial-public-nuisance-facebook-00934485
1•1vuio0pswjnm7•36m ago•0 comments

Crypto industry braces for quantum computing threat

https://www.ft.com/content/99c1c1e7-1a1c-479c-9fc8-e21aea5c3f0e
5•thm•38m ago•1 comments

Waymo suspends all freeway rides over safety

https://www.latimes.com/business/story/2026-05-22/waymo-suspends-all-freeway-rides-over-safety
3•1vuio0pswjnm7•39m ago•0 comments

Starbucks scraps AI inventory tool after nine months

https://qz.com/starbucks-scraps-ai-inventory-tool-nomadgo-052226
2•thunderbong•39m ago•0 comments

In India, You Can Get Milk Delivered Faster Than It Takes to Make Coffee

https://www.wsj.com/business/logistics/in-india-you-can-get-milk-delivered-faster-than-it-takes-t...
2•JumpCrisscross•40m ago•0 comments

Google appeals search monopoly ruling, says it won business 'fair and square'

https://www.theverge.com/policy/936175/google-search-monopoly-ruling-appeal
2•thm•40m ago•0 comments

Cannes Film Cost $500k to Make. $400k Was AI Compute Costs

https://www.wsj.com/cio-journal/this-cannes-film-cost-500-000-to-make-400-000-was-ai-compute-cost...
5•JumpCrisscross•42m ago•0 comments

How to Be a Real Elite Programmer

https://skorks.com/2010/05/how-to-be-a-real-elite-programmer-and-make-sure-everybody-knows-it/
2•mahirsaid•44m ago•0 comments

The Fonts of the U.S. Federal Courts

https://daringfireball.net/2026/05/the_fonts_of_the_us_federal_courts
1•Tomte•47m ago•0 comments

Microsoft's new multi-model agentic security system tops leading benchmark

https://www.microsoft.com/en-us/security/blog/2026/05/12/defense-at-ai-speed-microsofts-new-multi...
3•uniclaude•54m ago•0 comments

Lisa's Copy (and Cut, and Paste)

https://unsung.aresluna.org/lisas-copy-and-cut-and-paste/
1•zdw•58m ago•0 comments