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•7mo 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: Upload a song and get a finished music video (no editing, no prompts)

https://musicvideogenerator.app/
1•hexadecimal•1m ago•0 comments

Halifax video game workers form first Ubisoft union in North America

https://www.cbc.ca/news/canada/nova-scotia/ubisoft-forms-first-union-north-america-halifax-9.7028674
2•cf100clunk•3m ago•0 comments

Two strangers. A terrorist bomb. An extraordinary tale of courage

https://bungalow-magazine.com/p/the-bench-2f5e
1•rmason•5m ago•0 comments

Show HN: Thingo

https://thingoboard.com
1•jryan49•6m ago•0 comments

As AI gobbles up chips, prices for devices may rise

https://www.npr.org/2025/12/28/nx-s1-5656190/ai-chips-memory-prices-ram
2•geox•10m ago•0 comments

Boost.MultiIndex Refactored

http://bannalia.blogspot.com/2025/12/boostmultiindex-refactored.html
1•ibobev•11m ago•0 comments

Mercury: The planet that shouldn't exist

https://www.bbc.com/future/article/20251223-mercury-the-planet-that-shouldnt-exist
1•1659447091•13m ago•0 comments

Why Your AI Characters Turn To Mush (and how I fixed it)

https://ghostintheweights.substack.com/p/why-your-ai-characters-turn-to-mush
1•llamataboot•14m ago•0 comments

Controlling Blood Sugar Cut Heart Disease Risk in Half, Study Says

https://www.nytimes.com/2025/12/15/well/blood-sugar-heart-disease-risk.html
4•brandonb•16m ago•1 comments

The Detection of Wash Trading

https://rajivsethi.substack.com/p/the-detection-of-wash-trading
4•neehao•19m ago•0 comments

Parsing IP addresses quickly (portably, without SIMD magic)

https://lemire.me/blog/2025/12/27/parsing-ip-addresses-quickly-portably-without-simd-magic/
3•ibobev•21m ago•0 comments

Grasshopper Docs

https://grasshopperdocs.com/
1•downboots•25m ago•0 comments

A Profit-Based Measure of Lending Discrimination

https://arxiv.org/abs/2512.20753
3•neehao•25m ago•0 comments

Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

https://en.andros.dev/blog/7b1b607b/doom-in-django-testing-the-limits-of-liveview-at-600000-divss...
2•ibobev•27m ago•0 comments

What an unprocessed photo looks like

https://maurycyz.com/misc/raw_photo/
6•zdw•27m ago•0 comments

The Internet Is a Net Negative

https://kennethreitz.org/essays/2025-12-28-the_internet_is_a_net_negative
8•zdw•34m ago•6 comments

A metagenome-derived, planetary-scale virome resource with environmental context

https://academic.oup.com/nar/advance-article/doi/10.1093/nar/gkaf1225/8356007?login=false
1•PaulHoule•38m ago•0 comments

Researchers Discover Molecular Difference in Autistic Brains

https://medicine.yale.edu/news-article/molecular-difference-in-autistic-brains/
3•amichail•39m ago•0 comments

An Experiment in Vibe Coding

https://nolanlawson.com/2025/12/28/an-experiment-in-vibe-coding/
1•todsacerdoti•41m ago•0 comments

Show HN: Built a waifu AI generator in 4 hours

https://waifupixel.com
1•smakosh•46m ago•0 comments

Software Ate the World, Skills Will Eat Work

https://gist.github.com/Felo-Sparticle/c8dd67b52c8727277de453c94d62f589
4•jinfeng79•47m ago•2 comments

Julie – an open-source, screen-aware multimodal desktop AI assistant

https://github.com/Luthiraa/julie
1•luthiraabeykoon•47m ago•1 comments

Show HN: Mini-vLLM in ~500 lines of Python

https://github.com/ubermenchh/mini-vllm
1•ubermenchh•49m ago•0 comments

The Asymmetry of Fraud: Why $1.50 "Fullz" Defeat Corporate Security

https://paragraph.com/@info_sec0/hackers-rob-security-reads-the-manual
3•ScottCarrig•52m ago•0 comments

Engineering coffee producing vs. climate change, high demand, speculation

https://english.elpais.com/economy-and-business/2025-12-28/why-the-price-of-coffee-has-skyrockete...
2•dxs•56m ago•0 comments

KDE – Highlights from 2025

https://pointieststick.com/2025/12/28/highlights-from-2025/
2•Lunar5227•56m ago•0 comments

AI, the forty percent problem, and the future of work

https://smarterarticles.co.uk/the-forty-percent-problem-how-education-is-rewriting-itself
2•dxs•56m ago•0 comments

Top Fastest-Growing AI Startups to Watch in 2026

https://www.analyticsinsight.net/artificial-intelligence/top-10-fastest-growing-ai-startups-to-wa...
1•journey2s•58m ago•0 comments

Ghost resorts: as 100s of ski slopes lie abandoned will nature reclaim the Alps?

https://www.theguardian.com/environment/2025/dec/27/alps-france-skiing-snow-warming-resorts-closi...
10•ourmandave•1h ago•0 comments

Keep the Robots Out of the Gym

https://danielmiessler.com/blog/keep-the-robots-out-of-the-gym
22•Group_B•1h ago•13 comments