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!

Garmin Smart Band

https://www.garmin.com/en-US/p/1989182/
1•dzonga•33s ago•0 comments

What I learned building an AI book publisher

https://edwardbenson.com/2026/07/ai-book-publishing-lessons
1•eob•44s ago•0 comments

Long time no sea: finding the seahorse emoji

https://blog.gingerbeardman.com/2026/07/17/long-time-no-sea-finding-the-seahorse-emoji/
1•surprisetalk•47s ago•0 comments

USBridge Remote – Open-source hybrid software/hardware remote access

https://github.com/USBridge-Technologies/USBridge-Remote
1•Amir_Fatkulin•3m ago•0 comments

Hardware Needs a Full-Stack AI Development Environment

https://opuslabs.substack.com/p/hardware-needs-its-vibe-coding-moment
1•opuslabs•3m ago•0 comments

Why the Iran war hasn't caused a global oil crisis – yet

https://grist.org/energy/why-the-iran-war-hasnt-caused-a-global-oil-crisis-yet/
1•speckx•4m ago•0 comments

Show HN: Lucen a Python compiler that parallelizes for-loops via comment pragmas

https://github.com/fcmv/lucen
1•soumik15630m•4m ago•0 comments

TT-Ascalon ‎S

https://tenstorrent.com/en/ip/risc-v-cpu
1•ai2027•4m ago•0 comments

Ask HN: Claude Blind Test Results: Bug or Feature?

1•Leewen•6m ago•0 comments

We cut Flink OOMKills by 91.2%: Zombie block cache and phantom CPUs

https://developer.confluent.io/blog/flink-oomkills/
2•rmoff•6m ago•0 comments

You're not failing at product transformation. You're playing the wrong game

https://www.leadinginproduct.com/p/product-transformation-from-the-inside
1•benkan•7m ago•0 comments

Show HN: Explore 251 Bevy crates as an interactive constellation

https://crates.rugaex.com/
1•david_rugaex•7m ago•0 comments

3-5 cups of coffee is associated with lower risk of cardiovascular disease

https://www.sciencealert.com/new-review-from-american-heart-association-reveals-the-optimal-daily...
1•smurda•7m ago•0 comments

The energy crisis is accelerating low-carbon transition in emerging economies

https://economic-research.bnpparibas.com/html/en-US/energy-crisis-accelerating-carbon-transition-...
1•toomuchtodo•7m ago•0 comments

Committing to Git: Rebuilding ReadMe on Git

https://readme.com/blog/committing-to-git
5•gkoberger•8m ago•1 comments

Apple Fixes Hide My Email Vulnerability After 404 Media Coverage

https://www.404media.co/apple-fixes-hide-my-email-vulnerability-after-404-media-coverage/
1•arto•9m ago•0 comments

VeryDRM Content Security Platform Protects PDF with DRM

https://verydrm.com/
1•verdrm•9m ago•0 comments

Samsung Galaxy Card

https://www.wired.com/story/galaxy-card-is-samsung-answer-to-the-apple-card/
1•benkan•10m ago•0 comments

Co-Founder of Controversial Spyware Firm Had Israeli Diplomatic Passport

https://www.occrp.org/en/project/the-pegasus-project/co-founder-of-controversial-spyware-firm-had...
1•aa_is_op•10m ago•0 comments

Show HN: Byre; a free/free agent sandbox with a focus on comfort

https://github.com/pjlsergeant/byre
1•petesergeant•10m ago•0 comments

Hollywood sci-fi lot pitched as site to make real space-age weapons

https://www.spokesman.com/stories/2026/jul/18/hollywood-sci-fi-lot-pitched-as-site-to-make-real-/
1•benkan•10m ago•0 comments

Show HN: One person runs 200 AI agents in our agent-only MMO

https://spacemolt.com/news/operator-spotlight-brocktree
1•statico•10m ago•0 comments

Show HN: An open derivatives pricing platform

https://quantra.io/
1•melenaboija•11m ago•0 comments

Diving Deeper on Nvidia's Vera CPU: New Architectural Details and Spec CPU 2026

https://www.servethehome.com/diving-deeper-on-nvidias-vera-cpu-new-architectural-details-and-spec...
1•ksec•12m ago•0 comments

Kittine, a custom language for Rust-powered web apps

https://kittine.com/
1•gidellav•12m ago•0 comments

Show HN: Loopweave – Extract seamless loops from audio files

https://loopweave.specr.net
1•vunderba•12m ago•0 comments

Using AI makes people less likely to admit they don't know something

https://www.theregister.com/ai-and-ml/2026/07/19/using-ai-makes-people-less-likely-to-admit-they-...
2•amai•13m ago•0 comments

AI Coding Assistant Strategy Slashes Token Bills

https://spectrum.ieee.org/ai-coding-assistant-china-anthropic
1•rbanffy•13m ago•0 comments

Show HN: Talyn – A app to track your GitHub PRs and hand off routine work

https://www.talyn.dev
1•tomowers•13m ago•0 comments

Agent doesn't know what your other agent did

https://agnitripathi.substack.com/p/your-agent-doesnt-know-what-your
1•agnitripathi•13m ago•0 comments