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•8mo 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!

Anthropic Economic Index: new building blocks for understanding AI use

https://www.anthropic.com/research/economic-index-primitives
1•gmays•1m ago•0 comments

Mark Carney Takes on Donald Trump and Emerges as a Global Political Star

https://www.nytimes.com/2026/01/24/world/canada/carney-trump-us-greenland.html
1•whack•3m ago•0 comments

How to generate a random number with quantum physics

https://www.popsci.com/technology/free-random-number-generator/
1•todsacerdoti•3m ago•0 comments

I am an electrician who built an iOS app using Claude (No Swift experience)

https://apps.apple.com/ca/app/discovr/id6747321401
1•discovrapp•6m ago•1 comments

Life Is Not a Simulation but a Consistent Logical Theory

https://chfritz.github.io/writing/life-is-a-thought-experiment/
2•chfritz•14m ago•0 comments

Show HN: IntegrateStack, a Resource Hub for SaaS Integration Specs and Issues

https://integratestack.com/
2•uprooted•16m ago•0 comments

Franklin Ace: The Clone of the Apple II Stolen from Apple

https://www.folklore.org/Stolen_From_Apple.html?sort=date?sort=date
3•rafaepta•16m ago•0 comments

Help me pick my next video thumbnail

https://ytvote.com/Vote/ForMe/0UP4X
1•riley-i•19m ago•0 comments

AI: Work partnerships between people, agents, and robots

https://www.mckinsey.com/mgi/our-research/agents-robots-and-us-skill-partnerships-in-the-age-of-ai
1•gmays•19m ago•0 comments

A.I. Tool Is Going Viral. Five Ways People Are Using It

https://www.nytimes.com/2026/01/23/technology/claude-code.html
4•1PlayerOne•21m ago•2 comments

Electric cars won't fix sitting: health costs of designing cities around cars

https://medicalxpress.com/news/2026-01-electric-cars-wont-health-cities.html
1•PaulHoule•25m ago•0 comments

Stabilized and Slow-Motion Video of the Murder of Alex Pretti

https://old.reddit.com/r/evilwhenthe/comments/1qm0mlc/heres_a_stabilized_slow_motion_version_best...
5•treetalker•26m ago•0 comments

Two Weeks Until Tapeout

https://essenceia.github.io/projects/two_weeks_until_tapeout/
3•client4•27m ago•0 comments

What Is Conduit?

https://conduit.psiphon.ca/en/
2•alexmonami•28m ago•1 comments

Stochastic Terrorism

https://en.wikipedia.org/wiki/Stochastic_terrorism
7•garbawarb•33m ago•0 comments

My Comments Run on Email

https://ckardaris.github.io/blog/2026/01/22/my-comments-run-on-email.html
2•thunderbong•35m ago•0 comments

Show HN: Workspace-updater can now hoist common deps

1•smashah•45m ago•0 comments

ShinyHunters claims Okta customer breaches, leaks data belonging to 3 orgs

https://www.theregister.com/2026/01/23/shinyhunters_claims_okta_customer_breaches/
3•mooreds•46m ago•0 comments

Emulator2000 – Seiko Digital Watch Emulator

https://github.com/azya52/Emulator2000
1•rickcarlino•47m ago•0 comments

A plugin for Claude that forces you to write code

https://github.com/mlolson/claude-spp
1•LordHumungous•49m ago•1 comments

How Does the Hedgehog Engine 2 Work? [video]

https://www.youtube.com/watch?v=RLJQRccTwMs
2•todsacerdoti•49m ago•0 comments

Human Meaning Emerged From Exaptation: A software update, not a hardware upgrade [video]

https://www.youtube.com/watch?v=54l8_ewcOlY
2•clarencehoward•52m ago•1 comments

Stackmaxxing for a recursion world record [video]

https://www.youtube.com/watch?v=WQKSyPYF0-Y
2•edward28•52m ago•0 comments

GNU C Library 2.43 released with more C23 features, mseal and openat2 functions

https://www.phoronix.com/news/GNU-C-Library-Glibc-2.43
2•birdculture•52m ago•0 comments

Cow Clicker

https://en.wikipedia.org/wiki/Cow_Clicker
3•Ariarule•53m ago•0 comments

Wine-Staging 11.1 Adds Patches for Enabling Recent Adobe Photoshop Versions

https://www.phoronix.com/news/Wine-Staging-11.1
9•doener•53m ago•1 comments

The Longevity FAQ

https://nintil.com/longevity/
1•aabiji•54m ago•0 comments

Curl Gets Rid of Its Bug Bounty Program over AI Slop Overrun

https://itsfoss.com/news/curl-closes-bug-bounty-program/
2•nreece•59m ago•1 comments

The iOS 26 Adoption Rate Is Not Bizarrely Low Compared to Previous Years

https://daringfireball.net/2026/01/ios_26_adoption_rate_is_not_bizarrely_low
3•chmaynard•1h ago•0 comments

The Secretive VIP Programs That Keep Gamers Spending

https://www.nytimes.com/2026/01/20/arts/zynga-vip-video-games.html
5•bookofjoe•1h ago•1 comments