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!

Anthropic Moved the Fable Deadline Again

https://www.vincentschmalbach.com/fable-july-19-extension/
2•vincent_s•1m ago•0 comments

An Epistemic Audit for Existential Risks from AI

https://www.lesswrong.com/posts/aHJ8MkPTWPDnuFLRL/an-epistemic-audit-for-existential-risks-from-ai
1•joozio•1m ago•0 comments

White House to rally utilities, data centers over AI power costs

https://www.reuters.com/legal/litigation/white-house-rally-utilities-data-centers-over-ai-power-c...
1•adithyaharish•2m ago•0 comments

DiscoMCP – Turn an unknown MCP into a reusable operational skill for AI agents

https://github.com/ieranama/discomcp
1•inigoerana•4m ago•0 comments

Saws, Sewing Machines and Telescopes: Things on Loan from Your Library

https://www.kqed.org/news/12085382/saws-sewing-machines-and-telescopes-the-surprising-things-on-l...
2•agnosticmantis•4m ago•0 comments

Show HN: Sixfold – A quick to play word game

https://sixfold.pwheslop.com
1•pwheslop•6m ago•0 comments

Your Data built the AI boom – but Big Tech is pocketing 100% of the equity

https://www.marketwatch.com/story/your-share-of-the-ai-wealth-is-a-right-not-a-handout-here-is-ho...
2•robtherobber•10m ago•0 comments

Firefox will soon start releasing new versions every two weeks

https://www.neowin.net/news/mozilla-firefox-to-follow-google-chrome-microsoft-edge-with-new-relea...
2•bundie•12m ago•0 comments

Show HN: All the Government's 385,000 pages of UFO files to date

https://hypergrid.systems/war.gov-ufo-viewer/microfilm5
2•keepamovin•14m ago•1 comments

I built an iOS app that photographs your pantry and tells you what you can cook

https://apps.apple.com/us/app/simmerz/id6767691610
1•khhuff06•14m ago•0 comments

Doing things right is a lonely craft

https://en.andros.dev/blog/d0d251b2/doing-things-right-is-a-lonely-craft/
2•andros•18m ago•0 comments

The Un-Ice Age

https://www.earthdata.nasa.gov/news/feature-articles/un-ice-age
2•thunderbong•18m ago•0 comments

A NUMA blind spot in Xen's paravirtual I/O path

https://edera.dev/stories/numa-part-3-xens-pv-i-o-path-and-its-numa-blind-spot
1•virtio_vixen•21m ago•0 comments

Photovoltaics are still running after a year under Swiss trains

https://www.theregister.com/offbeat/2026/07/13/photovoltaics-are-still-running-after-a-year-under...
2•manarth•26m ago•1 comments

Grok Build CLI uploads your whole repo – Git history+.env secrets – to xAI cloud

https://old.reddit.com/r/LocalLLaMA/comments/1ut7tis/grok_build_cli_uploads_your_whole_repo_full_...
1•taubek•26m ago•0 comments

The Americans Striking It Rich in the Data-Center Buildout

https://www.msn.com/en-us/money/realestate/the-americans-striking-it-rich-in-the-data-center-buil...
1•littlexsparkee•27m ago•0 comments

Prompting

https://learn.chatgpt.com/docs/prompting
1•tosh•28m ago•0 comments

How I made $25k in 15 days with a game built by Claude Code

https://leocoout.medium.com/how-i-made-25k-in-15-days-with-a-game-built-entirely-by-claude-code-9...
1•svenfaw•28m ago•1 comments

Building with Friction

https://adjohu.com/blog/building-with-friction/
1•adjohu•29m ago•0 comments

You cleaned up your diet, and somehow feel worse. What to do

https://www.plantbasededit.com/cleaned-up-diet-and-feel-worse/
1•martinagabr•33m ago•0 comments

Ask HN: At what age did you start to feel your learning ability decline?

1•bagol•33m ago•0 comments

Some Monsters Are Real

https://climatecasino.substack.com/p/some-monsters-are-real
2•akyuu•33m ago•1 comments

Checkpoints for AI sessions – carry context across AI tools, self-hosted

https://github.com/OurThinkTank/founders-os
1•ourthinktank•34m ago•0 comments

A new monetary metric is found in the thermodynamic relation energy – GDP

https://arxiv.org/abs/2508.08723
1•frabarbieri•35m ago•0 comments

Beijing's 'Manhattan Project': China Close to Cracking Code of EUV Lithography

https://timesofindia.indiatimes.com/science/beijings-manhattan-project-china-close-to-cracking-co...
1•softveda•36m ago•2 comments

Building a Compliance-Ready Casino Platform

https://geekyants.com/case-studies/secure-casino-web-platform-kyc-payments-geo-compliance
2•Krishnaswaroop•37m ago•1 comments

Automate your link building outreach with one tool

https://www.autobacklinks.ai
1•welsenesbros•40m ago•0 comments

Show HN: LLM-mock – Record and replay OpenAI/Anthropic calls in pytest (v1.0)

https://github.com/autopost/llm-mock
2•roman_t•41m ago•0 comments

TLS Handshakes: Measuring the Performance of 4 Cryptography Libraries

https://c410-f3r.github.io/thoughts/tls-handshakes-measuring-the-performance-of-4-cryptography-li...
1•CaioFer•48m ago•0 comments

Show HN: I built an agent framework where the agent is just one file

https://github.com/loopedautomation/agent-framework
1•RatulMaharaj•48m ago•1 comments