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!

When employees feel slighted, they work less

https://penntoday.upenn.edu/news/penn-wharton-when-employees-feel-slighted-they-work-less
1•consumer451•1m ago•0 comments

The JavaScript for a Patreon button is 303KB uncompressed

https://c6.patreon.com/becomePatronButton.bundle.js
1•gushogg-blake•1m ago•1 comments

Show HN: FreeAIMusicGen – AI music generator, no sign-up required

https://freeaimusicgen.online
1•nio5787•2m ago•0 comments

Metacompilation

https://www.lesswrong.com/posts/6BSZkkWNGMTdRi5Ly/metacompilation
2•Antibabelic•4m ago•0 comments

Run untrusted code in VMs on Mac/Linux – 1-2ms warm start, domain filtering

https://github.com/dualeai/exec-sandbox
1•clemlesne•4m ago•1 comments

OWASP PTK add-on for ZAP is now released

https://www.zaproxy.org/blog/2026-01-19-owasp-ptk-add-on/
1•DenisPodgurskii•6m ago•0 comments

Show HN: Etsy Listing Checklist

https://spyseller.com/checklist/etsy/listing
1•criexe•7m ago•1 comments

Do marathons damage your heart? Decade-long study shows no long-term harm

https://medicalxpress.com/news/2025-12-marathons-heart-decade-term-cardiac.html
1•PaulHoule•8m ago•0 comments

A Global Explosion of Spicy Foods

https://www.bloomberg.com/news/articles/2026-01-20/spicy-foods-from-india-china-mexico-are-gettin...
1•helsinkiandrew•11m ago•1 comments

What Is CMAF Streaming and How It Compares to Others?

https://www.red5.net/blog/what-is-cmaf/
1•mondainx•13m ago•0 comments

BOHR Chain's "AI Protocol" $2M raise: technical architecture seems non-existent

1•Kangaroo_•16m ago•0 comments

Manager Is a System. They Need an API

https://reluctantleadership.substack.com/p/your-manager-is-a-system
1•oxygenfoxx•21m ago•0 comments

Gary Marcus on the Problems Facing AI and LLM Scaling [video]

https://www.youtube.com/watch?v=aI7XknJJC5Q
1•7777777phil•23m ago•0 comments

RISC-V and Post-Quantum Cryptography

https://fprox.substack.com/p/risc-v-and-post-quantum-cryptography
1•hasheddan•23m ago•0 comments

Skillware

https://github.com/ARPAHLS/skillware
1•rosspeili•24m ago•0 comments

Ask HN: What non-fiction do you read?

1•yanis_t•24m ago•0 comments

Fair is Better than Sensational:Man is to Doctor as Woman is to Doctor (2019)

https://arxiv.org/abs/1905.09866
1•bhickey•25m ago•0 comments

Scientific Insolvency in GPQA and HLE: A forensic audit reveals 58% error rate

https://zenodo.org/records/18293568
1•jopsammy•27m ago•2 comments

Running Claude Code dangerously (safely)

https://blog.emilburzo.com/2026/01/running-claude-code-dangerously-safely/
2•emilburzo•30m ago•3 comments

Calculate your reach on X/Twitter

https://allscreenshots.com/tools/x-algorithm-calculator
1•erikpau•33m ago•1 comments

Show HN: TakaTime – Self-Hosted WakaTime Alternative (Go and MongoDB)

https://github.com/Rtarun3606k/TakaTime
1•Rtarun3606k•34m ago•0 comments

GDPR as a blueprint for risk-aware architecture

https://medium.com/@antonbm/gdpr-as-a-blueprint-for-risk-aware-architecture-d8f811d1ec1a
1•antonmb•38m ago•0 comments

Show HN: AI Clothes Changer – virtual try-on with pose control

https://girlgenai.com
1•jokera•39m ago•0 comments

Local models to support home network infrastructure?

1•DrAwdeOccarim•39m ago•0 comments

AGI basic building block in your terminal

https://github.com/bokan/claude-skill-self-improvement
1•bbokan•40m ago•0 comments

Are published ANN-Benchmarks DBMS results trustworthy?

https://blog.ydb.tech/are-published-ann-benchmarks-dbms-results-trustworthy-f2573eca4e07
1•AlexClickHouse•42m ago•0 comments

Sorting Algortihms Visualized [video]

https://www.youtube.com/shorts/FI-9z00yvnE
1•dnnsthnnr•43m ago•1 comments

Show HN: Governed AI Portfolio–admission control for agentic sys in production

1•lexseasson•44m ago•0 comments

Photic Sneeze Reflex

https://en.wikipedia.org/wiki/Photic_sneeze_reflex
1•thunderbong•45m ago•0 comments

I got 3 parallel agents to change 149 files with 17 errors instead of 500

1•mvgnus•45m ago•0 comments