frontpage.
newsnewestaskshowjobs

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!

Astronomers Discover Triple-Star System 28 Light-Years from Earth

https://exoplanetes.umontreal.ca/en/astronomers-discover-remarkable-triple-star-system-just-28-li...
1•dustfinger•1m ago•1 comments

Show HN: I made a multiplayer mushroom forage game

https://mantar.duobook.co/
1•celltalk•1m ago•0 comments

Thermal noise used to send data without an active signal

https://news.stanford.edu/stories/2026/10/thermal-noise-data-no-active-signal
1•geox•2m ago•0 comments

Testing five audio countermeasures against airplane Doppler geolocation [video]

https://www.youtube.com/watch?v=9A8WlXG7SK4
2•shwooddotcom•4m ago•0 comments

Show HN: OpenNotebook – Self-hosted NotebookLM alternative with video overviews

https://github.com/mahmoud-emad/opennotebook
2•omdanii•8m ago•0 comments

FM 4-0, Sustainment Operations Summary Version Brief [pdf]

https://cascom.army.mil/asrp/build/files/FM4-0-MTTBaselineBrief-revised-091330SEP24.pdf
2•toomuchtodo•13m ago•1 comments

Nissan still doesn't own nissan.com

https://nissan.com
1•axelfontaine•13m ago•0 comments

Homegym

https://mr-grj.github.io/homegym/
1•mrgrj•13m ago•0 comments

From text, to Markdown, to HTML: time for generative UIs

https://anaivebidder.com/posts/from-plain-text-to-generative-ui/
1•rbnafo•16m ago•0 comments

Delta Air Lines carrier computer problems

https://www.cnn.com/2026/11/22/us/delta-airlines-ground-delay
1•olelele•18m ago•0 comments

The Consistency of Arithmetic (2018) [pdf]

https://timothychow.net/consistent.pdf
1•literallyanythi•19m ago•0 comments

Language modeling game where you predict the next token

https://rr-lm-game.herokuapp.com/
1•gkbrk•19m ago•0 comments

Playing Doom on a Stirling engine powered computer

https://twitter.com/DigitalTrends/status/2114874206664208667
2•thunderbong•21m ago•0 comments

Why Building Trust Through Real People Stands the Test of Time in SEO/AI Search

https://www.searchenginejournal.com/why-building-trust-through-real-people-stands-the-test-of-tim...
1•hefner1456•22m ago•0 comments

Netanyahu rival condemns 'Jewish terrorism' after settler attacks

https://www.theguardian.com/world/2026/nov/22/netanyahu-rival-condemns-settler-arson-attacks-pale...
4•Betelbuddy•24m ago•0 comments

Impact of artificial gravity on spaceflight skeletal deterioration in mice

https://www.nature.com/articles/s41526-026-00670-5
2•archermarks•24m ago•0 comments

MacBook Trackpad Talking Using Its Haptic Motor

https://twitter.com/codycollier/status/2124505859883716918
1•sgt•25m ago•0 comments

A pay-once alternative to subscription AI photo trend apps

https://flowood.app
2•dogcaname•25m ago•0 comments

26 AI agents rewrote a backend from Django to Rust with no human merges

https://airepublic.com/blog/pi-dash-self-evolution-experiment/
2•vihoang•26m ago•0 comments

Harvard CS 2881R AI Safety

https://boazbk.github.io/mltheoryseminar/
2•enjoyyourlife•33m ago•0 comments

License to Gill (James Pond 2 Recomp)

https://joelio.github.io/robocod-recomp/
2•_joel•35m ago•1 comments

Attackers can trigger your trailer brakes on the road

https://garrettstimpson.ca/posts/2026/11/22/elecbrakes-trailer-brake-controller-bluetooth-flaw/
3•gary23w•35m ago•0 comments

Solving a legendary math problem with AI be a candidate for a Fields Medal?

5•DivingForGold•35m ago•2 comments

GTA 6 Hates America. So Why Does America Love It? [video]

https://www.youtube.com/watch?v=ikUM_mnUVgc
3•abdelhousni•36m ago•0 comments

Show HN: I built a command center to assess your personal security posture

https://installplango.com
4•rstureborg•37m ago•3 comments

Run tool calls from code with Code Mode

https://code.claude.com/docs/en/code-mode
1•franze•38m ago•0 comments

Domesticity and Danger: Harvard Law's "Canine Framework" for AI Liability

https://news.harvard.edu/gazette/story/2026/07/is-that-bot-a-pomeranian-or-a-wolf-and-who-to-sue-...
1•datascientist•40m ago•0 comments

Show HN: Loomstation – Read-only analytics terminal, MCP for Polymarket/Kalshi

https://loomstation.com/
1•offbeatlj•41m ago•0 comments

Falsehoods Programmers Believe About ATProto

https://reiver.link/atproto/falsehoods-programmers-believe/
1•todsacerdoti•43m ago•0 comments

Climate change talks fall apart in final hours over fossil fuels

https://www.npr.org/2026/11/22/nx-s1-6046195/cop31-climate-talks-close-disappointment
3•blinding-streak•43m ago•0 comments