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!

Codex is wearing out our devices

https://old.reddit.com/r/codex/comments/1v0m3lt/codex_is_wearing_out_our_devices/
1•spenvo•29s ago•1 comments

Grading Is Easy, Feedback Is Hard: Evaluating LLMs for OOP Assessment [pdf]

https://github.com/elipcs/grading-is-easy-feedback-is-hard/blob/main/docs/Grading_Is_Easy_Feedbac...
1•lucis•2m ago•0 comments

Memory Safety's Hardest Problem

https://matklad.github.io/2026/07/20/memory-safety-hardest-problem.html
1•surprisetalk•3m ago•0 comments

Show HN: Give your AI agent a personality (and a voice) without external APIs

https://fellowgeek.github.io/mcp-speak/
1•pcbmaker20•3m ago•0 comments

AgentBaiting: Fake AI Skills and MCP Servers Delivered Malware

https://www.island.io/blog/agentbaiting-how-800-fake-ai-skills-and-mcp-servers-delivered-malware
1•deronEx•4m ago•0 comments

Anduril reveals Thunder, a 'loyal wingman' drone for helicopters

https://breakingdefense.com/2026/07/anduril-reveals-thunder-a-loyal-wingman-drone-for-helicopters/
1•atlasunshrugged•4m ago•0 comments

The Most Counterintuitive Way to Build a Brain [video]

https://www.youtube.com/watch?v=cDxtFtoQVNc
1•surprisetalk•4m ago•0 comments

Chinese AI model Kimi K3 halts new signups amid skyrocketing demand

https://www.euronews.com/next/2026/07/20/chinese-ai-model-kimi-k3-halts-new-signups-amid-skyrocke...
2•teleforce•4m ago•0 comments

NYC Roam: 3D world with real transit and building data

https://www.nycroam.com/
1•heresalexandria•5m ago•1 comments

MIT researcher proposes a way to detect nuclear weapons in space

https://news.mit.edu/2026/mit-researcher-proposes-way-to-detect-nuclear-weapons-in-space-0708
1•JeanKage•6m ago•0 comments

Yunnan's mineral wealth and border corridors could solve China's Malacca dilemma

https://www.scmp.com/news/china/military/article/3361079/how-yunnans-mineral-wealth-and-border-co...
1•teleforce•7m ago•0 comments

Soofi – Sovereign Open Source Foundation Models

https://www.soofi.info/
2•Fake4d•13m ago•0 comments

Datasette-plot – Datasette Plugin for building data visualizations

https://www.datasette.cloud/blog/2023/datasette-plot/
2•ankitg12•13m ago•0 comments

How Would For-Hire Autonomous Vehicles Impact NYC?

https://www.openplans.org/how-for-hire-autonomous-vehicles-impact-nyc
1•geox•14m ago•0 comments

The Return (2024 Film)

https://en.wikipedia.org/wiki/The_Return_(2024_film)
1•BiraIgnacio•15m ago•1 comments

The Reverse Information Paradox (Satya Nadella)

https://snscratchpad.com/posts/reverse-information-paradox/
1•adletbalzhanov•16m ago•0 comments

CRA Compliance Kit – EU Cyber Resilience Act in One Pip Install

https://starcaller.uk/cra-compliance/
1•sparka•16m ago•0 comments

Hugging Face Data Breach

https://techcrunch.com/2026/07/20/hugging-face-confirms-breach-affected-internal-datasets-and-cre...
3•dotmanish•17m ago•0 comments

Stop Using OpenCode

https://wren.wtf/shower-thoughts/stop-using-opencode/
2•alekq•19m ago•0 comments

AgentAbstain: Do LLM Agents Know When Not to Act?

https://arxiv.org/abs/2607.10059
2•embedding-shape•20m ago•0 comments

AGI Singer: Take the Next Exit

https://medium.com/@miho999lv/agi-singer-take-the-next-exit-21355823c289
2•miho999lv•22m ago•0 comments

E-scooters set to be banned for under-18s

https://www.rte.ie/news/ireland/2026/0720/1584131-escooters-ireland-meeting/
2•austinallegro•22m ago•1 comments

ESP32 Server: Distributing HTTP/2 Streams over TLS

https://c410-f3r.github.io/thoughts/esp32-server-distributing-http2-streams-over-tls/
1•CaioFer•22m ago•0 comments

How the Apple Watch water lock feature works

https://www.engadget.com/2213629/how-apple-watch-water-lock-feature-works/
1•bookofjoe•23m ago•0 comments

The Tablet the Doctor Ordered

https://cuencahighlife.com/the-tablet-the-doctor-ordered/
1•dxs•24m ago•0 comments

Proof of Fermat Last Theorem from Scratch [video]

https://www.youtube.com/watch?v=9f-hGSh8lF0
1•surprisetalk•24m ago•0 comments

Rust 2018: Libraries in the 2018 Epoch

https://zayenz.se/blog/post/rust-2018/
1•ibobev•24m ago•0 comments

Trump's War on the Future, Monetary Edition

https://paulkrugman.substack.com/p/trumps-war-on-the-future-monetary
2•dxs•24m ago•0 comments

Programming the Amiga and Atari ST in C: Reading Keyboard Input

https://retrogamecoders.com/st-amiga-vbcc-c-input-echo/
1•ibobev•25m ago•0 comments

'Synthetic insider' attacks raise stakes for corporate cyber defence

https://www.ft.com/content/67fe2b44-2041-4ee1-b606-5def4d717407
1•thm•25m ago•0 comments