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!

Iranian regime tries to shut down Starlink

https://www.timesofisrael.com/iran-appears-to-jam-starlink-after-shutting-down-comms-networks/
2•ukblewis•1m ago•0 comments

Backing the Backslash

https://shadycharacters.co.uk/2025/03/backing-the-backslash/
1•everybodyknows•8m ago•0 comments

Elon Musk on Tesla's summon – LA to NY in 2 years (2016 – 10 years anniversary)

https://twitter.com/elonmusk/status/686279251293777920
2•TheAlchemist•16m ago•0 comments

Show HN: Keyboard-first diagram editor in Rust with fzf-style command palette

https://github.com/joonho3020/sansuyu
1•archipelago123•16m ago•0 comments

Biological and artificial consciousness: A case for biological computationalism

https://www.sciencedirect.com/science/article/pii/S0149763425005251
3•galaxyLogic•18m ago•0 comments

We Put Claude Code in Rollercoaster Tycoon

https://ramplabs.substack.com/p/ai-plays-rollercoaster-tycoon
2•gwintrob•20m ago•0 comments

Words

https://justinjackson.ca/words.html
1•Tomte•21m ago•0 comments

Torvalds: Another silly guitar-pedal-related repo

https://github.com/torvalds/AudioNoise/blob/71b256a7fcb0aa1250625f79838ab71b2b77b9ff/README.md
2•m-hodges•21m ago•1 comments

If I search for "opencode GitHub" in Bing, a random fork is returned

https://www.bing.com/search?q=opencode+github&PC=U316
1•theanonymousone•22m ago•0 comments

Yeast Programmed for Opioid Total Synthesis

https://cen.acs.org/articles/93/i49/Yeast-Programmed-Opioid-Total-Synthesis.html
1•slow_typist•27m ago•0 comments

Google employee made redundant after reporting sexual harassment, court hears

https://www.bbc.co.uk/news/articles/c62v51d1ry2o
3•latein•27m ago•0 comments

HeyToken – Access all LLMs for 30% less via a unified API

https://heytoken.ai
1•alhazar•31m ago•1 comments

Create Google API credentials in 50 easy steps

https://github.com/glotlabs/gdrive/blob/main/docs/create_google_api_credentials.md
1•ukuina•33m ago•0 comments

Setting Up OpenCode with Local Models

https://theaiops.substack.com/p/setting-up-opencode-with-local-models
1•ramikrispin•35m ago•0 comments

Amazon Redshift AutoWLM and SQA internals plus commentary (and a bit on CSC)

1•Max-Ganz-II•37m ago•0 comments

LitePoint clears testing milestone with Qualcomm's upcoming Wi-Fi 8 platform

https://www.rcrwireless.com/20260109/test-measurement/ces-2026-litepoint-clears-testing-milestone...
1•lordwiz•37m ago•0 comments

UI Skills

https://www.ui-skills.com/
2•handfuloflight•39m ago•0 comments

Eat More Deer

https://www.theatlantic.com/health/2026/01/deer-hunting-venison-sale/685537/
3•thunderbong•41m ago•0 comments

The Score

https://www.penguin.co.uk/books/457380/the-score-by-nguyen-c-thi/9780241653975
2•molteanu•43m ago•0 comments

Anthropic: Demystifying Evals for AI Agents

https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
3•Bayram•45m ago•1 comments

New Game Launcher for PC Games

https://www.gamekolektor.com/
1•ravioldevuy•45m ago•1 comments

Show HN: MCP for browsing, searching, exporting, backing up Cursor chat history

https://github.com/S2thend/cursor-history-mcp
2•mikasisiki•59m ago•2 comments

Signal Chat: Silicon Valley Is Plotting Against California's Billionaire Tax

https://www.wsj.com/politics/policy/save-california-billionare-tax-814a2fe9
5•1vuio0pswjnm7•1h ago•1 comments

Obscene images: X admits its mistake and stated it would comply with Indian law

https://timesofindia.indiatimes.com/india/obscene-image-row-x-admits-mistake-thousands-of-posts-o...
4•throwaway110001•1h ago•0 comments

Photos of the Forgotten

https://www.synthetrix.com/potf.html
2•exvi•1h ago•0 comments

'Fuck You, Make Me' Without Saying the Words

https://daringfireball.net/2026/01/fuck_you_make_me_without_saying_the_words
7•nopakos•1h ago•2 comments

Show HN: I built an Instagram-style productivity app with gamification

https://apps.apple.com/us/app/lockin-social-productivity/id6742454713
2•mandynoee•1h ago•1 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
22•javatuts•1h ago•1 comments

Worktrunk – A CLI tool to manage multiple worktrees in Git repositories

https://github.com/max-sixty/worktrunk
2•javatuts•1h ago•0 comments

Jupyter Agents: training LLMs to reason with notebooks

https://huggingface.co/blog/jupyter-agent-2
2•walterbell•1h ago•0 comments