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!

LLM Pareto Frontier over time [video]

https://www.youtube.com/watch?v=I01v36VIrno
1•ponyous•1m ago•1 comments

Stop Reaching for WebSockets by Default: WebSockets vs. SSE vs. Long Polling

https://medium.com/@anirbansingha20/websockets-vs-long-polling-vs-server-sent-events-fa9bc1644cb8
1•birdculture•12m ago•0 comments

Show HN: Free LED pixel-pitch and display-size calculators (open source)

https://boardsy.co.uk/free-exhibition-display-tools/
2•Boardsy•15m ago•0 comments

Supreme Court: 401(k) case over private funds and underperformance

https://www.cnbc.com/2026/10/10/supreme-court-case-401k-private-funds-intel.html
1•cramer4next•18m ago•0 comments

Pulp Cover Treatments of Classic Works of Literature

https://lithub.com/50-pulp-cover-treatments-of-classic-works-of-literature/
3•ohjeez•18m ago•0 comments

Veda: The First Agentic Hobby Operating System

https://github.com/vahmoh25/Veda
2•vahmohh•19m ago•0 comments

Microsoft Launches Surface Laptop Ultra, Surface RTX Spark Dev Box

https://www.servethehome.com/microsoft-launches-surface-laptop-ultra-surface-rtx-spark-dev-box/
1•teleforce•21m ago•0 comments

Ask HN: Why aren't Americans rising up against tipping?

2•bjourne•22m ago•0 comments

'We cannot accept foxes in our landscape': the plan to save Australia's wildlife

https://www.theguardian.com/australia-news/2026/oct/11/fox-australia-threatened-native-species-wi...
1•cisc•24m ago•0 comments

A minimal Rust TUI for managing GitHub repos and branches

https://github.com/jorgeandrecastro/github-workflow
2•drew0670•25m ago•0 comments

The 'black box' wastewater trade that rakes in millions for UK utility companies

https://www.theguardian.com/environment/2026/oct/09/uk-water-companies-industrial-commercial-wast...
3•cisc•29m ago•0 comments

Autonomous Delivery Skill

https://gist.github.com/EvanBoyle/8c1a97f682d92dab8c09d0e1ea73f4a0
2•gfortaine•33m ago•0 comments

Anthropic Bans Cruelty to Claude, Still Won't Say What It Protects

https://rews.cc/a/anthropic-bans-cruelty-to-claude-still-won-t-say-what-it-pro-bd99f6
25•ojosilva•34m ago•31 comments

Will We Ever Understand Dementia?

https://www.nytimes.com/2026/10/10/science/will-we-ever-understand-dementia.html
2•bookofjoe•34m ago•1 comments

Show HN: ISA Workbench – Classify and explore binaries in the browser

https://zr.ax/
5•19h•34m ago•0 comments

Microsoft CEO Nadella Calls for 'Emergency Brake' on Advanced AI

https://www.bloomberg.com/news/articles/2026-10-10/microsoft-ceo-nadella-calls-for-emergency-brak...
5•sbulaev•35m ago•0 comments

Show HN: TruthBeacon – Open-source Discord moderation app in Tauri and Rust

https://github.com/boredpolymath/truth-beacon
2•boredpolymath•45m ago•0 comments

Personal agents are not aligned with consumer long-term interests

https://twitter.com/BrendanFalk/status/2109068824293351774
2•brendanfalk•52m ago•0 comments

Vision for New Autonomous Warfare Command Laid Out by Pentagon

https://www.twz.com/news-features/vision-for-new-autonomous-warfare-command-laid-out-by-pentagon
4•cisc•53m ago•0 comments

How to Recover Your Yahoo! Groups from the Internet Archive (2021)

https://datahorde.org/how-to-recover-your-yahoo-groups-from-the-internet-archive/
1•turtleyacht•56m ago•0 comments

Show HN: Dewey: a connectome-driven fruit fly for your macOS menu bar

https://github.com/JorenSix/Dewey
2•joren-•57m ago•0 comments

This Website Is Now Made in Swift

https://sindresorhus.com/blog/swift-website
2•ingve•1h ago•0 comments

Eye Cells May Have Been Rejuvenated for the First Time in People

https://time.com/article/2026/10/08/eye-cells-rejuvenated-for-the-first-time-in-people/
3•davidrjones1977•1h ago•1 comments

Show HN: Aporium – A UMAP galaxy of 5800 philosophy excerpts in conversation

https://www.aporium.app/explore
2•kevinjacobh•1h ago•0 comments

Silicon Valley's Dream City Has Crashed into Small-Town Politics

https://www.wsj.com/us-news/silicon-valleys-dream-city-has-crashed-into-small-town-politics-4521d1bd
3•Anon84•1h ago•0 comments

Ask HN: Would you support a law banning filming people in public?

3•dfps•1h ago•3 comments

Ask HN: Built a benchmark? Would love to learn

2•ramstar3000•1h ago•0 comments

FrameLab – FPS calculator for PC games, checked against real hardware runs

https://framelab-fps.com/uk
1•BMatiashchuk•1h ago•0 comments

Genius or Mid Life Crisis Lol

https://www.reddit.com/r/founder/comments/1x25aws/genius_or_midlife_crisis/
1•jimmyshoez•1h ago•0 comments

Two Kings of New York: Visualizing the Careers of Jay-Z and Nas

https://streettaichi.com/pages/kings-of-new-york
3•laybak•1h ago•0 comments