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!

iPhone Duo Teardown [video]

https://www.youtube.com/watch?v=WOVIjFnivJA
1•obilgic•1m ago•0 comments

The subreddit each age is most over-represented in, women vs. men

https://www.reddit.com/r/dataisbeautiful/comments/1xf6gt3/oc_i_checked_177_million_redditors_who_...
1•gmays•4m ago•0 comments

IBM CEO says open weight models are now irresistibly good and cheap on-prem

https://www.theregister.com/systems/2026/10/22/ibm-ceo-says-open-weight-models-are-now-irresistib...
3•Betelbuddy•13m ago•0 comments

Data centre debate heats up ahead of US midterms

https://www.bbc.com/news/articles/cq2e9we7w2ejo
3•Betelbuddy•22m ago•0 comments

Recycling ANSI art: Tracing the origins of Fire Escape's BBS logon screens

https://breakintochat.com/blog/2026/10/25/recycling-ansi-art/
2•Kirkman14•22m ago•1 comments

Show HN: Little Fun Games – daily trivia with uncommon-answer scoring

https://littlefungames.com/
2•littlefungames•24m ago•0 comments

Grokking: A 777-Parameter Transformer Learned Real Math

https://themenonlab.blog/blog/grokking-777-parameter-transformer
3•peter_d_sherman•34m ago•1 comments

iPhone Duo Teardown

https://www.ifixit.com/News/119895/iphone-duo-teardown
7•kripy•38m ago•0 comments

Cve.now: A Free Feed of Security Vulnerabilities for Agents

https://www.sazabi.com/blog/introducing-cve-now
1•shcallaway•42m ago•0 comments

Please Don't Mess with Links

https://maurycyz.com/misc/real_links/
3•birdculture•45m ago•0 comments

Scientists Discover a Surprising Shortcut to Nuclear Fusion

https://scitechdaily.com/scientists-discover-a-surprising-shortcut-to-nuclear-fusion/
2•g-b-r•46m ago•0 comments

Drone warfare is evolving faster than armies can adapt

https://www.thestar.com/news/canada/drone-warfare-is-evolving-faster-than-armies-can-adapt-expert...
2•sleepyguy•47m ago•1 comments

Show HN: Freehire, open-source search 3M+ tech jobs from company career boards

https://freehire.me/
1•i_strelov•47m ago•0 comments

Show HN: Depono – Chat with many AI models at cost and 10%, files kept in Git

https://depono.xyz/
1•saxonnicholls•49m ago•0 comments

Show HN: RainbowSay – Learn, teach, research languages live with shows you love

https://rainbowsay.ai/
1•gigapotential•53m ago•0 comments

Bringing Flame Serving Close to Standalone vLLM

https://xflops.io/blog/flame-vllm-serving/
1•k82cn•55m ago•0 comments

Removing Next.js Got My Blog to 100 on Every Lighthouse Category

https://korindiehacker.bloffy.blog/en/removing-nextjs-got-my-blog-to-100-on-every-lighthouse-cate...
1•textlanes33•58m ago•0 comments

Setup Home Lab Static Website: Rasp Pi, Astro, Nginx Proxy Mgmt, Cloudflare

https://blog.jacq.cc/guides/static-blog-raspberry-pi-nginx-proxy-manager-cloudflare/
1•xx__yy•1h ago•0 comments

Ask HN: Is it not possible to enroll for Apple Developer anymore?

3•olalonde•1h ago•0 comments

Coding Is Dead. Programming Is Not

https://twitter.com/jay4fun_/status/2114522024387269032
2•jairojair•1h ago•0 comments

Learning to Ride Your Brain

https://contraptions.venkateshrao.com/p/on-learning-to-ride-your-brain
2•colinprince•1h ago•0 comments

Survival Ball versus Mode Explained: Everything You Need to Know [video]

https://www.youtube.com/watch?v=A-aIvcJqgDQ
1•lopespm•1h ago•0 comments

Trump critic Lula wins reelection in Brazil, securing fourth presidential term

https://apnews.com/article/brazil-election-lula-bolsonaro-runoff-vote-president-e2c9fe8fc4aa3e367...
3•kaycebasques•1h ago•1 comments

Has PAUSE account registration slowed down recently?

https://www.nntp.perl.org/group/perl.modules/2026/10.html
1•viasnake•1h ago•0 comments

Dua Lipa's Manifesto Library

https://www.banned-books.org/dua-lipa-manifesto-library
1•weinzierl•1h ago•0 comments

CORDIC

https://en.wikipedia.org/wiki/CORDIC
1•gregsadetsky•1h ago•0 comments

One gateway for your AI agents, APIs and MCP servers

https://github.com/Clivern/Sloth
2•clivern•1h ago•0 comments

A Study of the Last Two Weeks

https://phillipspobrien.substack.com/p/weekend-update-208-trump-reacts-to
1•JumpCrisscross•1h ago•0 comments

They Fled Trump's America. Now They Regret It

https://www.wired.com/story/they-fled-trumps-america-now-they-regret-it/
6•mooreds•1h ago•1 comments

Lula wins election after final votes tallied

https://www.reuters.com/live/brazil-election-live-lula-bolsonaro-face-off-presidential-runoff-202...
167•laurenth•1h ago•112 comments