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

SF vibes are frenetic over the divide in outcomes and career uncertainty

https://www.techmeme.com/260516/p9
1•danorama•3m ago•1 comments

SeeFlow – Architecture diagrams that run

https://seeflow.dev
1•tuongaz•5m ago•0 comments

Lord of the Flies: A Harmful Distortion of Children's Nature

https://petergray.substack.com/p/114-lord-of-the-flies-a-harmful-distortion
1•Ariarule•6m ago•0 comments

Unmanned lab opens with robots at work as researchers push AI, automation

https://japantoday.com/category/tech/unmanned-lab-opens-with-robots-at-work-as-researchers-push-a...
1•pseudolus•10m ago•0 comments

Eric Weinstein: "I Was Wrong About UFOs " [video]

https://www.youtube.com/watch?v=ZBjJTj_ZFXU
1•keepamovin•20m ago•0 comments

Ccstory – Weekly recap of what you did in Claude Code

https://github.com/atomchung/ccstory
1•atomtw•26m ago•0 comments

Bear spray is exploding in the trash near Yellowstone National Park

https://www.sfgate.com/national-parks/article/exploding-bear-spray-yellowstone-22244713.php
3•turtlegrids•26m ago•1 comments

2026 will be a HVAC contractor bloodbath

https://www.reddit.com/r/heatpumps/s/APgJ68ZSyz
2•ssuds•30m ago•0 comments

LLMs and the Epistemic Apocalypse

https://haversine.substack.com/p/the-slow-creep-of-epistemic-apocalypse
1•MakeAJiraTicket•34m ago•1 comments

How to buy cheap Claude tokens in China

https://www.chinatalk.media/p/how-to-buy-cheap-claude-tokens-in
2•RyanShook•39m ago•0 comments

Science Behind Too Much Homework for Lower School Kids

https://restingrichface.substack.com/p/im-quitting-my-third-graders-homework
2•_RRF•41m ago•1 comments

Ascetic Computing

https://ratfactor.com/ascetic-computing
2•RohanAdwankar•45m ago•0 comments

Zhengkid/AutoTTS: Agentic Discovery for Test-Time Scaling

https://github.com/zhengkid/AutoTTS
2•gmays•49m ago•0 comments

Monero Stats: An aggregate of payment data by businesses that accept Monero

https://monerostats.org/
2•Cider9986•51m ago•2 comments

Four Decisions: The Divergent Choices That Define a Life

https://gadallon.substack.com/p/four-decisions-the-divergent-choices
1•Murskautuminen•53m ago•0 comments

Basalt could be the key to greener and cheaper cement

https://news.ucsb.edu/2026/022568/basalt-could-be-key-greener-and-cheaper-cement
1•littlexsparkee•1h ago•0 comments

Don't Outsource the Learning

https://addyosmani.com/blog/dont-outsource-learning/
2•cdrnsf•1h ago•0 comments

Show HN: SoccQR – Lost and Found Labels for Soccer Balls / Gamified Training Log

https://soccqr.com
1•zarie•1h ago•0 comments

The Left Hand of Darkness (1969)

https://en.wikipedia.org/wiki/The_Left_Hand_of_Darkness
2•maxall4•1h ago•0 comments

An Inexpensive Schlieren System

https://petapixel.com/2020/01/18/a-simple-and-inexpensive-schlieren-optical-system-using-a-fresne...
2•Eridanus2•1h ago•0 comments

Prepare your "no" and keep it handy

https://sive.rs/n0
2•Curiositry•1h ago•0 comments

Hosting a website on an 8-bit microcontroller

https://maurycyz.com/projects/mcusite/
19•zdw•1h ago•1 comments

The lasting influence of Netscape Time

https://thehistoryoftheweb.com/the-lasting-influence-of-netscape-time/
2•zdw•1h ago•0 comments

Self-Distillation Enables Continual Learning [PDF]

https://arxiv.org/abs/2601.19897
6•teleforce•1h ago•0 comments

Ask HN: Pre-agentic Google would restrict a search query to only 10 words

1•Eridanus2•1h ago•0 comments

AI Poised to Tilt Job Market Leverage Toward Older Workers

https://www.bloomberg.com/news/articles/2026-05-16/ai-poised-to-tilt-job-market-leverage-toward-o...
5•littlexsparkee•1h ago•2 comments

Open architecture multi-beam EBL for sub-10nm sovereign chip manufacturing

https://github.com/robmorin0-hash/multibeam-ebl-open
2•TheDoctorII•1h ago•0 comments

Braids and Dynamics Frontiers in Theory and Modelling with Scarce Data

https://people.math.wisc.edu/~thiffeault/talks/gordon2022.pdf
1•marysminefnuf•1h ago•0 comments

Tell HN: Mindie.dev is scraping emails from profiles to send spam

3•stackghost•1h ago•0 comments

Quack: A TUI for managing and cancelling active OpenCode sessions

https://github.com/SmolNero/quack
1•edgar_ortega•1h ago•0 comments