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!

China stages record drills designed to encircle Taiwan

https://www.reuters.com/world/china/chinas-military-conduct-live-fire-exercises-around-taiwan-tue...
1•DustinEchoes•42s ago•0 comments

GPS is vulnerable to jamming - here’s how we might fix it

https://arstechnica.com/information-technology/2025/12/gps-is-vulnerable-to-jamming-heres-how-we-...
1•Bender•1m ago•0 comments

Scraping was easy. Cleaning the data was the hard part

https://rangelead.com/
1•RangeLead•3m ago•1 comments

Moore Threads unveils new AI chips to challenge Nvidia

https://www.scmp.com/tech/tech-trends/article/3337217/moore-threads-unveils-new-ai-chips-challeng...
1•artninja1988•4m ago•0 comments

Open source adndroid video downloader

https://github.com/alexch33/super-video-downloader
1•i3po•5m ago•1 comments

Claude Code superpowers: core skills library

https://github.com/obra/superpowers
1•petesergeant•5m ago•0 comments

Engineering a "Liquid Glass" Navbar in Next.js

https://albertozurini.substack.com/p/engineering-a-liquid-glass-navbar
1•albertoZurini•6m ago•0 comments

Show HN: Test-MCP, end-to-end testing for MCP servers

https://github.com/loadmill/test-mcp
1•idoco•8m ago•0 comments

I Hacked Balatro to Get an Impossible Score [video]

https://www.youtube.com/watch?v=-ssQoC_omEc
1•marklit•9m ago•0 comments

Meshtastic Site Planner

https://site.meshtastic.org
1•kristianpaul•11m ago•0 comments

Show HN: Muggle – Daily Guessing Game Using SvelteKit Remote Functions and Rive

https://muggle.day
2•PxldLtd•12m ago•0 comments

AI: From Homer to ChatGPT

https://bastian.rieck.me/blog/2025/new/
1•Pseudomanifold•13m ago•0 comments

Why Do A.I. Chatbots Use 'I'?

https://www.nytimes.com/2025/12/19/technology/why-do-ai-chatbots-use-i.html
1•bookofjoe•15m ago•1 comments

Gen Zers and millennials flocking to so-called analog islands

https://fortune.com/2025/12/28/gen-z-millennials-baby-boomers-analogs-islands-board-games-stick-s...
2•indigodaddy•17m ago•0 comments

Zero-back end spreadsheets. The data is the URL

https://spreadsheetlive.netlify.app/
2•Supunlakmal61•17m ago•1 comments

HashiCorp killed my favorite IaC Tool

https://blog.lohr.dev/cdktf
2•michidk•22m ago•0 comments

San Francisco's Marina Could Get 790 Homes. Daniel Lurie Says No. YIMBY Say Yes

https://www.governance.fyi/p/san-franciscos-marina-could-get-790
3•bigbobbeeper•23m ago•0 comments

SEO Fundamentals for Developers

https://igorstechnoclub.com/why-seo-matters-for-developers/
1•Igor_Wiwi•24m ago•0 comments

Position: Privacy Is Not Just Memorization

https://arxiv.org/abs/2510.01645
1•PaulHoule•26m ago•0 comments

Show HN: Are the Riemann Hypothesis and Navier-Stokes the Same Problem?

https://www.academia.edu/145639105/Two_Millennium_Prize_Problems_A_Geometric_Framework_for_the_Ri...
2•kristintynski•27m ago•3 comments

Trawler: One-click phishing email IOC extraction and abuse reporting

https://trawler.phishdeck.com
1•charlieekelly•27m ago•1 comments

Cultural Appropriation

https://medium.com/luminasticity/on-cultural-appropriation-7d6c09e1b8f2
1•bryanrasmussen•29m ago•0 comments

What It Takes to Benefit from a Deployment Pipeline

https://shiftmag.dev/what-it-takes-to-fully-benefit-from-a-deployment-pipeline-7463/
1•taubek•29m ago•0 comments

Niklaus Wirth: Recollections about the Development of Pascal (1993) [pdf]

http://pascal.hansotten.com/uploads/wirth/Recollection%20On%20Dev%20of%20Pascal.pdf
1•marttt•29m ago•0 comments

Why I'm building my own CLIs for agents

https://martinalderson.com/posts/why-im-building-my-own-clis-for-agents/
2•martinald•29m ago•0 comments

Show HN: Garmin Year in Review (annual stats from your device data)

https://github.com/datachasercom/garmin-analytics
3•firedexplorer•30m ago•1 comments

Summary of the 2025 China Military Power Report

https://threadreaderapp.com/thread/2005357024939499672.html
1•DustinEchoes•34m ago•1 comments

Show HN: Meter – Scrape sites and keep content in sync automatically (no LLM)

https://www.meter.sh/
3•mckinnonr•35m ago•0 comments

Have We Underestimated the Health Benefits of Vigorous Activity?

https://www.physiologicallyspeaking.com/p/physiology-friday-289-vigorous-activity
3•robaato•36m ago•0 comments

How to Read a Plastic Bottle

https://www.lumafield.com/first-article/posts/how-to-read-a-plastic-bottle
3•hasheddan•36m ago•0 comments