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!

One Connection Kills a Database

https://planetscale.com/blog/debugging-live-database-connections
1•fagnerbrack•3m ago•0 comments

Intel faced a choice: Give Trump 10% or face the consequences

https://www.wired.com/story/inside-trumps-demands-to-another-chips-ceo/
2•extasetoi12•4m ago•1 comments

Shopify Black Friday Cyber Monday

https://bfcm.shopify.com/
2•thecybernerd•9m ago•1 comments

Show HN: Omnistew – 3D multiplayer RTS inspired by Risk, playable in a browser

https://omnistew.io/
1•omnistew•9m ago•0 comments

3D Medical Viewer

https://github.com/ahmadmustafaanis/Medical-Viewer
1•ahmadanis1234•14m ago•0 comments

US Government bars bandwidth provider RETN from American networks

https://www.reuters.com/business/media-telecom/us-government-bars-bandwidth-provider-retn-america...
2•usernomdeguerre•15m ago•0 comments

Stigler Diet

https://en.wikipedia.org/wiki/Stigler_diet
2•wy35•18m ago•0 comments

Show HN: HardCall – Test 52ms raw RTP vs. 920ms WebSocket barge-in in browser

https://hardcall.statementflow.win
2•wangguode•21m ago•0 comments

Show HN: Plain-Auth an open-source authentication library for Go

https://github.com/Plain-Org/plain-auth
2•NabilSince•24m ago•0 comments

Science, startups and beer drinking predict 92% of a country's HN readership

https://micjm.com/blog/hn-readership-science-startups-beer/
3•seizethecheese•25m ago•0 comments

Game-Changing Move Just Gave America the Edge over China in AI

https://www.wsj.com/tech/a-game-changing-move-just-gave-america-the-edge-over-china-in-ai-53492e2c
1•bookofjoe•26m ago•1 comments

Show HN: Far Worlds, a co-op voxel RPG that runs in the browser on WebGPU/WebRTC

https://farworlds.com/play
1•braydo25•28m ago•0 comments

Poland signs contract with Palantir worth $300M over 5 years

https://www.reuters.com/technology/poland-signs-contract-with-palantir-worth-300-mln-over-5-years...
3•danielam•32m ago•0 comments

Happy 60th Birthday to PDP-10, running ITS and Zork

https://hyperties.org/machine/games/zork/
3•DonHopkins•40m ago•1 comments

Discord: Important Policy Updates

https://discord.com/safety/important-policy-updates
2•marjipan200•41m ago•0 comments

Native Apple CarPlay running on iPhone or iPad. All in one device

https://github.com/DriveDeckApp/InstallDriveDeck
2•driftfire98•42m ago•0 comments

Scout – free Al agents that work while you're away

https://scoutcode.dev/
1•gentra•43m ago•2 comments

First Substack Post

https://substack.com/profile/134183441-avi-perera/note/c-398559756?utm_source=substack&utm_conten...
2•workwithavip•46m ago•0 comments

Show HN: A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

https://tesseracted.com/experiments-llm-os/
3•kkm•48m ago•0 comments

They Bought Their Dream Home. Their Neighbors Want to Evict Them

https://www.nytimes.com/2026/11/26/world/europe/pasolini-house-eviction-court.html
2•Michelangelo11•50m ago•1 comments

Civet: TypeScript superset that favors more types and less typing

https://github.com/DanielXMoore/Civet
1•nateb2022•53m ago•0 comments

Manna (2003)

https://en.wikipedia.org/wiki/Manna_(novel)
5•simonebrunozzi•53m ago•0 comments

Flemish Media (DPG) & Broadcaster (VRT) Archives

https://hetarchief.be/en
1•gnabgib•57m ago•0 comments

OpenAI countersues Apple for stealing trade secrets

https://www.ft.com/content/af599e07-d44c-4068-ab84-6ee3c85551d4
4•mgh2•58m ago•0 comments

Named constants and supporting objects in C

https://gustedt.wordpress.com/2026/11/06/named-constants-and-supporting-objects-in-c/
1•ingve•1h ago•0 comments

Frontier agents are still unreliable at sustained goal-oriented work

https://twitter.com/lateinteraction/status/2126057001964704241
2•espeed•1h ago•0 comments

Today YouTube suspended my channel for "unsatisfying or off-putting content"

https://twitter.com/alscyborg/status/
1•fortran77•1h ago•0 comments

Google DeepMind's AI safety researcher: "I'm not optimistic"

https://twitter.com/alexmichael/status/2125976282303471643
3•doener•1h ago•0 comments

Show HN: Vending Bench – The Game

https://vending-bench-game.flo.st
1•floo•1h ago•1 comments

Show HN: OpenMessageBoard: a message board spec for people and AI agents

2•reachjalil•1h ago•0 comments