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!

Vacuum at the Page Level

https://boringsql.com/posts/vacuum-at-the-page-level/
1•radimm•1m ago•0 comments

'A lot of our parents were paid by the hour'

https://www.theguardian.com/lifeandstyle/2026/jun/22/money-coach-blueprint-generational-wealth
1•bookofjoe•2m ago•0 comments

Democratizing Abandonware

https://geopjr.dev/blog/democratizing-abandonware
2•latexr•7m ago•0 comments

Research "junkification" is caused by researchers, not journals

https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2026.1845947/full
1•giuliomagnifico•8m ago•0 comments

Is Starlink a Secret Radar Constellation? [video]

https://www.youtube.com/watch?v=jbp3kdJZ1_A
1•TMWNN•9m ago•0 comments

Tell HN: Error: Claude-fable-5 is temporarily unavailable

1•throwaw12•9m ago•0 comments

Show HN: An always-fresh memory that learns your repo, so agents stop re-reading

https://github.com/shofer-dev/claude-code-live-memory
1•alsterg•12m ago•0 comments

OpenCRA

https://github.com/borisRadonic/OpenCRA
1•BorisRadonic•12m ago•0 comments

The Math Behind Harmony – why a fifth sounds sweet and a piano is tuned wrong

https://m-ric.com/blog/math-of-harmony/
1•aubanel•17m ago•0 comments

List of Humorous Units of Measurement

https://en.wikipedia.org/wiki/List_of_humorous_units_of_measurement
5•pchr8•20m ago•1 comments

Show HN: Explain this – agent skills to create HTML explainer for topics or code

https://github.com/analyticalmonk/explain-this/
2•akashtndn•21m ago•0 comments

Show HN: Adkumo – Marketing Agent for SaaS

https://www.adkumo.com
1•gustavoauma•24m ago•0 comments

Real-time map of Great Britain's rail network

https://www.map.signalbox.io
16•scrlk•24m ago•1 comments

SW Agent – an outbound-only connector for browser-based PostgreSQL IDEs

2•Vivek-KY•26m ago•0 comments

Bad Epoll (CVE-2026-46242)

https://github.com/J-jaeyoung/bad-epoll
3•birdculture•28m ago•0 comments

Show HN: ScreenCI – Always up-to-date product videos from E2E tests

https://screenci.com/
4•ollipal•36m ago•0 comments

Reliability Issues with Jira and Confluence

https://jira-software.status.atlassian.com
1•amaccuish•36m ago•0 comments

LinguaHover – Hover Any Word, Translate Instantly – Chrome Extension

https://chromewebstore.google.com/detail/linguahover-translator-pr/dnkpfkopeeilpfgnehheceebamlcbcgc
1•titan_tokyo•40m ago•0 comments

Show HN: Mochi Analytics

https://www.mochianalytics.com
2•devtanna•42m ago•0 comments

In the Weights

https://intheweights.com
1•dash2•44m ago•0 comments

Bounding the Blast Radius: A Survey of Prompt-Injection Defenses for LLM Agents

https://fabraix.com/blog/nobody-has-solved-prompt-injection
1•ibrahim_abdu777•46m ago•0 comments

What Happens When AI Agents Can Pay Their Own Bills

https://self-sovereign-agent.github.io/
1•_pdp_•51m ago•1 comments

Higher blood glucose levels linked to faster brain aging

https://medicalxpress.com/news/2026-07-higher-blood-glucose-linked-faster.html
2•XzetaU8•51m ago•0 comments

Supply Chain Attack Campaign PolinRider

https://socket.dev/supply-chain-attacks/polinrider
1•_____k•51m ago•0 comments

Poll: Is there an AI bubble?

2•networked•53m ago•4 comments

Generative AI without guardrail can harm learning:Evidence from high school math

https://www.pnas.org/doi/10.1073/pnas.2422633122
2•teleforce•53m ago•0 comments

Tribe in Colorado brings utility scale solar project online

https://www.npr.org/2026/07/06/nx-s1-5779756/despite-stiff-political-headwinds-tribe-in-colorado-...
2•geox•57m ago•0 comments

Claude Code deletes conversations after 30 days

1•mieubrisse•58m ago•2 comments

Adding Homemade TLS to a Homemade Web Server

https://www.dmytrohuz.com/p/adding-homemade-tls-to-a-homemade
1•dmyhuz•1h ago•0 comments

Euclid scientists discover most distant known quasars

https://www.euclid-ec.org/most-distant-quasars/
1•robin_reala•1h ago•0 comments