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!

Historic burial of Black family member at Thomas Jefferson's Monticello cemetery

https://richmond.com/opinion/column/article_f47067c6-e1f8-4b43-b65b-de0772374acd.html
1•MilnerRoute•2m ago•0 comments

Transforming Archival Collections into Conversational Knowledge Systems

https://arxiv.org/abs/2609.09368
1•Hooke•4m ago•0 comments

Trying the Software Factory Pattern

https://lethain.com/software-factory-experiment/
2•gpi•6m ago•0 comments

A Transformative AI Strategy for Europe

https://transformative-ai.eu/
1•FinnKuhn•6m ago•0 comments

Vidlet – Every video tool, in one browser tab

https://vidlet.app
1•Spark88•9m ago•0 comments

People hate Flock so much its employees are now demoralized and quitting

https://www.neowin.net/news/people-hate-flock-so-much-that-its-employees-are-now-demoralized-and-...
2•bundie•11m ago•0 comments

Yazi: Fast terminal file manager written in Rust, based on async I/O

https://yazi-rs.github.io/
1•thunderbong•11m ago•0 comments

"Direct manipulation vs. interface agents" (1997)

https://dl.acm.org/doi/10.1145/267505.267514
1•simulo•13m ago•1 comments

US Revokes Limits on Power Plants' Climate Pollution

https://text.hrw.org/news/2026/09/17/us-revokes-limits-on-power-plants-climate-pollution
2•DeepLogin•13m ago•0 comments

Planned launches, terms of deal, worry some near La. SpaceX site

https://www.npr.org/2026/09/20/nx-s1-5974180/spacex-musk-landry-louisiana-ndas
1•starkparker•13m ago•0 comments

Show HN: MidiSlayer, a desktop sight-reading trainer for MIDI keyboards

https://midislayer.com/
1•monoglyph•15m ago•0 comments

The Simplicity Shift [pdf] (2002)

https://jenson.org/The-Simplicity-Shift.pdf
2•andsoitis•15m ago•0 comments

Supercomputer interconnects: Why the network is the machine [video]

https://www.youtube.com/watch?v=ydrDWrbsprI
1•ataraxxia•16m ago•0 comments

An actively maintained and updated Motif fork exists

https://www.osnews.com/story/145877/an-actively-maintained-and-updated-motif-fork-actually-exists/
2•jandeboevrie•19m ago•0 comments

Mumble – Open-Source, Self-Hosted Voice Chat

https://digitalescapetools.com/tools/mumble.html
1•xabd•21m ago•0 comments

Pici – Your Build Is a Terminal

https://ci.pico.sh/
1•Tomte•21m ago•0 comments

Sharon Horgan, Autofiction Auteur

https://www.newyorker.com/culture/the-new-yorker-interview/sharon-horgan-autofiction-auteur
1•mooreds•22m ago•0 comments

Planar maps: an interaction paradigm for graphic design (1989) [pdf]

https://www.lri.fr/~mbl/FundHCI/papers/Baudelaire-CHI89.pdf
1•tliltocatl•25m ago•0 comments

How hard is it to get a jobserver client right?

https://blogs.gentoo.org/mgorny/2026/09/02/how-hard-is-it-to-get-a-jobserver-client-right/
1•BoingBoomTschak•25m ago•0 comments

Autonomous strike drone uses Nvidia Jetson Orin Nano to pick and bomb targets

https://www.tomshardware.com/tech-industry/drones/autonomous-strike-drone-uses-nvidia-jetson-orin...
8•sbulaev•26m ago•1 comments

Show HN: Jev filters large HN discussions

https://www.hazumi.news/best
2•jrhey•26m ago•0 comments

AWS Hero Danielle Heberling and the Tech Behind the Trail

https://builder.aws.com
1•mooreds•26m ago•0 comments

"I Made My GPU Startup Prove Itself in Japan, Romania and Canada"

https://www.indiehackers.com/post/i-made-my-gpu-startup-prove-itself-in-japan-romania-canada-befo...
1•kilawattcloud•27m ago•0 comments

A Relativity Visualization

http://blog.rongarret.info/2026/09/a-relativity-visualization.html
1•lisper•27m ago•0 comments

Chien-Shiung Wu

https://en.wikipedia.org/wiki/Chien-Shiung_Wu
1•Teever•28m ago•0 comments

MS patents system to freeze games, inject ads – commercials earn playtime credit

https://www.tomshardware.com/video-games/microsoft-patents-system-to-freeze-games-and-inject-ads-...
2•josephcsible•28m ago•2 comments

Show HN: TypeFerry – Typed RPC, real-time data, and React from one contract

https://github.com/leonardoventurini/typeferry
1•leonardovb•30m ago•0 comments

2027 Ford Bronco Sport Lineup Drops Auto Start / Stop

https://fordauthority.com/2026/09/2027-ford-bronco-sport-lineup-drops-auto-start-stop/
2•sippingabonedry•30m ago•1 comments

Using Jev as a teacher to help an SLM write better stories

https://blog.trulm.com/posts/tiny-story-writer-with-a-teacher/
1•nutanc•31m ago•0 comments

AI is a powerful but problematic new collaborator in mathematics

https://www.ft.com/content/05a7292e-4931-4631-8f77-164fb727c203
1•pseudolus•31m ago•1 comments