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!

A new Digital Audio Workstation created using AI

https://github.com/BurningTreeC/faderframe
1•BTC_BurningTree•1m ago•1 comments

A Robust Decentralized Infrastructure for Trust-Aware Open Knowledge Sharing

https://knowledgepixels.com/nanopub-ecosystem-paper/
1•tkuhn•5m ago•1 comments

ScalarDB 3.19 has been released

https://medium.com/scalar-engineering/scalardb-3-19-has-been-released-8f6cc4ef8fec
2•josh-scalar•15m ago•0 comments

What PHP2Shell Does – A Bartender Analogy

https://joeykeller.com/php2shell-bartender
2•sdoering•16m ago•0 comments

The CS50 Show with David J. Malan [video]

https://www.youtube.com/watch?v=4t23RAQNrPk
2•vismit2000•16m ago•0 comments

Argument from Incredulity

https://www.logicallyfallacious.com/logicalfallacies/Argument-from-Incredulity
2•Bluestein•17m ago•0 comments

Fortescue is using KUKA welding robots to handle 6 MW charging cables

https://electrek.co/2026/10/22/fortescue-is-using-kuka-welding-robots-to-handle-6-mw-charging-cab...
2•cisc•17m ago•0 comments

Dutch intelligence service spied on phone of Trump's son-in-law Jared Kushner

https://nltimes.nl/2026/10/23/dutch-intelligence-service-spied-phone-trumps-son-law-jared-kushner...
4•amelius•18m ago•2 comments

TSMC seeks factory-equipment alternatives to thwart China's rare earths grip

https://www.reuters.com/world/china/tsmc-seeks-factory-equipment-alternatives-thwart-chinas-rare-...
2•giuliomagnifico•19m ago•0 comments

What a Terrible Day to Have a Computer

https://blog.ricci.io/what-a-terrible-day-to-have-a-computer-d6b323r
2•ColinWright•21m ago•0 comments

Can AI predict cancer survival better than a doctor? I have my doubts

https://www.theguardian.com/commentisfree/2026/oct/23/ai-cancer-survival-doctor-selfie-health-res...
2•amelius•21m ago•0 comments

AI-powered platform that finds local businesses without websites

https://www.thyonix.com
1•itshimbilal•26m ago•0 comments

Google Chrome is breaking the web forward

https://www.quirksmode.org/blog/archives/2021/08/breaking_the_we.html
3•fanf2•32m ago•1 comments

Top AI Prompt Engineering Best Practices for Developers

https://aiqualityhq.com/ai-prompt-engineering-best-practices
1•pntkrl•34m ago•0 comments

Scrolling TikTok-like feed with vintage, nostalgic clips

https://yesterfilm.com
1•akest•36m ago•0 comments

Tell HN: The latest macOS Sequoia update seems to revert the eMudhra workaround

1•thdr•39m ago•0 comments

Tardigrade, an AGPL fork of CockroachDB that stays open

https://github.com/podomy/tardigrade
2•neiltalap02•40m ago•0 comments

ForgeTerm: Bring your agents. Keep your work

https://2tinteractive.com/apps/forgeterm/
1•LebToki•40m ago•0 comments

Bun 1.4.4 removes compromised eMudhra certs

https://github.com/oven-sh/bun/security/advisories/GHSA-26q8-h657-pf84
2•colinmarc•40m ago•1 comments

Ultimate: A self-extending agent harness built on Pi Durable

https://danielgriesser.com/posts/ultimate/
2•sixhobbits•41m ago•0 comments

French police could soon tag protesters with chemicals with invisible markers

https://www.gadgetreview.com/french-police-could-soon-tag-protesters-with-chemicals-that-contain-...
1•Markoff•44m ago•0 comments

Show HN: A dating SIM where 1k people run on models built from survey data

https://sexandthecity.fun
2•mizanxali•45m ago•1 comments

Project Copacetic: Directly patch container image vulnerabilities

https://project-copacetic.github.io/copacetic/website/
1•sebws•45m ago•0 comments

China offered European Commission to join its AI alliance

https://www.rapporteur.com/news/exclusive-china-asked-european-commission-to-join-its-ai-alliance/
3•vrganj•46m ago•0 comments

PirateFace Models

https://pirateface.co/models
2•jacquesm•48m ago•0 comments

Convertir WebP a JPG online gratis y de forma privada en el navegador

https://printpixeltool.com/es/convertir-webp-a-jpg/
1•pntkrl•50m ago•1 comments

Disney Raising Prices Days After Confirming Ads Will Now Show Up on Every Tier

https://www.tvfandomlounge.com/disney-plus-price-hike-ads-premium-tier-nielsen-emmys-2026/
1•robtherobber•53m ago•0 comments

Show HN: Pulse reached 8 contributors und 30 stars

1•xerrs•55m ago•0 comments

Spotify confirms Family Plan crackdown, but calls it a 'routine improvement'

https://techcrunch.com/2026/10/22/spotify-confirms-family-plan-crackdown-but-calls-it-a-routine-i...
3•RustyBucket•57m ago•0 comments

Delta Emulator is now available in the App Store in the EU

https://indieapps.space/@delta/117486017040524784
1•latexr•58m ago•0 comments