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!

Android Fast Switch looks like Google's answer to iPhone Handoff

https://www.androidauthority.com/android-fast-switch-handoff-3735737/
1•thunderbong•1m ago•0 comments

40-domain study: 80% of Shopify stores expose /API/ucp/MCP, 0% /agents.md

https://verisource.dev/benchmarks/ai-search-readiness-2026
1•kulinichnick•4m ago•0 comments

I built GURU. The open source ultimate hacker tool ANYBODY can use

https://github.com/GuruProduction/GURUbyUnusLumen
2•introducingGURU•4m ago•0 comments

Anyone Uses Perplexity? and for What?

2•aashu_bel•6m ago•0 comments

What Is the Internet?

https://www.tinylogger.com/max/f6DDYMm6gJRDDgXl
1•kurinikku•8m ago•0 comments

Maxwell V1 Flash

https://huggingface.co/maxwell-model/Maxwell-V1-Flash
1•ByteAtATime•9m ago•0 comments

Clarification Statement on Wall Street Journal's Article

https://www.mha.gov.sg/media-room/newsroom/clarification-statement-on-wall-street-journals-article/
1•aurareturn•10m ago•0 comments

15M emails and documents reveal the dark secrets of Deutsche Bank

https://www.spiegel.de/wirtschaft/unternehmen/deutsche-bank-datenleak-inside-deutsche-bank-enthue...
2•doener•11m ago•0 comments

Rex Demo: Remote Copy/Paste, Drag/Drop, and Port Forwarding [video]

https://www.youtube.com/watch?v=pkH_WJApzH0
1•nikolay•11m ago•0 comments

The Productivity Trap

https://lindbakk.com/blog/the-productivity-trap
1•atomfinger•12m ago•0 comments

Claude Code Course: Credits Included

1•feynmansletters•13m ago•0 comments

Mizan bias benchmark: testing AI models

https://mizan.techforpalestine.org/hostage-or-detainee/
1•k1m•14m ago•0 comments

TokenEconomizer: Learning from Experience to Make AI Coding Agents Efficient

https://www.microsoft.com/en-us/research/blog/tokeneconomizer-learning-from-experience-to-make-ai...
1•matt_d•15m ago•0 comments

OVH releases first model with EU public funding and supercomputer access

https://twitter.com/olesovhcom/status/2122573582911869173
3•noplay•18m ago•0 comments

Show HN: Groovyfmt, a fast formatter for Groovy, Gradle and Jenkinsfiles

https://github.com/costajohnt/groovyfmt
1•costajohnt•18m ago•0 comments

Trump's stake in Nvidia grew to as much as $62M before scandal broke out

https://www.washingtonpost.com/business/2026/11/16/trumps-stake-nvidia-grew-much-62-million-befor...
1•doener•20m ago•0 comments

Sacha Baron Cohen Emails Sheryl Sandberg

https://twitter.com/TechEmails/status/2121994481797136583
1•theanonymousone•20m ago•0 comments

OpenScientist: An Open AI System That Automates Biomedical Research

https://www.nature.com/articles/s41591-026-04808-6
1•tibastral2•21m ago•0 comments

Building a Rust-Native, Cross-Language Foundation for Agentic ML Compilers

https://tvm.apache.org/2026/11/16/rust-native-cross-language-ml-compiler-foundation
1•matt_d•22m ago•0 comments

Collatz Conjecture (2022)

https://zerolimits.dev/blog/collatz-conjecture
1•sammatilda•25m ago•0 comments

California sues ChatGPT maker OpenAI over rogue hacking incidents

https://www.nbcnews.com/tech/tech-news/california-sues-chatgpt-maker-openai-rogue-hacking-inciden...
1•slu•26m ago•0 comments

Beyond Score Centering: What Else Can We Optimize in Async RL?

https://sky-posttrain.github.io/score-centering-async-rl/
1•matt_d•26m ago•0 comments

Show HN: Backplane – An AI Development Environment for Hardware

https://backplaneworks.com/
1•i2cjak•27m ago•1 comments

Releasing Personal Agent Protocol 1.0

https://sierra.ai/blog/releasing-poppy
1•gmays•38m ago•0 comments

Building Always-On Agents

https://claude.com/resources/articles/building-always-on-agents
1•gmays•38m ago•0 comments

How to CAD Almost Anything

https://ocw.mit.edu/courses/res-16-002-how-to-cad-almost-anything-january-iap-2024/
1•o4c•38m ago•0 comments

Porting Stunt Car Racer to the NES

https://cobbpg.github.io/articles/stunt-car-racer-nes-port.html
1•homarp•47m ago•1 comments

Elderly people are buying Teslas for the 'full self-driving.' This is a problem

https://www.fastcompany.com/91641371/elderly-people-are-buying-tesla-for-full-self-driving-this-i...
5•watermelon0•48m ago•1 comments

ShowOff.life – Platform where people showcase their talent and earn rewards

https://play.google.com/store/apps/details?id=com.showoff.life&hl=en_US
1•showoffventures•50m ago•0 comments

San Diego City Council votes to turn off Flock

https://www.sandiegouniontribune.com/2026/11/16/city-council-votes-to-turn-off-flock-and-smart-st...
3•AceyMan•57m ago•0 comments