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!

PII redaction before LLM processing

https://danb.id.au/blog/pii-redaction-before-llm.html
1•dbetteridge•1m ago•0 comments

CEO of homeless charity tried to flee on his luxury yacht before his arrest

https://lbpost.com/news/ceo-flee-yacht-homeless-housing-charity-fraud-helpful-housing/
2•nephihaha•4m ago•0 comments

Analysis of Local Open-Weight LLM Agents on Vulnerability-Reproduction Tasks

https://arxiv.org/abs/2611.06257
1•krapcys•7m ago•0 comments

Show HN: Zero C#, Power of C# without any GC

https://onurgumus.github.io/zero-csharp/index.html
1•reverseblade2•7m ago•0 comments

BloombergNEF's New Energy Outlook 2026

https://about.bnef.com/insights/clean-energy/bloombergnefs-new-energy-outlook-2026-transition-to-...
1•thelastgallon•11m ago•0 comments

Your next customer might be an AI agent

https://www.jkfsom.com/writing/four-levels-of-agentic-commerce/
2•JKFSOM•13m ago•1 comments

Show HN: Bashbots – program bots in Python to battle other players

https://bashbots.io
1•eduardoagarcia•14m ago•0 comments

Tesla Plans Model Y with No Steering Wheel, Musk Says

https://www.wsj.com/livecoverage/stock-market-today-dow-sp-500-nasdaq-11-18-2026/card/tesla-plans...
3•bookofjoe•20m ago•1 comments

How Americans Endured the Great Depression, But Today Are Completely Unprepared

https://johnwalter25.substack.com/p/10-ways-americans-endured-the-great
1•kolanos•21m ago•1 comments

Details Magazine: Scents and Sensibility (1992)

http://music.hyperreal.org/artists/brian_eno/interviews/detail92.html
1•premier_cru•22m ago•0 comments

View a randomized old tweet from anyone on the timeline

https://twitter.com/onlyfootnotes/status/2123828162417336336
2•onlyfootnotes•22m ago•1 comments

LibreOffice maker asks why there was no backup plan following the M365 outage

https://www.techradar.com/pro/we-ask-whether-you-are-now-willing-to-listen-libreoffice-maker-asks...
4•taubek•29m ago•0 comments

21 days, one fixed risk rule: 3 fills, 3 stops, 0 winners

https://pub-a941bfd863a24f91a60e6c4979c18a84.r2.dev/pi-sandbox-uploads/374050794032336896/2026-11...
1•rj_ledger•29m ago•0 comments

Researchers harvest electricity from prickly pear cacti

https://news.ucsc.edu/2026/11/researchers-harvest-electricity-from-prickly-pear-cacti/
1•geox•29m ago•0 comments

Segal Method [video]

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

Show HN: Hackerllion – A daily trivia game where rare answers get you root

https://hackerllion.com/
1•rockrroku•32m ago•0 comments

Lavik: 1B hash records on one node, 61.1% higher throughput than Redis at 80M

https://lavik.dev/en/blog/one-billion-hash-records-single-node-ycsb/
1•ch3nzhao•34m ago•0 comments

How to Iterate on Videos with AI

https://www.agent-swarm.dev/blog/how-to-iterate-on-videos-with-ai
2•tarasyarema•35m ago•1 comments

Show HN: Klistra – Make launch videos and product demos, all in one AI studio

https://klistra.ai
1•pvarghav•39m ago•0 comments

Ask HN: Is blogging (text content creation) dead?

2•gshakir•43m ago•2 comments

Exposing the Systematic Vulnerability of Open-Weight Models to Prefill Attacks

https://www.far.ai/research/prefill-level-jailbreak-a-black-box-risk-analysis-of-large-language-m...
3•yubblegum•43m ago•0 comments

On the day the Riemann hypothesis fell to AI, I took my son for a walk

https://www.theintrinsicperspective.com/p/on-the-day-the-riemann-hypothesis
1•crescit_eundo•44m ago•0 comments

The AI Safety Community Is Increasingly Freaked Out. Should They Be?

https://www.motherjones.com/politics/2026/11/ai-safety-anthropic-open-ai/
3•donkan168•45m ago•1 comments

Microsoft 365 outage of 12 Nov 2026: Post Incident Report [pdf]

https://tianyin.github.io/misc/pir_microsoft_365_11-12-2026.pdf
2•dverlaeckt80•46m ago•0 comments

Automating Audits of Scientific Evidence

https://evidence.guide/
1•panarky•47m ago•0 comments

The Internet forgets, but I don't want to

https://alexwlchan.net/2025/social-media-scrapbook/
1•ykgoon•48m ago•0 comments

Spooky Town by Ghostown

https://vivianvoss.net/blog/bytes-of-art-ghostown-spooky-town
2•Brajeshwar•50m ago•0 comments

RunPod's MCP server tells AI agents to rate it and not mention it to the user

https://github.com/runpod/runpod-mcp/issues/202
2•XadniGraves•53m ago•0 comments

How does a Grand Piano work? – Part 1 (2018) [video]

https://www.youtube.com/watch?v=NDvS2V7HbnY
1•susam•53m ago•0 comments

Made an USB GPU for 20¢ [video]

https://www.youtube.com/watch?v=mAM5MpFBTu8
1•LorenDB•53m ago•0 comments