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!

Google used its Android phone network's accelerometers as mini-seismometers

https://substack.com/@jklundblad/note/c-285567479
1•initramfs•58s ago•0 comments

From Open Source Software to Open Source Strategy

https://p3institute.substack.com/p/from-open-source-software-to-open
2•cletusigwe•2m ago•0 comments

The Free Market Lie: Why Switzerland Has 25 Gbit Internet and America Doesn't

https://stefan.schueller.net/posts/the-free-market-lie/
3•talonx•2m ago•0 comments

How to avoid AI in as many places as possible

https://www.fastcompany.com/91566861/how-to-avoid-ai-in-as-many-places-as-possible
1•1vuio0pswjnm7•8m ago•0 comments

Show HN: Bedtimeforkids let kids learn while entertain

https://bedtimeforkids.vercel.app
1•dutay05•11m ago•0 comments

Ua-tracer: what does a user agent fetch, follow and run

https://uatracer.com/
1•twapi•12m ago•0 comments

Every AI Visibility Tool Is Lying to You

https://canonry.ai/blog/ai-visibility-tools-are-lying
1•arberx•12m ago•0 comments

Google loses fight against record €4.1B EU antitrust fine

https://www.reuters.com/world/eu-top-court-dismisses-google-fight-against-record-41-billion-eu-an...
1•1vuio0pswjnm7•14m ago•0 comments

What Would Mark Twain Think of America at 250?

https://www.theatlantic.com/ideas/2026/07/mark-twain-america-anniversary-critique/687718/
1•paulpauper•20m ago•0 comments

Why Everyone Is Suddenly Talking About 'Universal Basic Capital'

https://www.theatlantic.com/economy/2026/07/universal-basic-capital-ai/687759/
2•paulpauper•21m ago•0 comments

Merlin: A computed tomography vision–language foundation model and dataset

https://www.nature.com/articles/s41586-026-10181-8
1•bryanrasmussen•21m ago•0 comments

Show HN: I built a declarative layout engine for SVG, Canvas, WebGL

https://github.com/carnworkstudios/boxwood
2•bonzai2carn•24m ago•0 comments

Artificial and Fake Eggs: Dance of Death

https://www.researchgate.net/publication/281149909_Artificial_and_Fake_Eggs_Dance_of_Death
1•ms7892•27m ago•0 comments

The Programming Wars: How Microsoft Crushed Borland

https://www.youtube.com/watch?v=AQiULz4Z4TQ
1•cable2600•28m ago•0 comments

14× faster embeddings: how we rebuilt the ONNX path in Manticore

https://manticoresearch.com/blog/onnx-embeddings-speedup/
1•snikolaev•29m ago•0 comments

DGX station and "frontier" models, my hunt for answers

https://www.atcyrus.com/stories/dgx-station-local-frontier-ai-memory
1•connorturland•30m ago•1 comments

Surge will do marketing for you

https://www.surgeos.app/
1•yernururu•31m ago•0 comments

How the Big Four's wheels fell off Down Under

https://www.ft.com/content/f0f852ef-637e-4be7-8eee-e3ad2b767cf4
1•petethomas•32m ago•0 comments

June heatwave may have killed around 20k people in Europe

https://www.newscientist.com/article/2532825-june-heatwave-may-have-killed-around-20000-people-in...
5•littlexsparkee•40m ago•1 comments

Show HN: Dabs spawns dumb agents in boxes for free

https://github.com/jjmerino/dabs
1•jjmerino•40m ago•0 comments

BitTorrent's disastrous, legendary, and controversial story

https://www.theverge.com/tech/959848/bittorrent-story-25-years-piracy
1•aarvin_roshin•41m ago•1 comments

In Defense of AI Mandates

https://charity.wtf/2026/07/02/in-defense-of-ai-mandates-xpost/
1•backlit4034•44m ago•0 comments

Show HN: Imagent – agentic image/video/speech generation

https://github.com/unliftedq/imagent
1•unliftedq•47m ago•0 comments

Spotify deletes streams of chart-topping song after suspicious Kalshi bets

https://www.ft.com/content/2e10851c-9f47-410d-b46e-2a617118b05a
2•thm•49m ago•0 comments

Qwicut – A Desktop App to Turn Any Selection into Intelligence

https://www.qwicut.com
1•yukidkwlbn•54m ago•0 comments

Reducing AI costs with smart pricing

1•millereffect•59m ago•0 comments

AI coding is a nightmare. Am I the only one experiencing this?

2•sollawen•1h ago•2 comments

Four graphs to visualize the unprecedented scale of France's June 2026 heatwave

https://www.lemonde.fr/en/les-decodeurs/article/2026/07/03/four-graphs-to-visualize-the-unprecede...
3•pier25•1h ago•0 comments

Stop Asking "Saga or 2PC." Start Asking What Each Operation Needs

https://medium.com/@pivotfakie/stop-asking-saga-or-2pc-start-asking-what-each-operation-needs-78c...
2•feeblefakie•1h ago•0 comments

Mr. Baby Paint and accidentally discovering a new cellular automata

https://tekstien-marginaalien-keskus.aalto.fi/residenssi/heikki/blog/004-december-2/
3•jfil•1h ago•0 comments