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!

Show HN: I built a simple web data extraction tool for founders and researchers

https://sensecollect.com
1•chrislxy•28s ago•0 comments

Supabase Series F

https://supabase.com/blog/supabase-series-f
1•rdrishabh312•53s ago•0 comments

Show HN: Hacker News Waterfall

https://trizuliak.com/experiments/hacker-news-waterfall
1•trizoza•56s ago•0 comments

A tool to find companies similar to your best customers

https://www.vincary.com/
1•bajero•1m ago•0 comments

White House urges UK not to ban social media for under-16s

https://www.theguardian.com/uk-news/2026/jun/09/white-house-urges-uk-not-ban-social-media-under-16s
1•piqufoh•3m ago•1 comments

Determinism Routine Online

https://sozialsoziokrat.substack.com/p/the-beta-is-over-the-universal-operating
1•Daniel_Bauer•15m ago•0 comments

Would a Submarine Work as a Spaceship? [video]

https://www.youtube.com/watch?v=EsUBRd1O2dU
1•doener•17m ago•0 comments

Izakaya Economics

https://www.theguardian.com/world/2026/jun/09/japan-traditional-izakaya-struggling-economic-hard-...
2•tosh•18m ago•0 comments

Growing Pains of Starting a Secret Society

https://mrmarket.bearblog.dev/growing-pains-of-starting-a-secret-society/
1•mrmarket•20m ago•0 comments

Eagle Computer: The rise and fall of an early PC clone

https://dfarq.homeip.net/eagle-computer-the-rise-and-fall-of-an-early-pc-clone/
4•giuliomagnifico•23m ago•0 comments

TokenTamer A proxy that reduces LLM token usage through context compression

https://github.com/borhen68/TokenTamer
1•borhensaidi•23m ago•0 comments

A Botched Master Thesis Proposal and Idea for a Decentralized VPN

https://blog.t1m.me/blog/designing-a-decentral-vpn-protocol-w-libp2p
1•rickcarlino•26m ago•0 comments

Ask HN: Thoughts on Siri AI?

2•akashwadhwani35•30m ago•0 comments

Cleaning up after AI rockstar developers

https://www.codingwithjesse.com/blog/rockstar-developers/
1•BrunoBernardino•31m ago•0 comments

Building a Smarter Crypto Market Maker with Avellaneda–Stoikov

https://medium.com/@DolphinDB_Inc/taming-inventory-risk-building-a-smarter-crypto-market-maker-wi...
4•dbaa4real•32m ago•2 comments

Understand your Team code generated by AI

https://archtocode.com/
1•grzelazny•34m ago•0 comments

The Simplest Learning Machine

https://medium.com/@VictorBanev/the-simplest-learning-machine-pt-2-e735367f546
1•xaedes•35m ago•0 comments

PingWatch uptime monitoring no server needed (alternativeto UptimeKuma)

https://pingwatch.org
1•pipka•37m ago•0 comments

React Compiler Rust Port

https://github.com/facebook/react/pull/36173
3•maelito•38m ago•0 comments

Safe Terraform auto-apply with conftest

https://www.bejarano.io/terraform-autoapply/
1•ricardbejarano•39m ago•0 comments

Data from 66,000+ musician practice sessions

https://old.reddit.com/r/piano/comments/1u0lyhe/data_from_66000_practice_sessions_how_much_does/
1•sebg•41m ago•0 comments

Show HN: SuperTree – interactive decision tree plot for sklearn,xgboost,lightgbm

https://github.com/mljar/supertree
2•pplonski86•47m ago•0 comments

How to Ditch Codecov for Python Projects

https://hynek.me/articles/ditch-codecov-python/
1•lumpa•50m ago•0 comments

Can a Lego Man Survive a Crash Test? – Invidious

https://inv.nadeko.net/watch?v=JTthuDn638U
1•frans•56m ago•0 comments

What if the GRAVITY suddenly switched off?

https://www.youtube.com/watch?v=dNWwIfjJXZY
2•Asheed•57m ago•0 comments

Htmx Is So Cool I Rolled My Own (2024)

https://dbushell.com/2024/04/16/htmx-and-modern-javascript/
2•birdculture•57m ago•0 comments

Real-Time Capital Flow Analysis Using Window Aggregation

https://medium.com/@DolphinDB_Inc/real-time-capital-flow-analysis-using-window-aggregation-57ba10...
2•Polly_Liu•59m ago•0 comments

Building and Backtesting a Dynamic Grid Trading Strategy for Crypto

https://medium.com/@DolphinDB_Inc/beyond-basic-grid-trading-building-and-backtesting-a-dynamic-st...
2•CrazyTomato•1h ago•0 comments

Palantir is turning the NHS into a tool for mass surveillance

https://www.opendemocracy.net/palantir-is-turning-the-nhs-into-a-tool-for-mass-surveillance/
5•robtherobber•1h ago•0 comments

Do you find yourself aimlessly scrolling? You're not alone

https://www.bbc.com/news/articles/czd2mq505dpo
2•01-_-•1h ago•0 comments