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!

Ask HN: When will ChatGPT Voice be able to control my phone?

1•spapas82•5m ago•0 comments

A daily estimation game where the crowd's answer fights an AI

1•holdthelineworl•6m ago•0 comments

The time filter in Google Search broke a few days ago

https://mastodon.online/@mwichary/117023736804129342
1•latexr•6m ago•0 comments

AGI Singer: Buddy, I Need an AGI Handover Framework

https://medium.com/@miho999lv/agi-singer-buddy-i-need-an-agi-handover-framework-7253cafb220e
1•miho999lv•10m ago•0 comments

EU Icons for labelling AI-generated content – Shaping Europe's digital future

https://digital-strategy.ec.europa.eu/en/policies/eu-icons-labelling-ai-generated-content
2•robert-boehnke•16m ago•0 comments

Belladonna of Sadness (1973)

https://www.imdb.com/title/tt0071203
2•aljgz•19m ago•1 comments

Tesla Spyware

https://ma.tt/2026/07/tesla-spyware/
2•ms7892•19m ago•0 comments

Don't replicate data over webhooks. SCROLL

https://welidev.github.io/scroll/
1•weli•19m ago•1 comments

POV: An AI replaced your job this morning [video]

https://www.youtube.com/watch?v=k35i0o-b8sI
1•Animats•25m ago•1 comments

The Claude Code plugin marketplace has no price field

https://www.promptreceipts.com/blog/claude-code-plugin-marketplace-no-price-2026
1•pwsj•26m ago•0 comments

What Happens When Frustrated Machines Talk to Each Other?

https://medium.com/towards-artificial-intelligence/what-happens-when-frustrated-machines-talk-to-...
1•dexmac221•27m ago•0 comments

Running a 35B LLM at 128K Context, Full Speed, on €870 of Used Hardware

https://medium.com/ai-advances/running-a-35b-llm-at-128k-context-full-speed-on-870-of-used-hardwa...
1•dexmac221•28m ago•0 comments

Adima AI: The Future of AI Enhancement

https://www.aiimageupscale.com/ai-image-upscaler-pc
1•JuekMorningstar•29m ago•0 comments

Every new UK home should have air conditioning, say Liberal Democrats

https://www.theguardian.com/environment/2026/jul/26/every-new-home-should-have-air-conditioning-s...
1•edward•30m ago•1 comments

Ginger hair portraits show unexpected 'golden thread' connecting Americans

https://www.bbc.co.uk/news/articles/ce97nyz4rvmo
1•mellosouls•30m ago•0 comments

The Apple Network Server's all-too-secret weapon (featuring PPC Toolbox)

http://oldvcr.blogspot.com/2023/11/the-apple-network-servers-all-too.html
1•rbanffy•34m ago•0 comments

MCP and A2A are not solving one crucial challenge in the post-AGI world – Trust

https://github.com/mindify-ai/VACT-P
1•markchennext-al•45m ago•0 comments

Multiplayer AI Infrastructure

https://github.com/Abloatai/docs
2•luckymonkybaby•47m ago•0 comments

Apple struggles to keep pace with AI 'bug' hunters

https://www.ft.com/content/4532122d-90f2-4433-9df6-ca99d8a141d2
2•sbulaev•48m ago•0 comments

Koalas are the only non-primates with fingerprints

https://www.pbs.org/wgbh/nova/article/koala-fingerprints/?hl=en-US
1•noduerme•50m ago•0 comments

Show HN: Aevros .... A kernel that explains itself

https://github.com/Mobeen0119/Aevros
1•Mobeen0119•52m ago•0 comments

The Great Attack: Survivors' Tales

https://athena.westpoint.edu/items/0b0a7046-90f8-48ef-8b73-429b6536cbd4
1•AFF87•53m ago•0 comments

Cyberscript

https://cyberscript.dev
3•dtj1123•57m ago•0 comments

How to search documents we can't read – Confer Blog

https://confer.to/blog/2026/08/private-ai-document-search/
1•DavideNL•57m ago•0 comments

Nerd culture is murdering intellectuals

https://www.theintrinsicperspective.com/p/nerd-culture-is-murdering-intellectuals
16•mockerell•57m ago•16 comments

Show HN: I built a personal CRM that lives inside Apple's Contacts app

https://www.persodex.com
2•poolie•1h ago•0 comments

Show HN: TamedTable, AI ETL in Natural Language

https://www.tamedtable.com/
2•ZeljkoS•1h ago•2 comments

A deep dive into Nvidia's Vera CPU and the Olympus cores that power it

https://www.theregister.com/systems/2026/08/01/nvidias-vera-cpu-and-the-olympus-cores-that-power-...
1•u1hcw9nx•1h ago•0 comments

What if we learned languages like we acquired our first?

3•Salim_wariz•1h ago•4 comments

Mathematics Without Mathematicians

https://borretti.me/article/mathematics-without-mathematicians
5•varjag•1h ago•0 comments