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!

Pipework problems when cancer spreads to an area bordering the brain

https://www.nature.com/articles/d41586-026-02783-z
1•bookofjoe•55s ago•0 comments

Google opens Gemini student hub to Workspace for Education users

https://thelabnotes.com/gemini-student-hub-workspace-education/
2•spy888•8m ago•0 comments

Xnufont

https://github.com/vladkorotnev/xnufont
1•xav_authentique•12m ago•0 comments

The Unstoppable Green Revolution: Adam Tooze [video]

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

"8-pinski" – EIGHT() bytes intro for MSDOS [video]

https://www.youtube.com/watch?v=9A-XJjnU5Oo
1•vok•16m ago•0 comments

A Good DIY Solder Stencil Begins with a Cleanly-Sliced Soda Can

https://hackaday.com/2026/10/03/a-good-diy-solder-stencil-begins-with-a-cleanly-sliced-soda-can/
1•whiteblossom•16m ago•0 comments

Show HN: AgentiLoop Agent Mac GUI Agent Loop for macOS 14.6 or Later

https://agentiloop.ai/
1•macOS26•20m ago•0 comments

AI will not make mathematicians obsolete

https://inference-review.com/article/ai-will-not-make-mathematicians-obsolete
2•marojejian•23m ago•1 comments

Second Chances

https://www.nybooks.com/articles/2026/10/22/second-chances-office-politics-wilfrid-sheed/
3•samclemens•26m ago•0 comments

AI share of US market cap

https://theinference.org/indexes/ai-share?range=max
1•magus_stoopr•28m ago•0 comments

PL research is dead, the age of PL exploration is just beginning

https://kirancodes.me/posts/log-end-of-pl.html
2•azhenley•28m ago•0 comments

Declaring a Bird Extinct: The Median Wait Is 36 Years After the Last Sighting

https://birdshistory.com/how-long-to-declare-a-bird-extinct/
3•Heidi_70•31m ago•1 comments

The Mulleted, Meme-Loving Billionaire Behind Meta's Hit AI App

https://www.wsj.com/tech/ai/alexandr-wang-muse-meta-efae7659
2•nradov•37m ago•0 comments

Self-Documenting Atmospheric Breakbeat

https://johnoestmannmusic.com/0010-a-shrine-of-teaching/
2•soundworlds•43m ago•0 comments

Pen vs. keyboard vs. Newton vs. Graffiti vs. Treo vs. iPhone (2010)

https://www.gyford.com/phil/writing/2010/01/18/input/
3•colinprince•44m ago•0 comments

First Hour of My Deposition – Ann Altman vs. Sam Altman [video]

https://www.youtube.com/watch?v=akjrfwYPvy8
4•sensanaty•46m ago•0 comments

Postgres 19: What's New with Monitoring?

https://clickhouse.com/blog/postgres-19-monitoring-whats-new
1•saisrirampur•48m ago•0 comments

Show HN: PeerYeet – P2P file transfer or fail

https://peeryeet.com/
1•dicroce•48m ago•0 comments

Gutsy: Tiny model for typed decisions on CPU (Jev style)

https://github.com/kouhxp/gutsy
2•mrkn1•50m ago•1 comments

Show HN: I built an inverse kinematics robot arm you can play with

https://www.kanishksachdev.com
1•kanishksachdev•51m ago•0 comments

Sam Altman's sister amends lawsuit accusing OpenAI CEO of sexual abuse

https://www.reuters.com/legal/government/judge-now-dismisses-lawsuit-by-sam-altmans-sister-accusi...
7•sensanaty•53m ago•2 comments

Show HN: Docker Desktop Alternative for WSLC in Rust

https://github.com/ricardoborges/rcdesktop
2•r2ob•56m ago•0 comments

Independent Music Report 2026

https://dittomusic.com/en/independent-music-report-2026
1•rishikeshs•59m ago•0 comments

Can AI read pain in your cat's face?

https://tailstory-app.com/en/blog/can-ai-read-pain-in-a-cats-face
2•Mohsentr•1h ago•0 comments

Kushner's financial stake in Israeli defence firms conflict of interest concerns

https://www.middleeasteye.net/news/jared-kushner-has-sprawling-financial-stakes-israeli-defence-f...
14•Betelbuddy•1h ago•1 comments

Show HN: Cliproxy-rs, a Rust port of the CLIProxyAPI LLM subscription proxy

https://github.com/vayungodara/cliproxy-rs
1•vayungodara•1h ago•0 comments

Big Balls Now Exposed to Serious Criminal Charges in at Least Six States

https://medium.com/@carmitage/big-balls-now-exposed-to-serious-criminal-charges-in-at-least-six-s...
59•sans_souse•1h ago•7 comments

Spinifex: The open, AWS-compatible cloud you run yourself

https://github.com/mulgadc/spinifex
2•santiago-pl•1h ago•1 comments

Merging With An LLM: Can an LLM reconstruct my values from small data?

https://chillphysicsenjoyer.substack.com/p/merging-with-an-llm
2•crescit_eundo•1h ago•0 comments

Writing code by hand is over, forever

https://eliocapella.com/blog/writing-code-by-hand-is-over/
19•aray07•1h ago•28 comments