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!

When A.I. Is a Member of the Family

https://www.newyorker.com/magazine/2026/07/20/when-ai-is-a-member-of-the-family
1•fortran77•54s ago•0 comments

The age of the Universe from a large sample of the oldest Galactic stars

https://arxiv.org/abs/2607.00764
1•root-parent•2m ago•0 comments

Brightspeed's Fiber Asset Bet Meets $11B Debt Test

https://www.wsj.com/pro/bankruptcy/brightspeeds-fiber-asset-bet-meets-11-billion-debt-test-33fe5260
1•petethomas•2m ago•0 comments

Running Gemma 4 26B at 5 tokens/SEC on a 13-year-old Xeon with no GPU

https://www.neomindlabs.com/2026/06/08/running-gemma-4-26b-at-5-tokens-sec-on-a-13-year-old-xeon-...
3•neomindryan•4m ago•0 comments

Android Phone Maker OnePlus to Cease Operations in US and Europe

https://www.bloomberg.com/news/articles/2026-07-15/oneplus-once-popular-with-tech-fans-to-pull-ou...
3•LaSombra•5m ago•0 comments

Ownership

https://registerspill.thorstenball.com/p/ownership
1•surprisetalk•6m ago•0 comments

Apply Claude Code on Screenwriting

https://untitled.movie
1•Meyborg•6m ago•1 comments

You have a strong password. Here's why your online accounts are still at risk

https://www.androidauthority.com/strong-password-not-enough-online-security-why-3686495/
1•Brajeshwar•9m ago•0 comments

Show HN: Zoable game. Solve it cheaply

https://zoable-game.com/?s=WDgdSiHyV67W_yEQTpWNUKB7HZF1xHI
1•damaru2•9m ago•0 comments

The Release of Crvja v2

https://blog.ptidej.net/the-release-of-crvja-v2/
1•sikandarejaz•9m ago•1 comments

Lobste.rs is now running on SQLite

https://lobste.rs/s/ko1ji1/lobste_rs_is_now_running_on_sqlite
2•ksec•11m ago•1 comments

George Lucas likens AI sceptics to luddites clinging to horses and carts

https://www.theguardian.com/film/2026/jul/15/george-lucas-likens-ai-sceptics-to-luddites-clinging...
3•bookofjoe•13m ago•0 comments

SendLang: A DSL for Email Automation

https://www.sendlang.com
4•ksajadi•14m ago•0 comments

Tools vs. Resources vs. Prompts: the MCP primitive you're misusing

https://prashamhtrivedi.in/mcp-primitive-youre-misusing/
1•speckx•19m ago•0 comments

AIs, a private notebook you search by your own tags

https://github.com/Anode1/ais
1•siberean•19m ago•0 comments

MentalHappy – a support group marketplace rebuilt by a solo founder using AI

https://www.mentalhappy.com/
1•MentalHappyInc•20m ago•0 comments

Generative AI Is an Engineering Disaster

https://www.theatlantic.com/technology/2026/07/generative-ai-engineering-disaster/687901/
3•poisonfountain•20m ago•1 comments

DEA to Temporarily Schedule 7-Oh and Related Substances to Protect Public Safety

https://www.dea.gov/press-releases/2026/07/01/dea-temporarily-schedule-7-oh-and-related-substance...
2•gnabgib•20m ago•0 comments

Valve Silently Discontinues Steam Deck LCD Spares at iFixit

https://www.techpowerup.com/350758/valve-silently-discontinues-steam-deck-lcd-spares-at-ifixit
4•nosecreek•21m ago•0 comments

I tested 11 AI detectors on my pre-ChatGPT writing and I'm as little as 5% human

https://originalseparation.substack.com/p/i-have-been-95-robotic-since-2019
4•BetterHalfAI•22m ago•0 comments

InviZible Pro – Android application for online privacy and security

https://github.com/Gedsh/InviZible
1•aniviacat•22m ago•1 comments

Museum of the Human Web

https://museum.parallel.ai/introduction?era=modern
1•ohjeez•23m ago•0 comments

OpenAI's first hardware device is reportedly a screenless speaker that can move

https://techcrunch.com/2026/07/14/openais-first-hardware-device-is-reportedly-a-screenless-speake...
1•Brajeshwar•23m ago•1 comments

Russ Tedrake launches Walden Robotics [video]

https://www.youtube.com/watch?v=fewvZrckA5c
1•raptortech•24m ago•0 comments

I built an app that checks if you're paying attention in boring meetings

https://play.google.com/store/apps/details?id=com.pelumi.focuspulse&hl=en_US
1•CatalystPz•24m ago•1 comments

Stanch – Dead man's switch that stops the bleeding when no one answers

https://github.com/getstanch/stanch
1•mboo2•27m ago•0 comments

Agent runtime reduces LLM turns by 80% with a higher success rate in DeepSWE

https://github.com/Tura-AI/tura
1•yohji1984•28m ago•1 comments

After Xbox layoffs, idSoftware says worker-owned studios "the only path forward"

https://www.gamesradar.com/games/after-incomprehensible-xbox-layoffs-id-software-producer-says-wo...
5•robtherobber•28m ago•0 comments

Florida student's historic 11.99 GPA triggers district policy overhaul

https://nypost.com/2026/07/14/us-news/florida-students-historic-11-99-gpa-triggers-district-polic...
1•nradov•30m ago•0 comments

The American E.V. Has Been Crushed. Will It Take the U.S. Auto Industry with It?

https://www.nytimes.com/2026/07/15/magazine/electric-cars-american-evs.html
2•ilamont•33m ago•0 comments