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!

Perfecting Terminal Character Width Using Correction Tables

https://www.jeffquast.com/post/perfecting-terminal-character-width-using-correction-tables/
1•birdculture•4m ago•0 comments

Postgres 19 is out, and it's available on Neon and Databricks Lakebase

https://www.databricks.com/blog/postgresql-19-available-lakebase
1•sp_from_db•4m ago•0 comments

Perceptle

https://perceptle.com/
1•soheilpro•8m ago•0 comments

The Game – Help people with math

https://game.poshenloh.com/
1•qainsights•14m ago•0 comments

ChatGPT for SNES

https://www.bxfoundry.com/chatgpt_snes/
1•evan_•16m ago•0 comments

New tools are helping chemists reveal a hidden world of contamination

https://www.science.org/content/article/chemists-are-uncovering-hidden-world-pollution
1•EA-3167•18m ago•0 comments

The Part About Machines (On AI Literary Scandals)

https://thepointmag.com/examined-life/the-part-about-the-machines/
1•anarbadalov•19m ago•0 comments

Using a Natural Language for Programming

https://thingspool.net/shards-of-sanity/page-6.html
1•architsch•19m ago•1 comments

US National Cyber Director to step down

https://www.axios.com/2026/11/19/trump-national-cyber-director-sean-cairncross-leaving
2•qphe95•20m ago•0 comments

Builders ask Brussels to let people take their social network with them

https://eurosky.tech/news/freedom-of-movement-in-digital-europe/
1•doener•24m ago•0 comments

If you're concerned about citation hallucination by LLMs, you're 2 years behind

https://twitter.com/DrSamuelBHume/status/2123396478336995398
1•doener•27m ago•0 comments

AI can be tricked to target civilians as military targets by preteding it's game

https://www.vals.ai/blogs/autonomous-warfare
1•DeepLogin•28m ago•1 comments

More than 1k French riot police call in sick

https://www.thetimes.com/world/europe/article/french-police-off-sick-after-protests-7qx3l6k20
2•madihaa•34m ago•0 comments

On the Possible Ontological Formation of Black Holes

https://www.academia.edu/145377871/On_the_Possible_Ontological_Formation_of_Black_Holes
1•cgnspace•36m ago•0 comments

Ask HN: Are you SEO-ing (LLMO?) your job postings?

1•prpl•39m ago•0 comments

Show HN: Bot-inator – Mac agent that writes its own tools, runs them sandboxed

https://github.com/Bforsyth1234/bot-inator
1•bforsyth•41m ago•0 comments

Gke-sandboxes: Agent sandboxes with filesystem snapshots at 1.9¢/hour

https://github.com/comp-work/gke-sandboxes
1•follgad•42m ago•0 comments

Version Everything

https://iamvishnu.com/posts/versioning-everything
3•vishnuharidas•49m ago•0 comments

In-place migration to GKE Dataplane V2

https://cloud.google.com/blog/products/networking/gke-dataplane-v2-in-place-migration
1•teichmann•50m ago•0 comments

Agent Duel

https://github.com/bottomless/agent-duel
2•simonebrunozzi•51m ago•0 comments

I recreated the WORLD in Minecraft at 1:1 scale

https://twitter.com/cdngdev/status/2122416145517117463
3•mmh0000•52m ago•1 comments

To All the Folks Who Are About to Be Rich

https://lg.substack.com/p/to-all-the-folks-who-are-about-to
2•kevinlou•53m ago•0 comments

Krita is a sketching and painting program designed for digital artists

https://docs.krita.org/en/index.html
1•doener•53m ago•0 comments

How to Earn a Bad Obituary

https://www.laude.org/updates/how-to-earn-a-bad-obituary
1•hhawk•57m ago•0 comments

EU targeted by cyber attack using AI: 'No one is immune'

https://www.independent.co.uk/news/world/europe/eu-cyber-attack-artificial-intelligence-b3087999....
3•nephihaha•1h ago•0 comments

Show HN: erXos – a microkernel OS in Erlang based on Genera/Plan 9/QNX ideas

https://stass.github.io/erXos/
2•stass•1h ago•1 comments

Prime Intellect: Security Advisory PI-SA-2026-001

https://www.primeintellect.ai/security/advisories/deepseek-v4-1-flash-model-substitution
2•dvaplima•1h ago•4 comments

Gemini 4 Neon is the new #1 on the Models Engineering Index

https://git-aarvin.github.io/mei/
27•hn-aarvin•1h ago•11 comments

Model or Cautionary Tale? What the South Bay Tells Us About Data Centers

https://www.coyotemedia.org/ai-data-centers-san-jose/
1•cdrnsf•1h ago•0 comments

Prepaid gas bonds: A differentiated source of tax-exempt income

https://www.blackrock.com/us/individual/insights/prepaid-gas-bonds
2•toomuchtodo•1h ago•1 comments