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!

Show HN: MetrIQ – An AI fitness coach who supports you

https://metriq.fitness
1•zinas•1m ago•0 comments

Le Crane: Analyzing Lithographs "Anamorphosis Suite" by Salvador Dalí

https://community.wolfram.com/groups/-/m/t/2701419
1•jruohonen•1m ago•0 comments

Going IndieWeb

https://www.roycehaynes.com/articles/going-indieweb/
1•roycehaynes•2m ago•0 comments

The Internet of AI

https://om.co/2026/05/04/say-hello-to-the-internet-of-ai/
1•simonpure•8m ago•0 comments

Cosmos 3 Edge

https://huggingface.co/blog/nvidia/cosmos3edge
2•gmays•9m ago•0 comments

Evolution as Fact and Theory

https://en.wikipedia.org/wiki/Evolution_as_fact_and_theory
2•chistev•10m ago•0 comments

Simulating the core pulse in Helion's Trenta

https://twitter.com/i/status/2082005900806783425
1•abhinavsns•10m ago•0 comments

Malware Problem

https://crookedtimber.org/2026/07/29/malware-problem/
1•jruohonen•11m ago•0 comments

Node.js now supports require(esm); React should consider a pure ESM build next

https://github.com/react/react/issues/37091
1•narukeu•14m ago•0 comments

Elon Musk's company sues MN over law to bar manipulated images to fake nudity

https://www.mprnews.org/story/2026/07/28/elon-musks-company-x-ai-sues-minnesota-over-new-law-to-b...
1•jrflowers•17m ago•0 comments

Hister: Your Own Search Engine

https://github.com/asciimoo/hister
1•thunderbong•17m ago•0 comments

Our Approach to Responsible Agentic Development in Open Source

https://www.puppet.com/blog/ai-open-source
1•mooreds•19m ago•0 comments

Starling – a Linux desktop environment made with Swift

https://starling.build/
1•whalesalad•21m ago•0 comments

Show HN: I spent 3 years building the CRM I wanted to use

https://ninjapipe.com
1•dinuka_jay•21m ago•0 comments

Elon Musk's xAI sues Minnesota over law to ban 'nudify' apps

https://www.cnbc.com/2026/07/28/spacexs-xai-sues-minnesota-over-law-to-ban-nudify-apps-.html
2•coffepot77•24m ago•0 comments

Bugs That Broke Driving

https://blog.comma.ai/driving-bugs/
1•LorenDB•25m ago•0 comments

GitHub Copilot app for Beginners: Getting started

https://github.blog/ai-and-ml/github-copilot/github-copilot-app-for-beginners-getting-started/
1•smokeeaasd•27m ago•0 comments

1994: Are You Ready for the Internet?

https://www.youtube.com/watch?v=XpZ5STahhPE
2•chistev•27m ago•0 comments

Reading the tea leaves: 2026 predictions

https://artificialconfidence.com/p/reading-the-tea-leaves-2026-predictions
2•mooreds•29m ago•0 comments

You don't have to be smart if you can think clearly

https://www.seangoedecke.com/you-dont-have-to-be-smart-if-you-think-clearly/
5•meetpateltech•38m ago•0 comments

GrapheneOS Statement on Hidden Profiles

https://xcancel.com/GrapheneOS/status/2082153517234676150#m
3•Cider9986•38m ago•0 comments

GCC AI Policy

https://gcc.gnu.org/pipermail/gcc/2026-July/248628.html
5•edelsohn•43m ago•1 comments

Steve Jobs emails himself (2010)

https://twitter.com/TechEmails/status/1567712985979707393
2•downbad_•51m ago•0 comments

Does every question mark deserve a Betteridge?

https://dynomight.net/betteridge/
5•zdw•51m ago•4 comments

The Best Debugging Story I've Ever Heard (2010)

https://patrickthomson.tumblr.com/post/2499755681/the-best-debugging-story-ive-ever-heard
2•downbad_•51m ago•0 comments

Ailments: A field guide to potential Al-induced cognitive-behavioural disorders

https://informationisbeautiful.net/visualizations/ai-induced-mental-disorders-ai-mental-health-gl...
2•zdw•53m ago•0 comments

Hooray for the Sockets Interface

https://blog.apnic.net/2026/07/28/hooray-for-the-sockets-interface/
5•jruohonen•55m ago•3 comments

The BBC Tetris Companion

https://www.leadedsolder.com/2026/07/28/bbc-bridge-companion-part-1-overview.html
2•zdw•56m ago•0 comments

SpaceXAI sues Minnesota AG over ban on nudifying apps

https://gizmodo.com/grok-creator-spacexai-sues-minnesota-ag-to-stop-ban-on-nudification-2000792143
8•pseudosavant•57m ago•0 comments

Show HN: Lean4 Datalog DSL Based on Google Zanzibar for AI Projects

https://github.com/jagg-ix/zil-lean
3•kbradero•59m ago•0 comments