frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

I built an easy to manage, sharable personal memory for my AI agents

https://ai.actingweb.io
1•gregertw•15s ago•1 comments

Show HN: Shiftpaper – native parallax wallpaper engine for Wayland

https://github.com/CPritch/shiftpaper
1•PxldLtd•16s ago•0 comments

An ICE Firearms Trainer Was Involved in at Least 4 Deadly Shootings

https://www.wired.com/story/an-ice-firearms-trainer-was-involved-in-at-least-4-deadly-shootings/
1•joozio•1m ago•0 comments

Am I part of the luckiest generation in history?

https://www.bbc.co.uk/news/articles/cj6pyk7e3w4o
1•mmarian•2m ago•0 comments

The Silver Swan Automaton (1773)

https://thebowesmuseum.org.uk/collections/the-silver-swan/
1•pseudolus•2m ago•0 comments

Key Python 3.15 Updates to Make Your Coding Faster, Cleaner, and Easier

https://medium.com/techtofreedom/9-key-python-3-15-updates-to-make-your-coding-faster-cleaner-and...
1•yangzhou•3m ago•0 comments

Nora is now open source

https://www.withnora.run
1•d_cherrington•4m ago•0 comments

Zenk Space raises $26M, targets June debut launch – SpaceNews

https://spacenews.com/zenk-space-raises-26-million-targets-june-debut-launch/
2•rbanffy•8m ago•0 comments

Awesome DESIGN.md

https://github.com/VoltAgent/awesome-design-md/
2•DeathArrow•8m ago•0 comments

Pebble production update and How I use my Index 01

https://repebble.com/blog/how-i-use-my-index-01-production-update
2•smig0•9m ago•0 comments

Ask HN: How can I get interviews when "who wants to be hired" isn't working?

2•LoganDark•10m ago•0 comments

Eric Schmidt booed during graduation speech about AI

https://www.nbcnews.com/tech/tech-news/former-google-ceo-booed-graduation-speech-ai-rcna345585
2•nothrowaways•12m ago•0 comments

Casimir raised $12M for chip that allegedly extracts net energy from the vacuum

https://old.reddit.com/r/AskPhysics/comments/1tfxgul/casimir_inc_raised_12m_for_a_chip_that_alleg...
3•pseudolus•12m ago•1 comments

Why reality is more than the sum of its particles

https://aeon.co/essays/why-reality-is-more-than-the-sum-of-its-particles
2•pseudolus•14m ago•0 comments

TetraMem Analog In-Memory Compute, Scalable to 5nm, 3nm and Beyond

https://tetramem.com/
2•LargoLasskhyfv•17m ago•0 comments

Zero – Programming Language for Agents

https://github.com/vercel-labs/zero
2•throwaw12•18m ago•0 comments

NASA still maintains some of the Voyager spacecraft code from the 70s era

https://spacedaily.com/nasa-still-maintains-some-of-the-voyager-spacecraft-code-in-a-1970s-era-pr...
3•redbell•18m ago•1 comments

Why Is the World Losing Color?

https://www.theculturist.io/p/why-is-the-world-losing-color
2•thinkingemote•19m ago•1 comments

The Trouble with AI Investment Writing

https://behaviouralinvestment.com/2026/05/12/the-trouble-with-ai-investment-writing/
2•rwmj•21m ago•1 comments

Fast16 Malware Was Sabotaging Nuclear Weapons Tests, Likely in Iran

https://www.zetter-zeroday.com/experts-confirm-the-fast16-malware-was-sabotaging-nuclear-weapons-...
2•payamb•25m ago•0 comments

Common Lisp names all sixteen binary logic gates

https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node131.html#SECTION001670000000000000000
3•optimalsolver•26m ago•0 comments

Ghost for Publishers

https://ghost.org/publishers
2•aralsamuel•26m ago•0 comments

UGen: An Agentic Framework for Generating Microarchitectural Attack PoCs

https://arxiv.org/abs/2605.15503
2•Timofeibu•31m ago•0 comments

Who Owns This Agent? Tracing AI Agents Back to Their Owners

https://arxiv.org/abs/2605.16035
2•Timofeibu•32m ago•0 comments

WHO declares major outbreak of Ebola virus species an international emergency

https://www.science.org/content/article/major-outbreak-rare-ebola-virus-species-northern-congo-al...
3•pseudolus•34m ago•0 comments

Sennebogen shows off electric, autonomous material handler

https://electrek.co/2026/05/16/sennebogen-shows-off-electric-autonomous-material-handler/
2•thelastgallon•35m ago•0 comments

Blogging like a nerd: Cloudflare Pages is all you need

https://martinvol.pe/blog/2026/05/18/cloudflare-pages-is-all-you-need-for-your-blog/
4•martinvol•44m ago•0 comments

Running AI agents without losing my keys

https://zriyansh.medium.com/running-agents-without-losing-my-keys-a-month-with-authsome-039690fe5e6f
3•pkhodiyar•44m ago•0 comments

Gnome 51 Could End Up Replacing System Tools with "Resources" App

https://www.phoronix.com/news/GNOME-51-Resources-Possible
5•rbanffy•48m ago•0 comments

Heat pumps and EVs can save EU households over €2,200 a year – report

https://www.euronews.com/2026/05/18/eu-households-could-save-more-than-2200-every-year-by-switchi...
6•rustoo•49m ago•1 comments