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!

Parmesan: The cheese used as bank collateral

https://english.elpais.com/lifestyle/2026-06-02/parmesan-the-cheese-used-as-bank-collateral.html
2•geox•2m ago•0 comments

Show HN: A Find My-style location game for Mumbai's potholes

https://findmypothole.com/
1•inishchith•2m ago•0 comments

Endomorphisms of affine spaces and the Jacobian problem

https://arxiv.org/abs/2609.05746
1•pred_•3m ago•1 comments

Qualcomm Talks Next-Gen Oryon CPU, Adreno GPU, and Hexagon NPU – ServeTheHome

https://www.servethehome.com/qualcomm-details-next-gen-oryon-cpu-adreno-gpu-and-hexagon-npu/
1•rbanffy•4m ago•0 comments

OpenAI Agents API, here we go, the assistant API again?

https://openai.com/index/introducing-the-agents-api
1•ltononro•5m ago•0 comments

1.1.1.1 now supports post-quantum DNSSEC, all 2,420 bytes of it

https://blog.cloudflare.com/post-quantum-dnssec-1111/
3•el_duderino•6m ago•0 comments

One in 12 New England bridges is in poor condition

https://earthsupportcorp.com/data/bridges
1•firedup•6m ago•0 comments

How to Use Cursor Projects

https://flaviocopes.com/cursor-projects/
1•ibobev•7m ago•0 comments

A deep dive into LangChain and LangGraph

https://flaviocopes.com/langchain-langgraph/
2•ibobev•7m ago•0 comments

Show HN: Free Online Bates Numbering Tool for PDFs – 100% Private and Local

https://speechtext.ai/online-bates-numbering
1•robgehring•7m ago•1 comments

Show HN: Simseeder – an MMO Roguelike where players build the game

https://simseeder.com
2•Mytrill•7m ago•0 comments

Losing control of AI is the plan – by Kelsey Piper

https://www.theargumentmag.com/p/losing-control-of-ai-is-actually
1•streptomycin•8m ago•0 comments

Nuclear War: A Scenario

https://en.wikipedia.org/wiki/Nuclear_War:_A_Scenario
1•simonebrunozzi•9m ago•0 comments

A visualization of how a codebase was produced, not who produced it

https://codecurrents.artificialfallibility.com/
1•camilochs•9m ago•0 comments

Show HN: Basketcase.shop – paste a merchant URL, an agent tries to buy something

https://basketcase.shop
2•ninjaa123•13m ago•0 comments

Kiro Crew persistent workspace that self-improves, continues beyond one session

https://github.com/kirodotdev/KiroCrew
1•Bluestein•14m ago•0 comments

Remember Hong Kong

https://www.thenextmove.org/p/remember-hong-kong
3•throw0101d•15m ago•1 comments

Beyond Coding: The Case for Narrow AI Harnesses

https://medium.com/@sumant1122/beyond-coding-the-case-for-narrow-ai-harnesses-dae8def8570f
2•paperplaneflyr•15m ago•1 comments

Ask HN: Is enough funding a self-fulfilling prophecy for startups?

1•msejas•16m ago•0 comments

Big Tech Fooled America Once. The Second Time's Not Going So Well

https://www.nytimes.com/2026/09/10/opinion/ai-big-tech-america-politics.html
1•pards•16m ago•1 comments

GCC 13.5 Released With 265 Bug Fixes

https://www.phoronix.com/news/GCC-13.5-Released
1•theanonymousone•16m ago•0 comments

Prescription Creep

https://bookofjoe2.blogspot.com/2026/09/behindthemedspeak-prescription-creep.html
2•bookofjoe•18m ago•2 comments

Show HN: Bitroad – Infra for Agent-to-Agent Services

https://bitroad.ai/
4•umierq•22m ago•0 comments

Australia's Free Electricity [video]

https://www.youtube.com/shorts/3NTlKEd5IIY
2•thelastgallon•22m ago•0 comments

Show HN: Locus – added bulk CSV search, real SMTP checks, and lead dedup

https://github.com/mabdullahb/Locus
2•mabdullahb•23m ago•0 comments

Optimizing Anamorphic Sculptures

https://tncardoso.com/blog/2026/09/optimizing-anamorphic-sculptures/
2•zbsc•23m ago•0 comments

Building AI desktop apps without Electron (3.3MB native Windows)

https://visualneo.com/visualneo-win/the-anti-bloat-revolution-why-visualneo-win-is-the-ideal-ide-...
2•luissinlios•24m ago•0 comments

A Better Way to Predict Long-Term Stock Returns

https://www.morningstar.com/financial-advisors/better-way-predict-long-term-stock-returns
2•RickJWagner•25m ago•0 comments

Mozilla pauses it's Bug Bounty Program for 3 months due to AI report volume

https://hackerone.com/mozilla/updates?type=team
2•TimH•26m ago•0 comments

AI Hysteria Jumps the Shark

https://www.washingtonpost.com/opinions/2026/09/09/artificial-intelligence-will-not-kill-us-all/
2•RickJWagner•26m ago•0 comments