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!

China's military-linked institutions found ways around US Nvidia chips blacklist

https://www.reuters.com/world/pla-linked-chinese-university-bought-nvidia-h200-chips-despite-us-b...
1•ck2•1m ago•1 comments

Running Game of Life inside MS Word

https://angadbasandrai.github.io/blogs/word-turing-complete.html
2•datavorous_•2m ago•0 comments

Don't give Claude Code your .env

https://infisical.com/blog/dont-give-ai-agents-your-env
1•FinnLobsien•2m ago•0 comments

Hyper-Realistic Sand with WebGL2

https://av.github.io/safe-sand/
1•everlier•2m ago•0 comments

Embrace Paper Exams to Combat AI Cheating, Warns UK Universities Regulator

https://www.ft.com/content/2ada6998-26d2-4aab-89ad-11a50f0eb65a
1•karakoram•4m ago•1 comments

A New Browser – Software Freedom and the Three Nordstjernen Browsers

https://bytecode.news/posts/2026/11/a-new-browser-software-freedom-and-the-three-nordstjernen-bro...
2•roschdal•4m ago•0 comments

Dana's Talk on OpenAI's Proof of the Unique Games Conjecture, Now on YouTube

https://scottaaronson.blog/?p=10318
1•amichail•4m ago•0 comments

Glue work is still harmful in the age of AI

https://www.seangoedecke.com/glue-work-is-still-harmful-in-the-age-of-ai/
1•tux404•6m ago•0 comments

Show HN: Blame – a Mac menu-bar app that names what's eating your memory

https://getblame.app/
1•sidpan2011•7m ago•0 comments

Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

https://github.com/0xdeadf1sh/AssemblyForNeovim
1•0xdeadf1sh•8m ago•0 comments

Show HN: Zaelar, self-hostable life agent with voice, UI and network A2A

https://zaelar.com/
2•zaelar•8m ago•0 comments

What If Maintainer Burnout Isn't Burnout

https://ryancheley.com/2026/08/17/what-if-maintainer-burnout-isn-t-burnout/
1•latexr•8m ago•0 comments

Show HN: Pagless – Minimal Android Launcher

https://pageless.space/
1•yako21000•10m ago•1 comments

Show HN: blqsort – A C++ Quicksort Faster Than std:sort

https://tiki.li/blog/about_blqsort
1•chrka•11m ago•0 comments

Show HN: I created a library for correctly using SQLite in Go programs

https://github.com/cattlecloud/litesql
1•sethops1•12m ago•0 comments

Attention to Mamba: A Recipe for Cross-Architecture Distillation

https://machinelearning.apple.com/research/attention-mamba-distillation
2•zerop•12m ago•0 comments

Long-horizon agents and durable execution

https://martinfowler.com/articles/durable-execution-agents.html
1•zerop•13m ago•0 comments

Lunch with Alan Kay: how to become educated enough to invent the future (2019)

https://stevekrouse.com/syndicated/alan-kay-lunch
2•andsoitis•14m ago•0 comments

End-Programmer Programming (2022)

https://stevekrouse.com/syndicated/end-programmer
1•andsoitis•15m ago•0 comments

JetBrains Air: Run and review coding agents inside the IDE

https://blog.jetbrains.com/ai/2026/11/air-in-jetbrains-ides-ga/
1•acossta•17m ago•2 comments

EventSourcingDB 1.3.0 Is Available

https://www.eventfoundation.io/resources/blog/eventsourcingdb-1-3-0-is-available
2•goloroden•22m ago•0 comments

Qt Bridges – Cross-platform QML UIs for Rust and C# back ends

https://www.qt.io/development/qt-framework/qt-bridges
1•doodlesdev•22m ago•0 comments

Enabling Twitter labels for posts from non local accounts

https://github.com/Sansrealm/twitlabel
1•Sanjeevn72•23m ago•1 comments

Anthropic's IPO in Charts

https://www.kadoa.com/companies/insights/anthropic-ipo-pricing
2•hubraumhugo•24m ago•0 comments

Show HN: Palaner – Skyscanner for things to do, in any town on Earth

https://palaner.com/
1•johndreic•24m ago•0 comments

Oxford Mathematics in Conversation on AI – Ben Green and James Maynard [video]

https://www.youtube.com/watch?v=2GsuvsEg28o
1•nill0•25m ago•0 comments

Show HN: Beam – Pairing machines with passkeys; replace SSH&VPN's with Tailcat

https://github.com/notaharness/beam
1•hermannbjorgvin•25m ago•0 comments

Protecting C2 Traffic in Nim

https://jakobfriedl.github.io/blog/nim-c2-traffic/
1•p4p1•25m ago•0 comments

Show HN: Editmamei – Giving AI agents access to desktop Photoshop and GIMP

https://github.com/editmamei/editmamei
1•belcairn•27m ago•0 comments

Show HN: Episteme AI – Self-healing roadmaps with paywall and dead-link checks

https://github.com/SreeNaresh1/episteme-ai
1•SreeNaresh1•27m ago•0 comments