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!

Radithor

https://en.wikipedia.org/wiki/Radithor
1•radeeyate•36s ago•0 comments

Show HN: Paintracker.ca, a PWA pain tracker that keeps data on device by default

https://www.paintracker.ca/
1•crisiscore_sys•1m ago•0 comments

Iran, 200 hours of a nationwide internet and telecommunications blackout

https://www.dw.com/en/iran-protests-internet-communication-blackout-social-media/a-75487555
1•us321•3m ago•0 comments

OpenAI to test ads in ChatGPT as it burns through billions

https://arstechnica.com/information-technology/2026/01/openai-to-test-ads-in-chatgpt-as-it-burns-...
1•coloneltcb•5m ago•1 comments

Agam Space – Self-hosted, zero-knowledge, end-to-end encrypted file storage

https://github.com/agam-space/agam-space
1•rameshl•6m ago•1 comments

Judge orders Anna's Archive to delete scraped data; no one thinks it will comply

https://arstechnica.com/tech-policy/2026/01/judge-orders-annas-archive-to-delete-scraped-data-no-...
1•vo2maxer•6m ago•0 comments

Adobe Photoshop 2025 Installer Now Working on Linux with Patched Wine

https://www.phoronix.com/news/Adobe-Photoshop-2025-Wine-Patch
1•speckx•7m ago•0 comments

Casey Muratori breaks down the AWS outage

https://www.youtube.com/watch?v=gstn9qcNdlc
1•marc_omorain•11m ago•0 comments

Down with the BRT, long live the Bus

https://marcochitti.substack.com/p/down-with-the-brt-long-live-the-bus
1•decimalenough•14m ago•0 comments

The Death of Software 2.0 (A Better Analogy)

https://www.fabricatedknowledge.com/p/the-death-of-software-20-a-better
1•achierius•14m ago•0 comments

How to open a file in Emacs

https://www.murilopereira.com/how-to-open-a-file-in-emacs
1•lr0•18m ago•0 comments

The cardinal sin of software architecture

https://functional.computer/blog/the-cardinal-sin-of-software-architecture
1•speckx•21m ago•0 comments

I set all 376 Vim options and I'm still a fool

https://evanhahn.com/i-set-all-376-vim-options-and-im-still-a-fool/
2•todsacerdoti•21m ago•0 comments

Diosdado Banatao, Chip Designer, Investor and Entrepreneur, Dies at 79

https://www.wsj.com/wsjplus/dashboard/articles/diosdado-bantao-chip-designer-dead-79-f205c32b
1•melling•21m ago•1 comments

Ask HN: Which system would you trust to run a business you can't afford to lose?

1•cutterlayers•23m ago•0 comments

Closing the Door on Net-NTLMv1: Releasing Rainbow Tables

https://cloud.google.com/blog/topics/threat-intelligence/net-ntlmv1-deprecation-rainbow-tables
1•linolevan•27m ago•1 comments

Technology and Wealth: The Straw, the Siphon, and the Sieve [video]

https://www.youtube.com/watch?v=OxvRx7sQNxc
1•measurablefunc•30m ago•0 comments

We're more patient with AI than one another

https://www.uxtopian.com/journal/were-more-patient-with-ai-than-one-another
2•lucidplot•30m ago•0 comments

Stop Pulling Yourself Down

https://buanasalf.com/blog/stop-pulling-yourself-down/
1•moh20•30m ago•0 comments

Human code review is a crutch

https://deadneurons.substack.com/p/human-code-review-is-an-outdated
1•nr378•30m ago•0 comments

Kusto Query Language

https://github.com/microsoft/Kusto-Query-Language
1•tosh•30m ago•0 comments

Show HN: I made a phone in between a smartphone and dumbphone

https://bouchardindustries.com
1•bouchardio•31m ago•1 comments

Fast Concordance: Instant concordance on a corpus of >1,200 books

https://iafisher.com/concordance/
1•evakhoury•32m ago•0 comments

Microsoft killing tech debt with agents [audio]

https://podcasts.apple.com/us/podcast/microsoft-killing-tech-debt-with-agents/id1621165150?i=1000...
1•azhenley•32m ago•0 comments

Demystifying Evals for AI Agents

https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
2•theptip•33m ago•0 comments

Claude Code Scheduler

https://github.com/jshchnz/claude-code-scheduler
1•jshchnz•33m ago•0 comments

OpenAI Introduces Ads to ChatGPT

https://twitter.com/sama/status/2012253252771824074
3•strzalek•33m ago•3 comments

DuckDB's CSV Reader and the Pollock Robustness Benchmark

https://duckdb.org/2025/04/16/duckdb-csv-pollock-benchmark
1•tosh•34m ago•0 comments

Low-Tech

https://en.wikipedia.org/wiki/Low_technology
1•tux•34m ago•0 comments

Fastmail Is Down

https://fastmailstatus.com
2•safe_duck7727•39m ago•3 comments