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!

Alarm over launch of facial recognition in UK shops that instantly alerts police

https://www.theguardian.com/technology/2026/jul/10/facewatch-facial-recognition-uk-shops-instantl...
1•baranul•46s ago•0 comments

Show HN: A Trust Index for MCP Servers

https://index.canopii.dev
1•mavzer•2m ago•0 comments

Welcome to the Free Republic of Liberland, powered by the blockchain

https://liberland.org/
1•dxs•2m ago•0 comments

SF judge OKs lawsuit against United over windowless window seats

https://www.sfgate.com/travel/article/sf-lawsuit-united-windows-22339061.php
1•lisper•2m ago•0 comments

Show HN: Slack2PR – Automating the software dev lifecycle from Slack [video]

https://www.youtube.com/watch?v=2Ex3OkX-Eh8
1•medmarrouchi•3m ago•0 comments

I Analyzed 28k+ Randomized ALttP ROMs So You Don't Have To

https://blog.ty-porter.dev/development/video%20games/data%20analytics/2026/07/10/analyzing-alttpr...
1•pawptart•4m ago•0 comments

AI fiction is easy to detect because it's stupid and bad, research finds

https://www.404media.co/ai-fiction-is-easy-to-detect-because-its-stupid-and-bad-research-finds/
1•theanonymousone•5m ago•0 comments

Ransomware negotiator hired to represent victims was working for the attackers

https://arstechnica.com/tech-policy/2026/07/ransomware-negotiator-helped-attackers-extort-his-own...
1•logickkk1•5m ago•0 comments

Physical AI scale up chemistry startup gaining traction at Big Pharma

https://skydeckconnect.com/telescope-innovations-telif
1•hairoglyphics•5m ago•0 comments

AI 2027

https://ai-2027.com/
1•baalimago•5m ago•0 comments

So I am building my own web search engine

https://puri.li
1•skillplayed•6m ago•1 comments

How dementia is being defeated

http://economist.com/briefing/2026/07/09/how-dementia-is-being-defeated
1•marojejian•9m ago•1 comments

Crimson Editor Resurrected

https://github.com/igkang00/CrimsonEditor
1•ronhandler•9m ago•0 comments

Help Us Save MeshCore

https://blog.meshcore.io/2026/07/04/help-us-save-meshcore
1•austinallegro•10m ago•0 comments

Controversial Programming Opinions (2012)

https://programmers.blogoverflow.com/2012/08/20-controversial-programming-opinions/
1•tosh•12m ago•0 comments

Blame the Plumbing: Why Intel Handles USB Onboard Audio Codecs Better Than AMD

https://www.techpowerup.com/350635/blame-the-plumbing-why-intel-handles-usb-onboard-audio-codecs-...
1•akyuu•12m ago•0 comments

Microsoft loses Brazilian case after telling hacked user to re-purchase games

https://www.tomshardware.com/video-games/xbox/brazilian-court-orders-microsoft-to-restore-a-gamer...
1•Qem•16m ago•0 comments

Leaf Computing

https://leafcomputing.net/
2•_____k•18m ago•0 comments

Svelte-effect-runtime: natively run Effect inside Svelte

https://barekey.dev/docs/ser/introduction
2•sandersonstabo•19m ago•0 comments

What Every Python Developer Should Know About the CPython ABI

https://labs.quansight.org/blog/python-abi-abi3t
1•matt_d•19m ago•0 comments

Face Value – A YouTube de-clickbaiter with transcript context

https://www.facethevalue.com/
3•victor805•20m ago•0 comments

Permacomputing 101 [video]

https://www.youtube.com/watch?v=BNYxAdjl1f0
1•tosh•20m ago•0 comments

A no-brainer for protecting your brain

https://www.economist.com/leaders/2026/07/09/a-no-brainer-for-protecting-your-brain
1•Anon84•21m ago•0 comments

Show HN: I built a digital game master screen

https://overseer.studio
1•nullfish•25m ago•0 comments

Debugging Performance Regressions

https://hpc.guix.info/blog/2026/07/debugging-performance-regressions/
2•pranitha_m•27m ago•0 comments

Grade Down of Grade Up (2023)

https://www.toolofthought.com/posts/grade-up-of-grade-down
2•tosh•27m ago•0 comments

Arrugaste

https://matias-morant.notion.site/Arrugaste-39a490d8dd258005bbb0c90de1ebaf47?source=copy_link
1•wvlia5•27m ago•1 comments

Gabriel Naudé (1600 – 1653)

https://grok.com/share/c2hhcmQtMw_ad049232-6bce-4e02-a031-0d708fadadf3
1•__patchbit__•27m ago•0 comments

Legionnaires' Disease Outbreak on the Upper East Side of Manhattan

https://www.nyc.gov/site/doh/health/health-topics/legionnaires-disease.page
4•iron_albatross•31m ago•0 comments

Fuck Work (2016)

https://aeon.co/essays/what-if-jobs-are-not-the-solution-but-the-problem
2•pseudolus•32m ago•0 comments