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!

Schadenfreude

https://en.wikipedia.org/wiki/Schadenfreude
1•vismit2000•4m ago•0 comments

The Unwilding of Patagonia's Pollinators

https://biographic.com/the-unwilding-of-patagonias-pollinators/
1•Tomte•5m ago•0 comments

Ask HN: Are requests/demands coming from AI companies for regulation genuine?

2•atakan_gurkan•6m ago•0 comments

Show HN: MinMAX Sort – A Stable Bidirectional Selection Sort Family Algorithm

1•jodenghog•24m ago•1 comments

Prefill a 284B model on Nvidia. Decode it on Apple Silicon. Over plain 10GbE

https://github.com/chadhurley25075-png/pd-bridge
2•jnaina•24m ago•1 comments

MartyPC – A Cycle-Accurate IBM PC/XT Emulator

https://github.com/dbalsom/martypc
2•yitchelle•26m ago•0 comments

We are all Product Engineers now

https://seldo.com/posts/we-are-all-product-engineers-now/
2•ColinEberhardt•28m ago•0 comments

Show HN: An open-source Socratic coach for competitive programming

https://chromewebstore.google.com/detail/socratic-algo-coach/inppdfdpenccjiggnlfaomfnckadoaoi
1•boriskurikhin•31m ago•1 comments

Looking back on Servo's first donation-funded role

https://servo.org/blog/2026/09/15/one-year-of-sponsorship/
2•luu•31m ago•0 comments

Show HN: Check an NPM package or MCP server for malicious code before install

https://bouncer.run/check
1•nader•32m ago•0 comments

The first ever API built for dictation;Today we're launching the Dictation API

https://www.assemblyai.com/dashboard/login
1•iharnoor•32m ago•1 comments

There are no optical corrections in the Parthenon

https://doi.org/10.1098/rsos.260999
2•yzydserd•33m ago•0 comments

I wrote a kill number before I wrote the landing page copy

https://deskthaw.com/blog/preorder-mechanics/
1•aaaan•35m ago•1 comments

A software thing I built: GPS on a 25MHz 486-SX

https://forum.vcfed.org/index.php?threads/a-software-thing-i-built-gps-on-a-25mhz-486-sx.1258966/
1•JPLeRouzic•38m ago•1 comments

I built dual cam app because I had credits left and didn't know what else to do

https://play.google.com/store/apps/details?id=app.heynomad.camera.dualshot.creator.ai&hl=en
1•yugendhar•39m ago•1 comments

Noise-Coded Illumination for Forensic and Photometric Video Analysis

https://arxiv.org/abs/2507.23002
1•1e1a•39m ago•0 comments

Show HN: HTMLCATS – Editor-First Learning for HTML, CSS, and JavaScript

https://htmlcats.com/
1•chriskkim•42m ago•0 comments

Fusion in Devin Desktop and CLI

https://cognition.com/blog/local-fusion
1•ludovicianul•42m ago•0 comments

Show HN: Makerpa.ge – project hub and syncing badge across your sites

https://makerpa.ge
1•leon2589•43m ago•0 comments

IOS27 removes feature to hide safari, why?

1•robglick•43m ago•0 comments

Is Jev That Good?

https://twitter.com/completeskeptic/status/2099925682726002904
2•bchelli•44m ago•0 comments

Dan Selsam's Personal Statement on AI Risk

https://www.reddit.com/r/singularity/comments/1wgibs1/ai_2027_author_daniel_kokotajlo_tweets_mess...
1•dwaltrip•45m ago•0 comments

Where Prediction Markets Struggle

https://economist.com/graphic-detail/2026/09/10/where-prediction-markets-struggle
1•andsoitis•50m ago•0 comments

The AI Language We Can't Read: Neuralese [video]

https://www.youtube.com/watch?v=iuHddnIzKRA
1•__vivek•51m ago•0 comments

Tesla Full Self-Driving customers can now access lower insurance premiums

https://www.drive.com.au/news/tesla-full-self-driving-customers-can-now-access-lower-insurance-pr...
5•teleforce•1h ago•1 comments

Continual Learning Mechanisms Compose for Long-Horizon Memorization

https://arxiv.org/abs/2609.06986
2•donk8r•1h ago•0 comments

Are you committed to your company or your team?

https://www.economist.com/business/2026/09/10/are-you-committed-to-your-company-or-your-team
2•andsoitis•1h ago•0 comments

Sam Altman says world 'right to be afraid' but 'should trust' AI firms

https://www.bbc.com/news/articles/cqx2zpj4y525o
3•geox•1h ago•1 comments

Show HN: Glu – installing Homebrew packages 2x faster on macOS

https://glu.run/
3•henrikklee•1h ago•2 comments

China would face a "hellscape" in a war over Taiwan

https://www.economist.com/asia/2026/09/15/china-would-face-a-hellscape-in-a-war-over-taiwan
4•andsoitis•1h ago•2 comments