frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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: Phantom Chat – iOS messenger with NIST post-quantum encryption (PQXDH)

https://testflight.apple.com/join/rmSrMch9
1•VeilusDigital•26s ago•0 comments

Velotric Flight Kit

https://www.velotricbike.com/pages/velotric-flight-kit
1•foo12bar•39s ago•0 comments

He Quit Baidu. But First He Had to Build an AI Version of Himself

https://www.sixthtone.com/news/1018594
1•circadian•1m ago•0 comments

Where does the race to automate AI research end?

https://www.lesswrong.com/posts/gkbet5Gp7eoAE9bjY/where-does-the-race-to-automate-ai-research-end
1•joozio•2m ago•0 comments

Rehumanizing global health care with agentic AI

https://www.technologyreview.com/2026/06/02/1137827/rehumanizing-global-health-care-with-agentic-ai/
1•joozio•5m ago•0 comments

Nvidia RTX Spark

https://nvidianews.nvidia.com/news/nvidia-microsoft-windows-pcs-agents-rtx-spark
2•IblankI•15m ago•1 comments

XML and JSON in 2026

https://www.tbray.org/ongoing/When/202x/2026/06/01/XML-and-JSON-in-2026
1•mpweiher•20m ago•0 comments

$TLDC – Too Long; Didn't Code

https://cdbnk.github.io/tldc/
1•4k0hz•23m ago•0 comments

Greatest Bird Names of All Time

https://birdhistory.substack.com/p/the-100-greatest-bird-names-of-all
2•scylurus•24m ago•0 comments

UK media groups given power to opt out of Google AI search summaries

https://www.theguardian.com/business/2026/jun/03/uk-media-groups-power-opt-out-google-ai-search-s...
2•berlianta•29m ago•0 comments

Drones, spider cams and AI will bring World Cup 2026 to your TV

https://www.rte.ie/brainstorm/2026/0602/1575716-world-cup-2026-broadcasting-technology-spider-cam...
1•austinallegro•32m ago•1 comments

An MCP tool that lets ChatGPT check if a store is AI-readable

https://www.bridgetoagent.com/api/mcp
1•AI-agent-rdy•33m ago•0 comments

Leiden Declaration on Artificial Intelligence and Mathematics

https://leidendeclaration.ai/
2•zvr•33m ago•0 comments

Slim Binaries (1997)

https://dl.acm.org/doi/10.1145/265563.265576
1•tosh•35m ago•0 comments

A harness for every task: dynamic workflows in Claude Code

https://twitter.com/trq212/status/2061907337154367865
1•pretext•36m ago•0 comments

Nvidia Vera–The CPU for Agents [video]

https://www.youtube.com/watch?v=vLfrBembjsk
1•pretext•38m ago•1 comments

Can we trust AI to build a better version of itself?

https://www.ft.com/content/7cc7800f-18ed-47d8-9539-221ae3e16182
1•merksittich•38m ago•0 comments

open-spdd: Design Philosophy

https://github.com/gszhangwei/open-spdd/blob/main/docs/design-philosophy.md
2•pramodbiligiri•39m ago•0 comments

The Rubik's Contraption

https://robot-daycare.com/posts/2018-03-07-the-rubik-s-contraption/
1•prakashqwerty•39m ago•0 comments

Clothing, not air conditioning, should be 1st layer of response to extreme heat

https://indianexpress.com/article/opinion/columns/heat-wave-air-conditioning-extreme-heat-zomato-...
2•rustoo•40m ago•0 comments

High growth startups are full contact sports

https://iamandrespalacios.substack.com/p/high-growth-startups-are-full-contact
1•andres-palacios•41m ago•0 comments

I spent $2k.' Is Dreams of Violets AI slop – or the future of film-making?

https://www.theguardian.com/film/2026/jun/03/dreams-of-violets-ash-koosha-iran-tribeca-film-festival
1•beardyw•48m ago•0 comments

The Biggest Tell That Something Was Written by AI

https://www.theatlantic.com/technology/2026/05/how-to-tell-ai-writing/687345/
2•pretext•52m ago•0 comments

Open Code Review

https://shaping.systems/blog/open-code-review/
1•Ganipote•54m ago•0 comments

The Book of the Subgenius

https://www.vagobond.com/the-book-of-the-subgenius/
2•ZguideZ•1h ago•1 comments

The AI Agent Era Is Here

https://anci.app/ezine/2026/05_AI_Edge_For_Leaders_Flipbook_May_ANCI.html
1•rajl•1h ago•0 comments

Microsoft Doubles Down on Controversial Quantum Computing Claims

https://www.science.org/content/article/doubling-down-controversial-claims-microsoft-accelerates-...
6•igortru•1h ago•0 comments

The Claude Agent SDK Settings That Matter in Production

https://daydr3am3rz.substack.com/p/the-claude-agent-sdk-settings-that
2•_day_dr3am3r_•1h ago•1 comments

Missing worker at Los Alamos National Laboratory found dead in remote forest

https://www.latimes.com/world-nation/story/2026-06-02/missing-worker-at-high-security-lab-in-n-m-...
4•sizzle•1h ago•0 comments

An open-source, browser-based E-ink planner builder

https://planner.mycompassconsulting.com/
1•DoItForTheXP•1h ago•0 comments