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!

Small, native web tricks worth remembering

https://htmlcat.net/
1•marcomezzavilla•1m ago•0 comments

Outbid.lol

https://outbid.lol/
1•duck•1m ago•0 comments

ValiantCore – A custom hobby OS kernel and VEF executable format

1•FinnDevx•5m ago•0 comments

DeepSeek-V4-Flash-Vision-Exp Is Now Live on the DeepSeek API Platform

https://twitter.com/deepseek_ai/status/2090730032574631962
2•rochansinha•8m ago•0 comments

Liquid Biopsy Market (2026 – 2033)

https://www.grandviewresearch.com/industry-analysis/liquid-biopsy-market
1•Rutujad•9m ago•0 comments

Texas slams on the brakes for 1,800 data centers

https://www.tomshardware.com/tech-industry/data-centers/texas-slams-on-the-breaks-for-1-800-data-...
1•ksec•11m ago•2 comments

UptimeRobot featured my journey from Telecom to GenAI

https://uptimerobot.com/blog/community-spotlight-ambuj-kumar-tripathi/
1•ambujkt•13m ago•0 comments

Everybody Is a Prof Now

https://gedankenexperiments.com/Leif/Everybody_is_a_prof_now.html
1•yz-exodao•14m ago•0 comments

How to copy equations from Grok to word without losing formatting [video]

https://www.youtube.com/watch?v=9wj2Mm2Vh4k
2•quysala12•16m ago•0 comments

Our health check was green for fifty days while every download failed

https://cliplatch.com/blog/fifty-days-of-silent-failure
1•doodoolove•17m ago•0 comments

Debates over AI consciousness are a trap

https://www.technologyreview.com/2026/08/20/1142571/ai-consciousness-debate-trap/
1•Gooblebrai•19m ago•0 comments

Show HN: Squid Pay – Financial infrastructure for autonomous AI agents

https://www.squidpay.dev/
1•horatiucode•23m ago•1 comments

Show HN: Payluck – a startup directory where luck decides your discount

https://payluck.lol/
1•knoku•27m ago•0 comments

Ask HN: Why does $50M buy just 10% productivity for Enterprises?

1•milanspeaks•28m ago•0 comments

ITER is a showcase,for the drawbacks of fusion energy(2018)

https://thebulletin.org/2018/02/iter-is-a-showcase-for-the-drawbacks-of-fusion-energy/
1•o4c•30m ago•0 comments

I don't think AI is a bubble

https://honnibal.dev/blog/ai-bubble
1•Fazel94•35m ago•1 comments

Show HN: 2Day – Aesthetic live widgets studio for Notion and web dashboards

https://2day.jpgdic.com/
1•pgjeon•38m ago•0 comments

Stripe Buys A.I. Startup OpenRouter for $7.5B

https://www.nytimes.com/2026/08/19/business/stripe-openrouter-ai.html
2•01-_-•40m ago•1 comments

Show HN: Nowlert – self-hosted infrastructure alerts from SMTP, HTTP and Redfish

https://github.com/Theriark/nowlert-ce
3•theriark•42m ago•0 comments

Anthropic Plans to Change Data Retention Policy for Advanced AI

https://www.bloomberg.com/news/articles/2026-08-20/anthropic-plans-to-change-data-retention-polic...
3•tosh•43m ago•0 comments

BigLake's Iceberg REST Catalog

https://olake.io/blog/biglake-iceberg-rest-catalog-olake-go-setup/
15•advaita_datazip•43m ago•0 comments

Show HN: Can you tell Wodehouse from a model imitating Wodehouse?

https://voxoria.ai/ai-or-not-text/
3•sanj001•46m ago•0 comments

Study: Subtle white light changes make indoor rooms feel cooler or warmer

https://www.psu.edu/news/research/story/subtle-white-light-changes-make-indoor-rooms-feel-cooler-...
2•giuliomagnifico•46m ago•0 comments

Kopi Luwak

https://en.wikipedia.org/wiki/Kopi_luwak
2•thunderbong•49m ago•0 comments

Ask HN: Do you need Google ads help?

4•cosbgn•49m ago•0 comments

The day the business started deploying to prod

https://annampeter.substack.com/p/the-day-the-business-started-deploying
2•codebyauser•54m ago•0 comments

Show HN: Grok-ultracode – standing ultracode for Grok Build CLI

https://github.com/malakhov-dmitrii/grok-ultracode
2•cskeleto•55m ago•0 comments

In Soviet Union, Optimization Problem Solves You (2012 but Relevant Again)

https://crookedtimber.org/2012/05/30/in-soviet-union-optimization-problem-solves-you/
2•hagbard_c•56m ago•1 comments

ZeroVer: 0-Based Versioning

https://0ver.org/
3•vladde•57m ago•0 comments

White House tech strategy leaves open-weight AI off its critical list

https://thenextweb.com/news/white-house-strategy-open-weight-ai-critical-technology-list
2•LYFMail•57m ago•0 comments