frontpage.
newsnewestaskshowjobs

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!

Climate talks on the brink as EU rejects deal that 'green washes fossil fuels'

https://www.ft.com/content/b3ba64e9-9482-4525-acc7-49825f3daace
1•vrganj•1m ago•0 comments

$1 of GPT-5.1 tokens finds new ways around China's Great Firewall

https://www.theregister.com/security/2026/11/23/1-of-gpt-51-tokens-finds-new-ways-around-chinas-g...
1•beardyw•1m ago•0 comments

Why Airlines Accept A321XLR's Heavier Takeoff Weight on Flights Shorter < 1 Hour

https://simpleflying.com/airlines-accept-airbus-a321xlr-heavier-101-tonne-maximum-takeoff-weight-...
2•edward•3m ago•0 comments

US will build 'Super Intelligence' clouds for the Philippines and Malaysia

https://thenextweb.com/news/si-exports-program-philippines-malaysia-sovereign-cloud-brunei-vertiv
1•skeledrew•6m ago•0 comments

Ripgrep 16.0.0

https://github.com/BurntSushi/ripgrep/releases/tag/16.0.0
2•robin_reala•8m ago•0 comments

Show HN: Show-context, see what Claude Code read in a session

https://github.com/bernatsampera/show-context
1•bsampera•9m ago•0 comments

How do you test whether retrieved memory helps a coding agent?

https://x.com/AgentMemoryL
1•SndOfViento•10m ago•0 comments

Steadfast Update II – Rewriting ASTs

https://noteflakes.com/articles/2026-11-22-steadfast-update-2
1•ciconia•11m ago•0 comments

Frontier models need only one text to unmask its human or AI author

https://arxiv.org/abs/2611.26216
1•jalev•11m ago•0 comments

Show HN: PromptShield – Local reversible secret/PII redactor for LLM prompts

https://hxu129.github.io/scholarcraft-tools/promptshield/index.html
1•hxu129•13m ago•0 comments

Corsi–Rosenthal Box

https://en.wikipedia.org/wiki/Corsi%E2%80%93Rosenthal_Box
1•jameslk•14m ago•0 comments

Major trial to examine if AI can help detect breast cancer earlier

https://news.sky.com/story/major-trial-to-examine-if-ai-can-help-detect-breast-cancer-earlier-136...
1•geoffbp•14m ago•0 comments

The Rise and Fall of the Telephone Century

https://www.theatlantic.com/magazine/2027/01/james-gleick-telephone-new-history-review/689413/
1•Brajeshwar•15m ago•0 comments

What Have I Done? -- C. H. Spurgeon (1857) [video]

https://www.youtube.com/watch?v=4Maxu-_TvmE
1•cbracketdash•15m ago•0 comments

How to get better at painting without painting anything (2015)

https://www.learning-to-see.co.uk/how-to-get-better-at-painting-without-painting-anything
2•sammatilda•20m ago•0 comments

Gartner: 40% of agentic AI projects will be canceled by the end of 2027

https://www.gartner.com/en/articles/ai-agent-reality-check
2•Betelbuddy•22m ago•2 comments

Viberglass – a self-hosted internal tool builder run by coding agents

https://github.com/Ilities/viberglass
1•Xantier•22m ago•0 comments

WordPress Migration Companies and Agencies to Plan Your Move in 2027

https://gitnation.com/contents/wordpress-migration-services
2•katyadrozd•31m ago•0 comments

Virtuality as the Result of Subtraction

https://medium.com/@smoking2man/virtuality-as-the-result-of-subtraction-924610e42541
2•Aldus551•31m ago•0 comments

Fixing Google's Feedburner problem, and caching that half works

https://joshua.hu/fixing-google-feedburner-cache-problem-atom-rss
1•ingve•32m ago•0 comments

Show HN: Browser-only STEP, STL, 3MF and OBJ tools for 3D printing

https://addercad.com/tools
2•iamzubin•33m ago•1 comments

Project Tapestry – consortium frontier foundation model training and sovereignty

https://thealliance.ai/projects/tapestry
1•musha68k•34m ago•0 comments

New tool to find the right healthcare plan

https://www.healthcostforecast.com/
1•abareshi•36m ago•0 comments

Rust: When Empty Isn't Bottom

https://ettolrach.com/blog/rust_when_empty_isnt_bottom.html
1•birdculture•40m ago•0 comments

An atlas of vanished places: how climate change is rewriting books

https://theconversation.com/an-atlas-of-vanished-places-how-climate-change-is-rewriting-the-books...
1•bryanrasmussen•42m ago•0 comments

Why I think using AI to prove the Riemann Hypothesis is important

1•olirex99•44m ago•0 comments

Show HN: Modelflare – One OpenAI-compatible API key for many LLMs

https://modelflare.dev/
2•folkbench•47m ago•0 comments

GLM 5.4

https://twitter.com/Zai_org/status/2124719658074825004
6•linzhangrun•48m ago•4 comments

17-year-old Windows 7 gets unofficial DirectX 12 and Vulkan 1.4 support

https://www.tomshardware.com/software/windows/17-year-old-windows-7-gets-unofficial-directx-12-an...
2•Brajeshwar•53m ago•0 comments

Starfish Prime

https://en.wikipedia.org/wiki/Starfish_Prime
1•stigi•55m ago•0 comments