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•7mo 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!

Show HN: GPU-Zombie-Hunter – Find GPU Processes Wasting $2,880/Month

https://github.com/ecl-runtime/gpu-zombie-hunter
1•gpuzombiehunter•3m ago•0 comments

How SQL Parsers Work

https://nishchith.com/sql-parsers/
1•inishchith•7m ago•0 comments

A Simple Reason Snow Globe Glass Cups Feel More "Special" Than Regular Ones

1•tumblers•11m ago•0 comments

AI as an Attributable Representation Channel: An AI-Mediated Governance Failure

https://zenodo.org/records/18105273
1•businessmate•11m ago•1 comments

Ask HN: uppercase I and lowercase L Are the Same

1•roschdal•11m ago•0 comments

What do I mean by some software devs are "ngmi"?

https://ghuntley.com/ngmi/
1•ghuntley•12m ago•0 comments

2025: The science stories that stopped us in our tracks

https://www.bbc.co.uk/news/articles/c3v17ylvn57o
1•WithinReason•13m ago•0 comments

Why Snow Globe Cups Are Popular–and Why This Design Makes Sense

1•tumblers•13m ago•0 comments

Ask HN: What percentage of code do you still write by hand?

1•aurareturn•14m ago•3 comments

UK company sends factory with 1,000C furnace into space

https://www.bbc.co.uk/news/articles/c62vx0pgyrgo
3•vekerdyb•18m ago•0 comments

Linear Address Spaces: Unsafe at any speed

https://queue.acm.org/detail.cfm?id=3534854
1•nithssh•25m ago•0 comments

CNN Travel challenged ChatGPT to come up with city guides

https://www.cnn.com/travel/ai-chatgpt-llms-travel-planning
1•_____k•27m ago•0 comments

What the Research Reveals About Real Power

https://rodgercuddington.substack.com/p/what-the-research-reveals-about-real
1•freespirt•30m ago•0 comments

ProxCLMC – Determine the maximum CPU compatibility in Proxmox VE clusters

https://gyptazy.com/proxclmc-identifying-the-maximum-safe-cpu-model-for-live-migration-in-proxmox...
1•gyptazy•34m ago•1 comments

Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc.

https://exopriors.com/scry
2•Xyra•35m ago•0 comments

AI as a Post-Market Safety Channel: Pharmacovigilance Failure

https://zenodo.org/records/18105073
1•businessmate•35m ago•1 comments

Show HN: VividManga – AI-based manga coloring focused on line art consistency

https://vividmanga.com
2•iaiuse•38m ago•1 comments

The Cost of a Closure in C: The Rest

https://thephd.dev/the-cost-of-a-closure-in-c-c2y-followup
1•ingve•38m ago•0 comments

Show HN: Made a simple way to catch production errors with 4 lines of code

https://www.bugmail.site
1•kaave•40m ago•0 comments

How Deep Is Challenger Deep?

https://storymaps.arcgis.com/stories/0d389600f3464e3185a84c199f04e859
1•PaulHoule•42m ago•0 comments

LLM Vision: Visual intelligence for your smart home

https://github.com/valentinfrlch/ha-llmvision
1•solarist•43m ago•0 comments

NezusHub – The Home of iOS Signing Certificates

https://nezushub.vip/
1•SuperGamer474•44m ago•0 comments

Nexperia got caught between two world powers

https://www.nrc.nl/nieuws/2025/12/30/nexperia-in-no-mans-land-how-a-chip-company-became-caught-be...
1•bouk•46m ago•0 comments

Mastodon Stories for Systemd v259

https://0pointer.net/blog/mastodon-stories-for-systemd-v259.html
3•laktak•46m ago•0 comments

The Price to Climb Mount Everest Will Rise to $15,000 This Year

https://www.smithsonianmag.com/smart-news/the-price-to-climb-mount-everest-will-rise-to-15000-thi...
1•devy•47m ago•0 comments

Resolutions for 2026?

1•harryday•49m ago•0 comments

Ali Harris Joins EHRC: A Deep Dive Analysis

https://rodgercuddington.substack.com/p/ali-harris-joins-ehrc-a-deep-dive
1•freespirt•52m ago•0 comments

Uptime Calculator

https://alertsleep.com/tools/uptime-calculator
1•thepatrykooo•53m ago•0 comments

Ask HN: Berkshire's record cash pile vs. Tech CapEx

1•PanicSellGuru•54m ago•0 comments

Why I Am a Bad Correspondent (Neal Stephenson)

https://www.nealstephenson.com/why-i-am-a-bad-correspondent.html
1•Olshansky•56m ago•1 comments