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

Fascintern Media

https://berjon.com/fascintern-media/
1•cdrnsf•1m ago•0 comments

Show HN: LTP – Lazy Tool Protocol. Up to 93% token reduction for AI agents

https://github.com/JuN-B-official/ltp
1•Song-JunHyeong•2m ago•0 comments

Rebus

https://en.wikipedia.org/wiki/Rebus
2•foster_nyman•3m ago•0 comments

Kumihimo Braiding [pdf]

https://archive.bridgesmathart.org/2022/bridges2022-327.pdf
1•marysminefnuf•4m ago•0 comments

Jax-JS: a machine learning library and compiler for the web

https://jax-js.com/
1•polyrand•5m ago•0 comments

What Goes Around Comes Around and Around

https://dl.acm.org/doi/pdf/10.1145/3685980.3685984
2•infogulch•6m ago•0 comments

Stephen Wolfram – Computation, Strategy, and a Life of Ideas

https://www.fattonys.net/episodes/stephen-wolfram-computation-strategy-and-a-life-of-ideas
1•Incerto•6m ago•0 comments

Raising Humanity's Psychological Ceiling

https://builders.genagorlin.com/p/raising-humanitys-psychological-ceiling-b4c
1•ggorlin•9m ago•0 comments

Biocomputing: The Promise of Biological Computing

https://www.polytechnique-insights.com/en/columns/science/biocomputing-the-promise-of-biological-...
1•andsoitis•10m ago•0 comments

Making LAZY plants stand up: a new pathway plants use to detect gravity

https://phys.org/news/2025-11-lazy-reveals-pathway-gravity.html
1•PaulHoule•12m ago•0 comments

ParaScope Editor: an interactive parallel programming tool

https://dl.acm.org/doi/epdf/10.1145/76263.76323
1•andsoitis•12m ago•0 comments

Speculative Decoding in LLMs

https://uditsaxena.bearblog.dev/spec-decode/
1•wavelander•14m ago•0 comments

Thirteen years of Rust and the birth of Rue

https://steveklabnik.com/writing/thirteen-years-of-rust-and-the-birth-of-rue/
1•Carducci•15m ago•1 comments

AI tool can simulate complex fusion plasma in seconds

https://www.world-nuclear-news.org/articles/ai-tool-can-simulate-complex-fusion-plasma-in-seconds
1•QueensGambit•15m ago•1 comments

'People Over Billionaires': SF march through wealthy neighborhood targets the 1%

https://www.sfchronicle.com/bayarea/article/people-over-billionaires-march-21170259.php
4•donsupreme•17m ago•0 comments

US bars approvals of new models of DJI, all other foreign drones

https://www.reuters.com/business/aerospace-defense/us-adds-dji-other-foreign-drones-national-secu...
5•bookofjoe•18m ago•1 comments

Open AI Europe terms of use

https://openai.com/en-GB/policies/eu-terms-of-use/
1•oli5679•18m ago•0 comments

Infinity Ward: Rest in Peace Vince

https://twitter.com/i/status/2003224882688283000
1•throwaway2027•19m ago•0 comments

Starlink Satellite 35956 is largely intact

https://twitter.com/michaelnicollsx/status/2002419447521562638
1•perihelions•20m ago•1 comments

Definitions Are Subjective

https://garden.pranavmandhare.com/Vibhuti/Essays/%27Definitions%27-are-Subjective
1•pranavm27•20m ago•0 comments

GitHub Is Down

https://downdetector.com/status/github/
21•devotee•20m ago•1 comments

Profunctors, Arrows, & Static Analysis

https://elvishjerricco.github.io/2017/03/10/profunctors-arrows-and-static-analysis.html
1•ChadNauseam•20m ago•0 comments

Transformers Are Dead. Google Killed Them – Then Went Silent

https://medium.com/@aedelon/transformers-are-dead-google-killed-them-then-went-silent-a379ed35409b
5•washedup•21m ago•0 comments

Design-time governance for AI agents

https://github.com/thetpmguy/agent-compiler
2•rahi171990•23m ago•0 comments

Tc – Theodore Calvin's language-agnostic testing framework

https://github.com/ahoward/tc
4•mooreds•26m ago•0 comments

Winter Break: December 22nd to January 2nd

https://stratechery.com/2025/winter-break-december-22nd-to-january-2nd/
1•feross•27m ago•0 comments

Ask HN: 2026 books recommendation for deeper insights into niche crucial topics

1•ahmedfromtunis•28m ago•0 comments

Deduplicating Parallel Queries in TanStack Query (React Query)

https://matthuggins.com/blog/posts/deduplicating-parallel-queries-in-tanstack-query-react-query
2•matthuggins•29m ago•0 comments

Google's healthcare AI made up a body part – what if doctors don't notice?

https://www.theverge.com/health/718049/google-med-gemini-basilar-ganglia-paper-typo-hallucination
2•tessierashpool9•29m ago•1 comments

Txtempus: Radio time station transmitter using the Raspberry Pi

https://github.com/hzeller/txtempus
1•beala•39m ago•0 comments