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!

Choose Cookies Once Law (State of Utopia's 2nd Law)

https://stateofutopia.com/laws/2/law2.html
1•logicallee•1m ago•1 comments

Redesigning DuckDB's Sort, Again (2025)

https://duckdb.org/2025/09/24/sorting-again
1•tosh•2m ago•0 comments

Show HN: Gorchestra – resume local AI coding sessions from your phone

https://github.com/jgennari/gorchestra
1•cybrjoe•2m ago•0 comments

Swiss parliament lifts ban on new nuclear power plants

https://www.bluewin.ch/en/news/switzerland/parliament-lifts-ban-on-new-nuclear-power-plants-32575...
1•leonidasrup•4m ago•1 comments

Show HN: Gerrymandle - Daily puzzle game where you redraw electoral districts

https://gerrymandle.cc/
1•realmofthemad•4m ago•0 comments

Fable 5 pushed Gemma 4 to 255 tok/s on WebGPU

https://xcancel.com/xenovacom/status/2067289897111638484
2•kirubakaran•6m ago•0 comments

I built a local SQLite viewer/editor with export and charts

https://github.com/oliverjessner/sqlite-hub
2•oliverjessner•7m ago•0 comments

Ads Evading Pi-hole with iOS 27

https://www.symphonious.net/2026/06/18/ads-evading-pi-hole-with-ios-27/
3•real_joschi•7m ago•0 comments

Show HN: Zedmail – transactional email API outside US jurisdiction (CASL/GDPR)

https://zedmail.io
2•amordecosmos•8m ago•0 comments

Converting Books into Visual Novels

https://github.com/JohnQPulp/PublicDomainPulp
2•JohnQPulp•12m ago•0 comments

The search for dark matter has been blown wide open

https://www.technologyreview.com/2026/06/18/1138755/search-for-dark-matter-blown-wide-open/
2•Brajeshwar•12m ago•0 comments

Poggle: Helping Engineering Teams Ship Better Software, Faster

https://www.poggle.ai/
3•Ghostcrawl3r•13m ago•0 comments

Show HN: Mantyx – Managed Agent Runtime

https://mantyx.io/
2•mantyx•14m ago•0 comments

I almost got hit by a car

https://manualdousuario.net/en/almost-hit-by-a-car/
2•rpgbr•16m ago•0 comments

When are TLS certificates renewed, and how often after expiration?

https://certobserver.com/blog/renewal-analysis
2•rellem•20m ago•0 comments

Show HN: Sudoku Word Search," hidden words required to solve letter-sudoku

https://www.sudokuwordsearch.com/
2•bahbahbahbah•20m ago•0 comments

clawmark: open-source CLAUDE.md A/B Testing CLI tool

https://github.com/emiliolugo/clawmark
2•emiliolugo•21m ago•1 comments

Ask HN: Best resources for learning how to build a forum back end?

2•jupr•22m ago•1 comments

Bulgaria Licensed Surveillance Exports to Rights Violators

https://www.hrw.org/news/2026/06/18/bulgaria-licensed-surveillance-exports-to-rights-violators
3•aa_is_op•22m ago•0 comments

Deegen: A JIT-Capable VM Generator for Dynamic Languages [pdf]

https://fredrikbk.com/publications/deegen.pdf
2•gjvc•23m ago•0 comments

The Sword Juggling Fallacy

https://hugotunius.se/2026/06/15/the-sword-juggling-fallacy.html
2•speckx•26m ago•0 comments

Memanto; open-source memory agent that remembers, recalls and answers

https://github.com/moorcheh-ai/memanto
6•majidfekri•26m ago•4 comments

Windows and Linux users: The deadline to update Secure Boot keys is near

https://arstechnica.com/security/2026/06/windows-and-linux-users-the-deadline-to-update-secure-bo...
3•everybodyknows•27m ago•0 comments

Ask HN: How do you decide what goes in a changelog vs. internal notes?

2•beratbozkurt0•27m ago•0 comments

Show HN: Cost-Xray – per-token cost attribution, by tool, skill, prompt and more

https://github.com/tigerless-labs/cost-xray
2•ruihanli•28m ago•0 comments

Social media menagement tool with API for AI agents

https://schedpilot.com/
2•schedpilot•29m ago•1 comments

Geriatric butterfly species lives nearly three times as long as their relatives

https://phys.org/news/2026-06-geriatric-butterfly-species.html
3•gmays•29m ago•0 comments

"The Age of the Car Is Over": Fewer and Fewer Private Cars in Berlin

https://www.morgenpost.de/berlin/article412306798/die-zeit-des-autos-ist-vorbei-berlin-bei-autobe...
5•doener•30m ago•2 comments

New VPN rules for UK households on table from July after government update

https://www.birminghammail.co.uk/news/midlands-news/new-vpn-rules-uk-households-34129495
2•rzk•31m ago•0 comments

Ask HN: Whats the best and small open source model?

2•hairymouse•31m ago•0 comments