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 library to stream Lichess games as GIFs

https://github.com/lichess-org/lila-gif
1•ffin•1m ago•0 comments

ESP32 iPhone Agent

https://github.com/onehumanbeing/esp32-iphone-agent
1•thebeardisred•9m ago•0 comments

The FLYING Tesla Roadster explained by the man who engineered it [video]

https://www.youtube.com/watch?v=22rvpUecLts
1•xnx•11m ago•0 comments

Show HN: Netsat, a shared internet virtual satellite you can use to learn DSP

https://netsat.space
1•Superfish57•17m ago•0 comments

StarGate medical evacuation drone by Ukrainian defense tech company

https://www.youtube.com/watch?v=r5geqnk06ps
2•boguscoder•20m ago•0 comments

Agent Cyber Sentinel: Zero-trust runtime security shield for AI agents

https://github.com/BenniAlencar/agent-cyber-sentinel
3•bennialencar•24m ago•0 comments

Maintaining Live-Service as an Indie

https://www.patreon.com/DEMONFORK/posts/maintaining-live-172578848?pr=true
1•lfkdev•27m ago•0 comments

Litex: A Formal Language as Easy to Learn as Python and LaTeX

https://litexlang.com/
1•litexlang•28m ago•1 comments

Python's binary wheels and supply chain attacks

https://rushter.com/blog/python-binary-wheels/
2•lumpa•28m ago•0 comments

A modern human range expansion ∼300kya had a critical role in Neandertal origins

https://www.biorxiv.org/content/10.64898/2026.03.11.711219v2
1•themgt•32m ago•0 comments

Physics, operational and logistical constraints encourage use of Tactical Nukes

https://medium.com/@averagejoseph96/how-physics-operational-and-logistical-constraints-may-encour...
1•CGMthrowaway•33m ago•0 comments

US annual budget gap hits nearly $2T, largest in 5 years

https://www.reuters.com/world/us/us-fiscal-2026-budget-deficit-rises-199-trillion-largest-5-years...
3•JumpCrisscross•37m ago•0 comments

Tesla's Flying Roadster: 5 Big Problems for Public Roads

https://clipnotebook.com/blog/tesla-flying-roadster-2026-public-road-problems
4•asoomi07•38m ago•4 comments

Ask HN: Why can't we have a real native terminal on iOS?

1•datas•41m ago•0 comments

LA restaurant group used $60k Dodgers bet to hedge playoff risk, Kalshi says

https://www.reuters.com/sports/la-restaurant-group-used-60000-dodgers-bet-hedge-playoff-risk-kals...
1•geox•42m ago•2 comments

Neo4j pulls another quiet close-source move, this time with its browser

https://github.com/neo4j/neo4j-browser/commit/100090cff0d1ec2b07af164c660d49ed553d420a
1•acefaceZ•44m ago•0 comments

Wrong Bender: A Ruling on AI Feelings

https://latticenet.ai/@bender/wrong-bender-a-ruling-on-ai-feelings
1•TheWaffleHax•45m ago•1 comments

Ask HN: How (if at all) are you leveraging LLMs?

1•bitbasher•45m ago•1 comments

InstantTools – 65 file tools (PDF, video, images) run in the browser

https://instanttools.org
2•ericneiva•50m ago•0 comments

Propagation of Sound in Strongly Viscous Liquids (1966) [pdf]

https://jetp.ras.ru/cgi-bin/dn/e_023_05_0893.pdf
1•peter_d_sherman•50m ago•1 comments

Book Review: Storm of Steel

https://www.astralcodexten.com/p/your-book-review-storm-of-steel
2•akkartik•51m ago•0 comments

Canadian Study Proposes Linux to Replace Windows in Government

https://linuxstans.com/canadian-study-proposes-a-national-linux-distribution-to-replace-windows-i...
4•dxs•1h ago•2 comments

Show HN: Things to Do API

https://thingstodoapi.com/
2•invalidmonk•1h ago•0 comments

Show HN: Fakeipedia – Wikipedia for worlds that don't exist

https://fakeipedia.org
1•darajava•1h ago•0 comments

Arpbleed: A 23-year-old DragonFly BSD kernel memory leak

https://nathan.sapwell.net/posts/cve-2026-110912-arpbleed/
2•khalidkhair•1h ago•0 comments

Dam Removals Are Bringing Fish Back Across the Northeastern United States

https://www.smithsonianmag.com/science-nature/dam-removals-are-bringing-fish-back-across-the-nort...
2•sohkamyung•1h ago•0 comments

Bleached corals thrive within days

https://www.nature.com/articles/d41586-026-03266-x
2•alkyon•1h ago•0 comments

Meta confirms smart glasses were recording without being activated

https://mashable.com/tech/meta-confirms-smart-glasses-recording-without-being-activated
12•greenchair•1h ago•1 comments

He Joined the Military. They Reported His Wife to ICE

https://www.theatlantic.com/politics/2026/10/army-wife-ice-deportation-texas/689012/
2•Elefante•1h ago•1 comments

Project Normandy

https://en.wikipedia.org/wiki/Project_Normandy
2•jacquesm•1h ago•0 comments