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!

Glibc Introduces /etc/tunables.conf For System-Wide Tunables

https://www.phoronix.com/news/Glibc-System-Tunables
1•Bender•23s ago•0 comments

Wgpu v30

https://github.com/gfx-rs/wgpu/releases/tag/v30.0.0
1•bloky•31s ago•0 comments

The Safari MCP server for web developers

https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/
1•pascoej•46s ago•0 comments

Stop sign

https://en.wikipedia.org/wiki/Stop_sign
1•thecosas•1m ago•0 comments

Ask Hacker News: mute notifications while driving

1•alpple•1m ago•0 comments

Lake Powell Water Critically Low

https://cowboystatedaily.com/2026/07/01/as-lake-powell-nears-dead-pool-wyoming-cities-and-industr...
1•Bender•2m ago•1 comments

Japan has 41% of the 100-year companies – secrets of 1,447-year survival

https://www.j-times.org/en/media/articles/japan-shinise-1400-years-2026/
2•indynz•6m ago•0 comments

The Writers Who Wrote the Most in History

https://brennan.day/compulsion-the-writers-who-wrote-the-most-in-history/
2•bookofjoe•6m ago•0 comments

Measure Agent/Bot/Crawler visits on your website, Connect in 5 mins,Shopify

https://www.tryrankly.com/features/agent-analytics
1•rankly_admin•7m ago•1 comments

No one is using my vibe hosting:(

https://medium.com/@LadaHrbacek/no-one-is-using-my-vibe-hosting-ada3fe22462c
1•ladahrbacek•7m ago•0 comments

Email marketing reporting still takes 1–2 days a week for most teams

https://emailcalculator.com/auth/trial
1•emailcalculator•13m ago•1 comments

Groundbreaking Ceremony for India Development Centre (IDC) Campus in Noida

https://news.microsoft.com/en-in/groundbreaking-ceremony-for-india-development-centre-idc-campus-...
1•__natty__•14m ago•1 comments

Show HN: Zukr – offline OCR that flags hidden sugar names on food labels

https://zukr.app/
1•peshrus•14m ago•0 comments

Software Security Analysis in 2030 and Beyond: A Research Roadmap

https://dl.acm.org/doi/10.1145/3708533
2•matt_d•15m ago•0 comments

VeriCache: Turning Lossy KV Cache into Lossless LLM Inference

https://arxiv.org/abs/2605.17613
1•matt_d•16m ago•0 comments

I Left Harry's All-Night Hamburgers

https://escapepod.org/2013/09/14/ep413-why-i-left-harrys-all-night-hamburgers/
3•rbanffy•16m ago•1 comments

House Rules Committee blocks Massie-Khanna amendment to cut Israel aid

https://www.washingtonexaminer.com/policy/foreign-policy/4631610/massie-khanna-amendment-israel-aid/
3•lorecore•18m ago•1 comments

Letta Agent – Personalized Agent That Remembers and Learns

https://www.letta.com/agent/
1•DannyPage•20m ago•0 comments

Context on Context

https://davidmanheim.substack.com/p/context-on-context
1•cmeinel•21m ago•0 comments

Show HN: Intellisense style autocompletions inside of Bash

https://github.com/HalFrgrd/flyline
1•hazkoulia•21m ago•0 comments

Neural Render Proxies for Interactive and Differentiable Lighting

https://studios.disneyresearch.com/2026/07/01/neural-render-proxies-for-interactive-and-different...
1•tobr•22m ago•0 comments

Show HN: Phixo – explains why an email in Gmail/Outlook is phishing

https://chromewebstore.google.com/detail/phixo-—-ai-phishing-prote/diakennfllmgdpepgghjjcompjcp...
1•tech_builds•22m ago•0 comments

Show HN: OpenCan – Open-source, self-hostable Canny alternative (AGPL-3.0)

https://OpenCan.dev
1•sriramgopalan•25m ago•0 comments

Old Reddit Now Requires Login

7•jay_kyburz•25m ago•3 comments

T-Mobile appears to be quitting VMware

https://www.theregister.com/virtualization/2026/07/01/t-mobile-appears-to-be-quitting-vmware-and-...
1•Bender•26m ago•2 comments

AuditBadger: Agentic SoC 2 and ISO 27001 Compliance

https://auditbadger.com/
1•handfuloflight•26m ago•0 comments

An artificial cell with a full lifecycle has been created for the first time

https://www.theregister.com/science/2026/07/01/an-artificial-cell-with-a-full-lifecycle-has-been-...
1•Bender•27m ago•0 comments

React Testing Questions That Trip Up Engineers

https://howtotestfrontend.com/resources/react-testing-interview-questions
1•howToTestFE•27m ago•0 comments

Trump filing shows he took in $1.2B from crypto businesses last year

https://apnews.com/article/trump-financial-disclosure-crypto-060c15062b8fedc6104159ea13775463
2•dole•27m ago•1 comments

Can an AI Become a Bodhisattva? Reviewing Deep Calls by Julia Kurnia

https://buddhistfictionblog.wordpress.com/2026/06/30/can-an-ai-become-a-bodhisattva-reviewing-dee...
1•jkurnia•27m ago•0 comments