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

Tussle in Cyberspace

https://conferences.sigcomm.org/sigcomm/2002/papers/tussle.html
1•jruohonen•2m ago•0 comments

"Capitalism is not natural – it is enforced."

https://www.youtube.com/watch?v=9M_dq_0ljsc
1•28304283409234•3m ago•0 comments

DIY Bipedal Robot Used Pneumatic "Air-Muscles" Instead of Motors

https://spectrum.ieee.org/shadow-walker-biped-humanoid-robot
1•sohkamyung•4m ago•0 comments

AI content is great if you know it's AI

https://www.geekbeard.dev/p/cosplaying-humans
1•drunx•6m ago•0 comments

Octopus Energy meter and billing dashboard with EV charging

https://github.com/macsmax/maxihome-octopi
1•macsmax•8m ago•0 comments

Show HN: Stable Audio 3 – one-shot sample generator (110gb download)

https://github.com/shiehn/sas-sample-generator
1•stevehiehn•9m ago•0 comments

Ask HN: Anyone missing the human aspect of pre AI?

2•hnthrow10282910•10m ago•0 comments

Fan-made game remake of legendary PS1 Medal of Honor 1999

https://www.moddb.com/games/medal-of-honor-retro-remake/news/medal-of-honor-retro-remake-final-re...
1•HelloUsername•16m ago•0 comments

Puzzles about Digital Lipograms

https://logoggilo.substack.com/p/what-if-every-great-brand-had-its
1•gillesr•20m ago•0 comments

Remembering Dotcom, Pondering LLMs: Comparing Hypes and Bubbles

https://www.datagubbe.se/dhabi/
2•ingve•24m ago•0 comments

You Weren't Meant to Have a Boss (2008)

https://paulgraham.com/boss.html
2•downbad_•26m ago•0 comments

Show HN: Graph-Based Firebase Alternative with Real-Time Sync

https://linkedrecords.com/getting-started/
1•WolfOliver•30m ago•0 comments

MemoryArena – generic memory arena in Golang

https://github.com/Protocol-Lattice/memoryArena
1•raezil•31m ago•1 comments

United Airlines 767 Returns to Newark After Bluetooth Name Sparks Alert

https://simpleflying.com/united-airlines-767-returns-newark-bluetooth-name-alert/
3•Eridanus2•33m ago•0 comments

Data center frenzy is spurring a jobs boomlet for blue-collar workers

https://www.cbsnews.com/news/ai-data-center-jobs-construction-technician/
1•wyclif•36m ago•0 comments

How Long Can You Expect Your Blu-ray and DVD Collection to Last?

https://www.bgr.com/2180997/bluray-dvd-collection-expected-lifespan-disc-rot-explained/
2•edthri•36m ago•0 comments

Show HN: I found a prompt injection in my own IDs triage tool – what stopped it

https://triagewall.io/posts/prompt-injection-phase-2
1•aaronphifer•36m ago•0 comments

Steadfast – Python Playwright wrapper that keeps social accounts logged in

https://steadfast.rustral.com/
1•memalama•38m ago•0 comments

California passes bill criminalizing bypass of 3D printer gun-blocking software

https://www.tomshardware.com/3d-printing/california-assembly-passes-3d-printer-bill-that-would-cr...
3•barbacoa•38m ago•0 comments

Show HN: Atomic Editor – Obsidian-style live preview for CodeMirror 6

https://kenforthewin.github.io/atomic-editor/
2•kenforthewin•42m ago•0 comments

Gaze into the Face of Madness!

https://cinemasojourns.com/2022/04/12/stare-into-the-face-of-madness-if-you-dare/
3•jruohonen•42m ago•0 comments

Show HN: My tiny project MyTube Newsletter – daily AI digest of YouTube subs

1•questmas•44m ago•0 comments

AI Agents Plunged the Tech World into Chaos

https://www.wired.com/story/how-ai-agents-plunged-tech-world-into-chaos/
1•uxhacker•45m ago•1 comments

Jasper

https://lab.alexanderobenauer.com/jasper/
1•tosh•48m ago•0 comments

Creating got easier. Meaning got harder (AI and volume creation)

https://emot.substack.com/p/creating-got-easier-meaning-got-harder
1•emot•48m ago•0 comments

A zot extension that makes answering your coding agent's questions painless

https://github.com/patriceckhart/zot-answer
9•patriceckhart•50m ago•0 comments

Hey Database Go Ffffine tune yourself

https://maxdemarzi.com/2026/05/29/hey-database-go-fine-tune-yourself/
1•maxdemarzi•50m ago•1 comments

Keet: Tether's P2P communication app built to survive internet shutdowns – CIO

https://www.cio.com/article/4175793/keet-tethers-p2p-communication-app-built-to-survive-internet-...
1•janandonly•51m ago•0 comments

Error Analysis for the Global Positioning System

https://en.wikipedia.org/wiki/Error_analysis_for_the_Global_Positioning_System
1•thunderbong•52m ago•0 comments

The Risk of GCP Viewer role: Snapshot bypass of a cross-project disk replication

https://aneviaro.eu/posts/snapshot-based-cmek-bypass/
1•xrustalik•55m ago•0 comments