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

Audio tapes reveal mass rule-breaking in Milgram's obedience experiments

https://www.psypost.org/audio-tapes-reveal-mass-rule-breaking-in-milgram-s-obedience-experiments-...
1•lentoutcry•1m ago•0 comments

Lazarus Sign

https://en.wikipedia.org/wiki/Lazarus_sign
1•signorovitch•6m ago•0 comments

Neural Text Steganography

https://massa-ai.freeboxos.fr/textego/
1•asxndu•7m ago•0 comments

Mystery medical episode left astronaut unable to speak—1 of NASA's biggest risks

https://www.livescience.com/space/space-exploration/mystery-medical-episode-that-left-astronaut-u...
1•bookofjoe•9m ago•0 comments

AI is making CEO's delusional [video]

https://www.youtube.com/watch?v=Q6nem-F8AG8
1•rossdavidh•11m ago•0 comments

Lausd joins suit against social media companies

https://laist.com/brief/news/education/los-angeles-unified-school-district-lausd/los-angeles-unif...
1•freshtake•14m ago•0 comments

Show HN: Code typing game to increase your typing speed in 10 languages

https://coderacer.dev
1•Coderacer1•16m ago•0 comments

Canadian man says U.S. border officers made him give DNA sample

https://www.cbc.ca/news/canada/windsor/us-border-dna-canadian-man-cbp-cross-larson-dingell-raskin...
1•geox•17m ago•0 comments

What to Do About Those Menu Item Icons in macOS 26 Tahoe

https://mastodon.social/@stroughtonsmith/116262411548746327
2•erickhill•18m ago•0 comments

We built a multi-agent research hub. The waitlist is a reverse-CAPTCHA

https://enlidea.com
1•LZK•20m ago•1 comments

Folk are getting dangerously attached to AI that always tells them they're right

https://www.theregister.com/2026/03/27/sycophantic_ai_risks/
13•Brajeshwar•20m ago•3 comments

The risk of AI isn't making us lazy, but making "lazy" look productive

2•acmerfight•21m ago•0 comments

I built an AI that tailors your CV to every job in seconds

1•alebarbon•23m ago•0 comments

For-Agent

https://github.com/reposwarm/reposwarm-cli/wiki/--for-agent
1•royosherove•27m ago•0 comments

Show HN: Loreline, narrative language transpiled via Haxe: C++/C#/JS/Java/Py/Lua

https://loreline.app/en/docs/technical-overview/
1•jeremyfa•27m ago•1 comments

Thousands risk of deadly complications recent exposure to measles in 11 states

https://www.dailymail.co.uk/health/article-15686151/deadly-measles-brain-swelling-virus-surge.html
1•Bender•28m ago•0 comments

Can humans have babies in space? It may be harder than expected

https://www.space.com/space-exploration/human-spaceflight/having-babies-in-space-may-be-harder-th...
3•Brajeshwar•30m ago•0 comments

Difftastic

https://difftastic.wilfred.me.uk
2•KolmogorovComp•31m ago•0 comments

Every novel that has ever been published is sitting inside ChatGPT

https://twitter.com/heynavtoor/status/2037638554374099409
2•guerrilla•33m ago•1 comments

Against the Smartphone Theory of Everything

https://www.theargumentmag.com/p/against-the-smartphone-theory-of
1•ravenical•37m ago•0 comments

New Consulting Contracts in Texas Will Muzzle Authors and Harm Students

https://bookriot.com/texas-esc-1-discriminatory-contracts/
1•mooreds•38m ago•0 comments

Microsoft tells crusty old kernel drivers to get with the Windows HCP

https://www.theregister.com/2026/03/27/microsoft_kernel_trust/
2•Bender•39m ago•1 comments

ICAO issued new power bank restriction on flight

https://www.icao.int/news/new-power-bank-restrictions-will-safeguard-international-aviation
2•phantomathkg•39m ago•0 comments

Microsoft takes up residence next to OpenAI, Oracle

https://www.theregister.com/2026/03/27/microsoft_ai_crusoe/
1•Bender•40m ago•1 comments

Sharpee Interactive Fiction and Computer Science

https://github.com/ChicagoDave/sharpee/blob/main/docs/architecture/sharpee-computer-science.md
1•ChicagoDave•40m ago•0 comments

When Fake Supplements Work

https://nautil.us/when-fake-supplements-work-1279324
1•Brajeshwar•41m ago•0 comments

Show HN: Cursorlag – add a lag trail to your cursor

https://cursorlag.velocifyer.com/
1•Velocifyer•43m ago•1 comments

The Generative AI Policy Landscape in Open Source

https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/
2•mooreds•43m ago•0 comments

How Not to Interview (Interesting People)

https://om.co/2026/03/19/how-not-to-interview-interesting-people/
2•mooreds•44m ago•0 comments

You can't imitation-learn how to continual-learn

https://www.lesswrong.com/posts/9rCTjbJpZB4KzqhiQ/you-can-t-imitation-learn-how-to-continual-learn
3•supermdguy•44m ago•0 comments