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!

DeepSeek V4 official release coming in mid-July with 2x peak-hour API pricing

https://technode.com/2026/06/30/deepseek-to-launch-v4-in-mid-july-with-new-peak-time-api-pricing/
1•linzhangrun•13s ago•0 comments

Universal agents require universal memory

https://adapt.com/blog/unified-memory
1•ashumz•1m ago•0 comments

The state of the AI economy from bottom up

https://www.exponentialview.co/p/the-state-of-the-ai-economy
1•damethos•1m ago•0 comments

Open Hardware and Free Software: Teufel Mynd, a Case Study of a BT Loudspeaker

https://fsfe.org/news/2026/news-20260629-01.en.html
1•kirschner•2m ago•0 comments

QDBP: Explicit depth markers as an alternative to indentation and parentheses

https://github.com/tearflake/qdbp
1•tearflake•7m ago•0 comments

AI Policy Update

https://blog.freecad.org/2026/06/29/ai-policy-update/
1•ilreb•14m ago•0 comments

Reward hacking is swamping model intelligence gains

https://cursor.com/blog/reward-hacking-coding-benchmarks
2•matt_d•16m ago•0 comments

Vega: Zero-knowledge proofs for digital identity in the age of AI

https://www.microsoft.com/en-us/research/blog/vega-zero-knowledge-proofs-for-digital-identity-in-...
1•tosh•17m ago•0 comments

Gemma 4 on Cerebras - The Fastest Inference Is Now Multimodal

https://www.cerebras.ai/blog/gemma-4-on-cerebras-the-fastest-inference-is-now-multimodal
2•Tiberium•17m ago•1 comments

Show HN: Bored People Chat – Anonymous global chat room

https://boredpeoplechat.com/
2•syc-bpc•17m ago•0 comments

I built 25 executable skills for my AI agent �” all open source

https://github.com/ChrisLamDev/hermes-core-skills
1•ChrisLamDev118•19m ago•0 comments

Another Semiquincentennial

https://sanfranciscan.org/2026/06/29/another-semiquincentennial/
1•chema•22m ago•0 comments

Ask HN: Which is the best local model under 3B parameters today?

1•akarshhegde18•22m ago•0 comments

The op log was peer-to-peer the whole time

https://avelino.run/from-icloud-to-peers/
1•ethanplant•24m ago•0 comments

I built a free invoice generator for freelancers – no login, no subscription

https://quickinvoice-jade.vercel.app
1•Mini_dev•27m ago•0 comments

Operation RYaN

https://en.wikipedia.org/wiki/Operation_RYAN
1•valgaze•31m ago•0 comments

We built a P2P app with no servers. 1M users didn't miss them [Video]

https://www.youtube.com/watch?v=n76zGrt4aRY
1•danboarder•31m ago•0 comments

Tangled CI runs on microVMs

https://blog.tangled.org/spindle-microvm/
2•icy•35m ago•0 comments

Manifest-Driven Development

https://spacedock.md/blog/manifest-driven-development/
1•clkao•40m ago•0 comments

Meshtryoshka: Differentiable Mesh Rendering for Unbounded Scenes

https://danielxu9393.github.io/meshtryoshka-website/
1•E-Reverance•40m ago•0 comments

OGN 3D Viewer – glider flights replayed in 3D in the browser

https://s-celles.github.io/ogn-3d-viewer/
1•scls19fr•45m ago•0 comments

PostgreSQL Management Platform

https://gilliomfrontlinedigital.com/
1•Warfighter8714•45m ago•0 comments

There's this mystery of what, actually, is this thing?: DeepMind's philosopher

https://www.theguardian.com/news/ng-interactive/2026/jun/30/theres-this-deep-mystery-of-what-actu...
1•mellosouls•46m ago•1 comments

Can Facial Recognition tools track you online?

https://eyematch.ai/blog/privacy/can-facial-recognition-tools-track-you-online
2•anetagro•48m ago•0 comments

EU Commission HQ forced to shut down air-conditioning amid heatwave

https://www.politico.eu/article/eu-commission-heatwave-hq-forced-shut-down-air-conditioning-europe/
1•mdavid626•48m ago•1 comments

Vāgdhenu: Open-source meter-aware text-to-speech for Sanskrit

https://prathosh.in/vagdhenu/
2•bargavas•48m ago•0 comments

What Is Binning? A Basic Definition (2022)

https://www.tomshardware.com/reviews/glossary-binning-definition
1•thunderbong•56m ago•0 comments

Zero Trace AI – private AI chat with nothing to subpoena

https://zerotraceai.org
2•OrPrivacyGuy•1h ago•0 comments

I have open-sourced gojaja, a CLI for local multi-agent collaboration

2•zpwsmile•1h ago•0 comments

US Supreme Court Just Blew Up EU-US Data Transfers

https://noyb.eu/en/us-supreme-court-just-blew-eu-us-data-transfers
29•tomwas54•1h ago•14 comments