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!

Let's See Paul Allen's SIMD CSV Parser

http://chunkofcoal.com/posts/simd-csv/
1•mfiguiere•47s ago•0 comments

Soft-deprecating chrono and chrono-tz

https://github.com/chronotope/chrono/issues/1768
1•Paul-E•1m ago•0 comments

Diátaxis

https://diataxis.fr/
2•ryanseys•7m ago•0 comments

Show HN: Search Statistics Like an Absolute Psychopath

https://number.weyland.enterprises/?q=65535
1•hronecviktor•8m ago•0 comments

Ask HN: Best Blogging Platform?

1•asxndu•9m ago•0 comments

Pantograph

https://github.com/jeprinz/pantograph/blob/main/README.md
3•sargstuff•14m ago•0 comments

Uber SubmitQueue: a high-performance speculative merge queue

https://github.com/uber/submitqueue/
1•handfuloflight•17m ago•0 comments

Ads in Software Are Like Stickers on Laptops

https://daringfireball.net/2026/07/ads_in_software_are_like_stickers_on_laptops
1•naves•17m ago•2 comments

Geometrically patterned ancient earthworks in Acre, Rio Branco, Brazil

https://researchportal.helsinki.fi/en/publications/geometrically-patterned-ancient-earthworks-in-...
2•jhncls•18m ago•0 comments

The Silicon Valley Founder Meat Grinder

https://zaksa.zip/blog/silicon-valley-founder-meat-grinder/
3•Kaizeras•20m ago•0 comments

Show HN: Voris: privacy-first analytics for the AI-influenced web

https://voris.ai/
1•wowinter15•23m ago•0 comments

Structure Editors

https://github.com/yairchu/awesome-structure-editors/blob/main/README.md
1•sargstuff•24m ago•1 comments

Colorado declares town abandoned amid water and leadership crisis

https://www.theguardian.com/us-news/2026/aug/01/hartman-colorado-town-abandoned
4•speckx•27m ago•0 comments

Cookware Got Worse on Purpose: Who Owns Pyrex and All-Clad Now

https://www.worseonpurpose.com/p/your-cookware-got-worse-on-purpose
11•xbryanx•33m ago•4 comments

"AI Brendans" or "Virtual Brendans" (2025)

https://www.brendangregg.com/blog/2025-11-28/ai-virtual-brendans.html
1•Jimmc414•34m ago•0 comments

Cracking under pressure: silicon fractures on ATLAS strip tracker petals

https://arxiv.org/abs/2607.25080
2•Jimmc414•34m ago•0 comments

Show HN: Crew, a local collaborative (people and agents) IDE

https://github.com/JamelHammoud/crew
2•jamelhammoud•35m ago•0 comments

Fools and Dreamers [video]

https://www.youtube.com/watch?v=3VZSJKbzyMc
1•pvaldes•35m ago•0 comments

My Tests Were Green. My Verification Tool Wasn't

https://igel-data.com/blog/verification-found-two-bugs/
2•yito88•38m ago•0 comments

A functional hypothesis for the Roman dodecahedron, with measured aperture data

https://zenodo.org/records/21744442
2•DoDecaHeJon•40m ago•0 comments

Show HN: Open OneNote Viewer in Rust

https://github.com/emsi/OneNoteViewer
3•emsi•43m ago•0 comments

Top amputation surgeon had own legs removed due to fetish. Were patients safe?

https://www.theguardian.com/uk-news/2026/aug/01/neil-hopper-surgeon-amputated-legs-fetish-extreme...
40•bookofjoe•45m ago•25 comments

Restoring your suspended Instagram account (by emailing your Congressman) (2024)

https://diamondsinthelibrary.com/instagram-permanently-suspended/
2•fursgonemild•45m ago•1 comments

Dear Alpha School: I Hope You're Right

https://www.aei.org/commentary/dear-alpha-school-i-hope-youre-right/
3•paulpauper•47m ago•0 comments

All in Your Head Excerpt: Psychiatry and the Isolated Demand for Rigor

https://freddiedeboer.substack.com/p/all-in-your-head-excerpt-psychiatry
2•paulpauper•47m ago•0 comments

CannonSmash-web

https://jgbrwn.itch.io/cannonsmash-web
2•indigodaddy•55m ago•0 comments

But can your calculator run Linux?

https://raymii.org/s/articles/But_can_your_calculator_run_Linux.html
14•jandeboevrie•56m ago•0 comments

Reclaim – Resume tailoring that flags adjacent skills instead of keywordstuffing

https://www.reclaim.careers/
2•Adoomah•57m ago•0 comments

Take More Screenshots (2022)

https://alexwlchan.net/2022/screenshots/
2•downbad_•1h ago•0 comments

Google News is just Forrest Gump's shrimp boat now

https://elgan.com/google-news-is-just-forrest-gumps-shrimp-boat-now
134•mikelgan•1h ago•79 comments