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!

Ente Is Open

https://ente.com/open/
1•shaunpud•1m ago•0 comments

Open-source Claude/Codex/Cursor limits tracker for Mac

https://github.com/aalksii/creditwatcher
1•aalksii•2m ago•0 comments

Ocean surface temperatures hit a record high for June

https://www.theguardian.com/environment/2026/jul/01/ocean-surface-temperatures-hit-a-record-high-...
1•montalbano•3m ago•0 comments

Getty's Shutterstock merger falls apart

https://www.theverge.com/tech/960047/getty-shutterstock-merger-agreement-termination
1•rarisma•6m ago•0 comments

Free online tools in one place

https://www.quelloai.com
1•gusdestro•7m ago•1 comments

Siplinx AI Meeting Notetaker for Zoom, Google Meet

https://siplinx.com
1•aman-flyprox•7m ago•0 comments

Neuralink: Our First Transdural Procedure [video]

https://www.youtube.com/watch?v=F8p2MamNBgE
1•Klaster_1•7m ago•0 comments

The Primitive Is the Product

https://www.amplifypartners.com/blog-posts/the-primitive-is-the-product
1•tosh•8m ago•0 comments

How Spotify Is Killing the Open Podcast Ecosystem (2020)

https://singhkays.com/blog/how-spotify-is-killing-the-open-podcast-ecosystem/
1•downbad_•8m ago•0 comments

Sonnet 5 Is Dead in the Water

https://www.vincentschmalbach.com/sonnet-5-is-dead-in-the-water/
2•vincent_s•10m ago•0 comments

Side-Channel Protections in Hardware Implementations of PQC ML-KEM Verification

https://arxiv.org/abs/2606.31681
1•austinallegro•14m ago•0 comments

Hays Code

https://en.wikipedia.org/wiki/Hays_Code
2•thunderbong•14m ago•0 comments

The Economics of Starlink and SpaceX

https://ispcol.potaroo.net/2026-06/spacex.html
1•fanf2•15m ago•0 comments

Palantir on AI Sovereignty

https://twitter.com/PalantirTech/status/2072114267776491695
4•tosh•21m ago•1 comments

Isaac Asimov Laments the "Cult of Ignorance" in the United States (1980)

https://www.openculture.com/2026/07/isaac-asimov-laments-the-cult-of-ignorance.html
2•mdp2021•26m ago•0 comments

C++26: Constexpr Virtual Inheritance

https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance
3•jandeboevrie•30m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
2•futurecat•33m ago•0 comments

Nsram: The Artificial Neuron on a Silicon Chip

https://spectrum.ieee.org/artificial-neurons-on-silicon-chips
1•rbanffy•37m ago•0 comments

Best AI Coding Token Plans in 2026: A Practical Comparison for Developers

https://medium.com/@VibeHacker/best-ai-coding-token-plans-in-2026-a-practical-comparison-for-deve...
1•Timmyzzz•38m ago•0 comments

Nano Banana 2 Lite

https://twitter.com/GoogleAIStudio/status/2071989578672595413
4•aurenvale•39m ago•0 comments

Reddit is going to force you to log in to use old Reddit

https://www.theverge.com/tech/959779/reddit-old-log-in
8•vrganj•42m ago•1 comments

Show HN: Abstractions – Weekly newsletters explaining your codebase

https://useabstractions.com
2•nshntarora•43m ago•0 comments

Show HN: Agentic Data Engineering

https://www.revos.ai/blog/agentic-data-engineering
2•zubairov•44m ago•0 comments

Register Korea's First PC 'SE-8001' as a National Important Material

https://www.dongascience.com/en/news/30374
4•mushstory•45m ago•0 comments

Panasonic launches CO₂ air-to-water heat pump with CoP of 6.1

https://www.pv-magazine.com/2026/06/29/panasonic-launches-co%e2%82%82-air-to-water-heat-pump-with...
2•flipbrad•45m ago•0 comments

Core dump epidemiology: fixing an 18-year-old bug

https://openai.com/index/core-dump-epidemiology-data-infrastructure-bug/
2•blerb795•48m ago•0 comments

Bird nests of fibre-optic cables show war's impact on Ukraine

https://www.reuters.com/business/aerospace-defense/bird-nests-fibre-optic-cables-show-wars-impact...
3•ZeljkoS•48m ago•0 comments

Splash Canvas

https://artsandculture.google.com/experiment/vQFCtQB7FDnYkA
2•reasonableklout•49m ago•0 comments

Puri.li private search with own index

https://puri.li
2•skillplayed•49m ago•0 comments

Claude Command Classifier: availability issues

2•oger•50m ago•0 comments