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!

Are AI Labs Pelicanmaxxing?

https://dylancastillo.co/posts/pelicanmaxxing.html
1•dcastm•17s ago•0 comments

US Circulates Draft UN Free Speech Declaration Targeting EU Censorship Law

https://reclaimthenet.org/trump-admin-circulates-draft-un-free-speech-declaration-eu-dsa
1•anonymousiam•47s ago•0 comments

Scoring our agent harness against Ryan Lopopolo's 12 harness engineering theses

https://tech.orbitalwitness.com/posts/2026-07-22-grading-ourselves-against-the-harness-engineerin...
1•andrewthompsonx•1m ago•0 comments

Next chapter: Restructuring GitHub's bug bounty program

https://github.blog/security/next-chapter-restructuring-githubs-bug-bounty-program/
1•Klaster_1•1m ago•0 comments

Xbox's new VP of engineering quits just 2 months after taking the job

https://www.pcgamer.com/gaming-industry/xboxs-new-vp-of-engineering-quits-just-2-months-after-tak...
2•Brajeshwar•1m ago•0 comments

Network expert Glenn Fiedler warns game devs to fix game vulnerabilities with AI

https://gamesbeat.com/network-expert-glenn-fiedler-warns-game-programmers-to-fix-game-code-vulner...
1•gafferongames•2m ago•0 comments

TEFF Lexicon–The Most Expensive Typeface

https://www.typewolf.com/blog/the-worlds-most-expensive-typeface
1•_vaporwave_•2m ago•0 comments

'.ai' websites are booming – and making millions for this tiny Caribbean nation

https://www.techradar.com/pro/ai-websites-are-booming-and-making-millions-for-this-tiny-caribbean...
1•speckx•3m ago•0 comments

AI meets Cryptography 3: What AI Found in Bron Labs's bron-crypto

https://blog.zksecurity.xyz/posts/bron-bugs/
2•baby•5m ago•0 comments

Why Trust Could Be Victoria's Next Export

https://www.douglasmagazine.com/building-trust-legal-victoria-tech-global-growth
1•ClearwayLaw•6m ago•0 comments

Ask HN: Where is NFTs as a technology or investment?

1•Otternonsenz•7m ago•0 comments

OrbitalWiki, a source-backed satellite catalog with a free API

https://www.orbitalwiki.com
1•Anomalit•8m ago•0 comments

Show HN: An MCP server that gives AI assistants live weather and hazard data

https://pixelgust.com/blog/weather-mcp-server
1•pixelgust•8m ago•0 comments

OpenAI admits it was the source of the agent swarm that attacked Hugging Face

https://www.theregister.com/ai-and-ml/2026/07/22/openai-admits-it-was-the-source-of-the-agent-swa...
2•maguszin•10m ago•0 comments

It's not a "rogue AI" when a badly made security harness executes scripts

https://hachyderm.io/@thomasfuchs/116964576606603226
3•doener•10m ago•0 comments

Deloitte systems denied Medicaid to the disabled. New laws could make it worse

https://www.npr.org/2026/07/20/nx-s1-5896359/medicaid-disabled-patients-denied-deloitte-michigan
2•Jimmc414•11m ago•0 comments

Investment Skills Lexicon: How great investors think

https://github.com/finterm-ai/investment-skills
1•zalzal•13m ago•0 comments

JPMorgan Owns AI Answers. Here's how rivals can compete..

https://www.americanbanker.com/news/jpmorgan-owns-ai-answers-heres-how-rivals-can-compete
1•petethomas•14m ago•0 comments

Emails Reveal Why a Town Put Bags over Its Flock Cameras

https://www.404media.co/flock-objects-to-our-removing-their-equipment-emails-reveal-why-a-town-pu...
2•Jimmc414•14m ago•0 comments

Show HN: SimpleBLE 1.0, a cross-platform Bluetooth LE library

https://github.com/simpleble/simpleble
1•kevindewald•16m ago•0 comments

Show HN: Infinite Programmer ASMR

https://hackerman.specr.net/
2•vunderba•16m ago•0 comments

The Download: NASA's new space telescope and OpenAI's autonomous hacker

https://www.technologyreview.com/2026/07/22/1140717/the-download-nasa-space-telescope-openai-hugg...
1•joozio•17m ago•0 comments

The Legal Risks That Chill Good-Faith Security Research

https://www.lawfaremedia.org/article/the-legal-risks-that-chill-good-faith-security-research
1•hn_acker•18m ago•0 comments

Show HN: I Made Shadertoy 2.0

https://www.fibertoy.dev/
1•NabilNYMansour•19m ago•0 comments

Meta is testing an AI bedtime story app for people with no imagination

https://techcrunch.com/2026/07/21/meta-is-testing-an-ai-bedtime-story-app-for-people-with-no-imag...
1•Brajeshwar•19m ago•0 comments

Show HN: Motiscope – Rebuild web animations from screen recordings

https://kumarsashank.github.io/motiscope/
1•kumarsashank•21m ago•0 comments

Show HN: ROMbug Earth – a browser that shows where websites connect

https://rombugearth.com/
1•chainbuilder•21m ago•0 comments

Show HN: Onus – self-hostable vuln scanner combining 8 tools into one report

https://github.com/maverickaayush/ONUS
1•maverickaayush•23m ago•0 comments

Show HN: LMNO.lol – An entire blog in a single Markdown file

https://lmno.lol
1•xenodium•24m ago•0 comments

Inadvertently becoming a slop contributor to a Rust core library

https://ianm199.github.io/personalSite/blog/inadvertently-becoming-a-slop-contributor-to-rust-libc/
1•ianm218•26m ago•0 comments