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!

Lessons Learned from CISA's Recent GitHub Leak

https://krebsonsecurity.com/2026/07/lessons-learned-from-cisas-recent-github-leak/
1•guedou•30s ago•0 comments

Amethyst Post Bot – An Open-Source Editor for Telegram Rich Messages

https://github.com/rassvetteam/Amethyst-Post-Bot
1•waterflane•1m ago•0 comments

Shiploop – an autonomous delivery loop for Claude Code, pitch to MVP

https://github.com/BechsteinDigital/claude-shiploop
1•dbechstein•2m ago•0 comments

Web3dsurvey.com 2.0: Adds WebGPU WGLS language features and vendors details

https://ben3d.ca/blog/web-3d-survey-v2
1•bhouston•3m ago•0 comments

Hard Questions

https://claude.com/hard-questions
1•tosh•3m ago•0 comments

DOGE Used AI for Housing Policy. The Government Won't Say How

https://www.wired.com/story/doge-deployed-ai-housing-policy/
1•speckx•3m ago•1 comments

I modeled General Relativity as server lag in a discrete NavMesh universe

https://zenodo.org/records/21351434
1•TomerHaimovich•5m ago•0 comments

IBM shares down 23% as clients spend more on hardware and memory chips

https://www.cnbc.com/2026/07/14/ibm-warns-second-quarter-earnings-fell-short-of-expectations.html
1•rvz•5m ago•0 comments

SpaceX is gearing up for Starship's 13th test flight later this week

https://arstechnica.com/space/2026/07/spacex-is-gearing-up-for-starships-13th-test-flight-later-t...
1•rbanffy•6m ago•0 comments

We run a $7.5M trading company on $52/month of software

https://standardit.org/lanao.html
1•mixcocam•6m ago•0 comments

Switching an LLM's tier changes its "best tool" answer about half the time

https://modelsagree.com/labs/model-tiers
1•arephan•7m ago•0 comments

Show HN: Proton – A pure Go GUI library with zero CGO and API immunity

2•CzaxTanmay•8m ago•1 comments

Show HN: I RL-trained an agent that trains models with RL (for –$1.3k)

https://github.com/Danau5tin/ai-trains-ai
3•Danau5tin•8m ago•0 comments

Beautiful Type Erasure with C++26 Reflection

https://ryanjk5.github.io/posts/rjk-duck/
3•RyanJK5•9m ago•1 comments

Now, defenders are embracing the prompt injection, too

https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/
2•thm•10m ago•0 comments

Lenz – A fact-checking API for AI-generated content

https://lenz.io/
2•kostaj•10m ago•0 comments

Show HN: EdgarKit – a real-time JSON API for SEC EDGAR filings

https://edgarkit.com/
2•mathewarena•11m ago•0 comments

The Unexamined Model Is Not Worth Training

https://bastian.rieck.me/blog/2026/unexamined/
2•Pseudomanifold•11m ago•0 comments

A Trusty Boot Key (Ventoy Alternative), for Bastille Day

https://codeberg.org/aol/trusty-boot-key
3•mixmastamyk•11m ago•0 comments

We need a PIT Crew for news

https://werd.io/we-need-a-pit-crew-for-news/
3•benwerd•14m ago•0 comments

The US-China AI arms race has taken an unexpected turn

https://www.newscientist.com/article/2532952-who-is-winning-the-ai-arms-race-between-the-us-and-c...
3•speckx•14m ago•0 comments

Using self-hosted Umami for iOS app analytics

https://hjerpbakk.com/blog/2026/07/14/umami-for-apps
2•Sankra•15m ago•1 comments

Lessons learned by a non-developer learning to deploy apps in production

https://maximerumpler.substack.com/p/how-i-manage-ai-as-a-non-developer
2•MaximeRumpler•17m ago•0 comments

Microsoft Surface Laptop 8 review

https://www.theguardian.com/technology/2026/jul/14/microsoft-surface-laptop-8-review
2•tosh•17m ago•0 comments

Human rabies despite PEP: review of breakthrough cases after zoonotic exposures

https://pmc.ncbi.nlm.nih.gov/articles/PMC11403119/
3•keepamovin•18m ago•0 comments

GigaWiper: Anatomy of a destructive backdoor assembled from multiple malware

https://www.microsoft.com/en-us/security/blog/2026/07/09/gigawiper-anatomy-of-a-destructive-backd...
2•andrewstetsenko•19m ago•0 comments

Don't Panic Cyberdeck

https://www.printables.com/model/1775113-dont-panic-cyberdeck
2•surprisetalk•19m ago•0 comments

Coding agents think ahead of time

https://arxiv.org/abs/2607.05188
6•andre15silva•21m ago•1 comments

Ask HN: Should I Promote My SaaS to get first 100 Customers without budget

3•HSK11•21m ago•3 comments

Show HN: PDF to Markdown with a side-by-side check so you can see what broke

https://pdfmarkdown.app/
3•jisbuidling•22m ago•1 comments