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!

The US is betting on AI to catch insider trading in prediction markets

https://www.wired.com/story/polymarket-insider-trading-cftc-michael-selig-interview/
1•Cider9986•1m ago•0 comments

Show HN: Pockli – I needed a better iOS scanning app

https://pockli.com/
1•tsoswr•5m ago•0 comments

Observability SQL?

https://github.com/elyosemite/openwatchit
1•elyosemite•6m ago•0 comments

The scientists using electricity to assess the consistency and flavor of coffee

https://www.npr.org/2026/05/01/nx-s1-5798783/electric-food-science-coffee-flavor
1•gmays•8m ago•0 comments

Distance Marching for Generative Modeling

https://arxiv.org/abs/2602.02928
1•E-Reverance•12m ago•0 comments

Annota – A local-first, E2EE note app with BYOK AI

https://annota.online
2•SpyNinja•12m ago•2 comments

Spec Driven Development: short specs

https://www.youtube.com/watch?v=xLIsrusr3NQ
1•bullbash•12m ago•1 comments

Why is Charlie Stross's site named Antipope?

https://www.antipope.org/charlie/old/antipope.html
10•turadg•13m ago•0 comments

Forgejo is a self-hosted lightweight software forge

https://forgejo.org/
1•doener•14m ago•0 comments

Japan runs out of robot wolves in fight against bears

https://www.popsci.com/environment/japan-robot-wolf-army/
3•bookofjoe•18m ago•0 comments

The Fil-C Optimized Calling Convention

https://fil-c.org/calling_convention
2•pizlonator•19m ago•0 comments

LocalVibe – Pure-Rust local AI stack with MCP, in one binary (Apple Silicon)

https://github.com/Sok205/local_vibe
1•sok2054•21m ago•0 comments

The Windows Command Line and JP Software – A Brief History

https://jpsoft.com/blogs/news/the-windows-command-line-and-jp-software-a-brief-history.html
1•BruceEel•23m ago•0 comments

Inter-Dicasterial Commission on Artificial Intelligence

https://press.vatican.va/content/salastampa/en/bollettino/pubblico/2026/05/16/260516b.html
1•bombcar•23m ago•0 comments

Xi Jinping Was Only Humoring Trump

https://www.theatlantic.com/ideas/2026/05/trump-lame-duck-superpower/687189/
6•hebelehubele•25m ago•2 comments

ArXiv will ban submitters of AI-generated slop for one year

https://arstechnica.com/science/2026/05/preprint-server-arxiv-will-ban-submitters-of-ai-generated...
1•Lihh27•26m ago•1 comments

NextEra and Dominion in talks over tie-up to create $400B US utility giant

https://www.ft.com/content/37ba1609-ffa7-42ae-b63c-b2c628c584e1
2•JumpCrisscross•29m ago•0 comments

Sequence Points (2010)

https://susam.net/sequence-points.html
1•susam•30m ago•0 comments

Infrasound likely a key factor in alleged hauntings

https://arstechnica.com/science/2026/04/that-spooky-sensation-likely-due-to-rumbling-pipes-not-sp...
1•austinallegro•30m ago•0 comments

In Defense of Software Businesses

https://aimode.substack.com/p/in-defense-of-software-businesses
1•warthog•32m ago•0 comments

China wants more robots but not fewer workers

https://www.economist.com/finance-and-economics/2026/05/11/china-wants-more-robots-but-not-fewer-...
1•marojejian•33m ago•1 comments

Spontaneous Human Combustion over the Ages

https://www.fatemag.com/post/spontaneous-human-combustion-over-the-ages
1•austinallegro•37m ago•1 comments

APL Performance

https://aplwiki.com/wiki/Performance
1•tosh•41m ago•0 comments

You can't whisper at an AI agent

https://stripe.dev/blog/ai-steering-experiments
1•logickkk1•41m ago•0 comments

The vibes in SF feel frenetic – The divide in outcomes is massive

https://twitter.com/deedydas/status/2055491938464489888
2•spenvo•41m ago•0 comments

Polymarket Isn't a Prediction Market for the Real World

https://reticulating.substack.com/p/polymarket-isnt-a-prediction-market
2•fontain•46m ago•0 comments

Mike Stonebraker: Computer Science might not be a growth industry going forward

https://www.youtube.com/watch?v=YPObBOwIrHk
1•tcp_handshaker•47m ago•1 comments

Texas county passes 1-year data center construction ban

https://www.politico.com/news/2026/05/16/texas-county-data-center-construction-ban-00922493
4•cdrnsf•49m ago•0 comments

Beaver: An Enterprise Benchmark for Text-to-SQL

https://peterbaile.github.io/beaver/
1•tcp_handshaker•50m ago•0 comments

Rx Inspector: Look Up Where Your Generic Prescription Drugs Were Made

https://projects.propublica.org/rx-inspector/
3•turtleyacht•55m ago•0 comments