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!

Reminder Email to yourself with voice option

https://remindmyemail.com/
1•texasjosh•2m ago•0 comments

Chorus: A fast, single-writer write-ahead log on Google Cloud Storage

https://github.com/rockwotj/chorus
1•handfuloflight•3m ago•0 comments

Luteolin, an antioxidant, may contribute to prevention of hair graying (2025)

https://medicalxpress.com/news/2025-02-luteolin-antioxidant-vegetables-contribute-hair.html
1•OutOfHere•4m ago•0 comments

Code trails: A new way to understand software

https://app.principal-ade.com/
1•thunderbong•10m ago•0 comments

Egg producers will pay $3.3M and donate 53M eggs to settle price-fixing

https://apnews.com/article/egg-prices-collusion-settlement-d32b05892541613df3f4e4932109ee0c
1•SilverElfin•12m ago•1 comments

The Taste Gap(2014)

https://www.themarginalian.org/2014/01/29/ira-glass-success-daniel-sax/
1•o4c•12m ago•0 comments

Did You Mean: Recursion

https://www.google.com/search?sca_esv=01006499c0c391e8&sxsrf=APpeQnuafTsQxwAyVUUvNK-FJhxgKP-UEA:1...
1•bear_with_me•19m ago•0 comments

AI has taken over the stock market. The bond market is next

https://www.economist.com/finance-and-economics/2026/07/07/ai-has-taken-over-the-stock-market-the...
3•petethomas•20m ago•0 comments

Fable 5 Access Extended Through July 12

https://xcancel.com/claudeai/status/2074548242386178258
2•etothet•22m ago•1 comments

Meta expands generative AI tools with Muse Image rollout

https://www.reuters.com/technology/meta-expands-generative-ai-tools-with-muse-image-rollout-2026-...
1•adithyaharish•27m ago•0 comments

O-ring theory of economic development

https://en.wikipedia.org/wiki/O-ring_theory_of_economic_development
2•o4c•27m ago•0 comments

TackNote

https://tacknote.app/
3•TackNote•29m ago•0 comments

Convert ANY web page into a Sticky Note with my FREE Chrome extension

https://chromewebstore.google.com/detail/sticky-note-web-clipper-—/gniilbpapgommpalikcclpcnbcam...
2•taskloco_nyc•29m ago•0 comments

A fast, decentralized web crawler, indexer, and search engine in one Rust binary

https://splch.github.io/mycel/
3•splch•32m ago•0 comments

Is The Economist Always Wrong?

https://www.economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
13•nreece•36m ago•3 comments

Micro Stirling Mechanical Cryo-Cooler Teardown by Fraser(2023)

https://www.eevblog.com/forum/thermal-imaging/micro-stirling-mechanical-cryo-cooler-teardown-by-f...
2•pillars•36m ago•0 comments

Ask HN: Best Podcasts of 2026 [So Far]

3•AbstractH24•39m ago•0 comments

What if users start cloning SaaS using AI

2•mzubairtahir•40m ago•2 comments

Defending OpenClaw against indirect prompt injection

https://compsec.snu.ac.kr/blog/dualview
7•b2y•41m ago•0 comments

The Answer Citation Protocol (ACP)

https://ericstrate.com/the-answer-citation-protocol-acp-optimizing-web-architecture-for-token-eff...
2•ericstrate•42m ago•0 comments

Digital Signals Theory Book

https://brianmcfee.net/dstbook-site/content/intro.html
3•marvinborner•43m ago•0 comments

Chinese researchers just mapped human brain 478 times faster than an Nvidia A100

https://indianexpress.com/article/technology/tech-news-technology/how-chinese-researchers-just-ma...
2•ogi_ogi•44m ago•1 comments

Is wanting is the last thing for humanity to do

https://harshalgajjar.com/blog/deciding-is-the-diamond
3•DDDmatter•45m ago•0 comments

Show HN: I created a ninety second challenge for conversations that matter

https://www.AskPitch.com/duel
2•KashifNY•51m ago•0 comments

EU ADDW Driver Monitoring Mandate Takes Effect July 7, 2026

https://www.sectorjournalhq.com/news/EU_ADDW_Driver_Monitoring_Mandate_Takes_Effect_July_7_2026.html
2•goplayoutside•52m ago•1 comments

Meta Now Lets Anyone Use Your Instagram Photos in AI Images–Unless You Opt Out

https://www.wired.com/story/meta-now-lets-anyone-use-your-instagram-photos-in-ai-images-unless-yo...
3•cdrnsf•55m ago•0 comments

Fagging

https://en.wikipedia.org/wiki/Fagging
7•thunderbong•1h ago•0 comments

Hundreds of staff at EY report bullying, racism and sexual harassment

https://www.theguardian.com/australia-news/2023/jul/27/ey-oceania-staff-bullying-racism-sexual-ha...
2•Alien1Being•1h ago•0 comments

Porting from Delphi to JavaScript, will unalive your blog from Delphi RSS Sites

https://delphinightmares.substack.com/p/porting-from-delphi-to-js-will-unalive
3•deeaceofbase•1h ago•1 comments

Show HN: FactIQ – a realtime econ+finance database for AI agents

https://github.com/defog-ai/factiq-plugin
2•rishsriv•1h ago•0 comments