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!

q and KDB-X

https://code.kx.com/kdb-x/learn/brief-introduction.html
1•tosh•3m ago•0 comments

'Miracle': Europe reconnects with lost spacecraft

https://phys.org/news/2026-03-miracle-europe-reconnects-lost-spacecraft.html
1•vrganj•4m ago•0 comments

Freestyle Linked Lists Tricks

https://nullprogram.com/blog/2025/12/31/
1•signa11•8m ago•0 comments

Looking for Contributors and Sponsors – SuggestPilot

https://github.com/Shantanugupta43/SuggestPilot
1•shaanuknow•9m ago•0 comments

Cooking with Functions

https://world.hey.com/ricardo.tavares/cooking-with-functions-4f3d04bf
1•rickdg•10m ago•0 comments

Sprite OS

https://en.wikipedia.org/wiki/Sprite_(operating_system)
2•0123456789ABCDE•11m ago•0 comments

An effect notation based on with-clauses and blocks

https://blog.yoshuawuyts.com/a-with-based-effect-notation/
1•r4um•13m ago•0 comments

AI Playground for developers (built in Vite and Python)"

https://www.neuralkore.com
1•beibayee•16m ago•0 comments

Install your own data breach

https://world.hey.com/ricardo.tavares/install-your-own-data-breach-dea2cad5
1•rickdg•16m ago•0 comments

HN: Lasvegasbrief.com – A Signal-Based Newspaper for Las Vegas

https://lasvegasbrief.com/
1•chainbuilder•21m ago•1 comments

Kennedy, Dimona and the Nuclear Proliferation Problem: 1961-1962

https://www.wilsoncenter.org/publication/kennedy-dimona-and-the-nuclear-proliferation-problem-196...
1•teleforce•22m ago•0 comments

AI trained on Nietzsche's complete works and notebooks

https://shryn.ai/nietzsche
1•erikraschke•23m ago•1 comments

Windows native app development is a mess

https://domenic.me/windows-native-dev/
3•domenicd•28m ago•0 comments

Data Manipulation in Clojure Compared to R and Python

https://codewithkira.com/2024-07-18-tablecloth-dplyr-pandas-polars.html
1•tosh•31m ago•0 comments

Show HN: CLI for validating, querying, and updating Markdown specs

https://github.com/anatoly-tenenev/spec-cli
1•anatoly-tenenev•33m ago•0 comments

Polybar: A fast and easy-to-use status bar

https://github.com/polybar/polybar
1•thunderbong•36m ago•0 comments

Trivy Under Attack Again: Widespread GitHub Actions Tag Compromise Secrets

https://socket.dev/blog/trivy-under-attack-again-github-actions-compromise
1•jicea•41m ago•0 comments

Trump invited Silicon Valley into America's nuclear power regulator

https://www.propublica.org/article/trump-nuclear-power-nrc-safety-doge-vought
4•rognjen•42m ago•0 comments

Show HN: Neurotrace – The extension I built but never used

1•CastleOneX•44m ago•0 comments

The Slow Collapse of MkDocs

https://fpgmaas.com/blog/collapse-of-mkdocs/
2•nogajun•44m ago•0 comments

If AI brings 90% productivity gains, do you fire devs or build better products?

3•Bleiglanz•49m ago•2 comments

Vatican Rebukes Peter Thiel's Antichrist Lectures in Rome

https://www.thenerdreich.com/peter-thiels-antichrist-circus-smacked-down-in-rome/
2•vrganj•50m ago•1 comments

Brezn – Decentralized Local Communication

https://github.com/DaBena/Brezn
2•brezn•51m ago•1 comments

Google Shakes Up Its Browser Agent Team Amid OpenClaw Craze

https://www.wired.com/story/google-shakes-up-project-mariner-team-web-browsing-agents/
1•bookofjoe•52m ago•1 comments

Rust Project Perspectives on AI

https://nikomatsakis.github.io/rust-project-perspectives-on-ai/feb27-summary.html
1•vinhnx•53m ago•0 comments

A man used AI to help make a cancer vaccine for his dog

https://theconversation.com/a-man-used-ai-to-help-make-a-cancer-vaccine-for-his-dog-an-oncologist...
1•conferza•53m ago•0 comments

Rendering complex scripts in terminal and OSC 66

https://thottingal.in/blog/2026/03/22/complex-scripts-in-terminal/
1•sthottingal•55m ago•0 comments

Enigmalite: An Unusual Mineral Phenomenon

https://www.enigmalite.com
1•thunderbong•55m ago•0 comments

Impl Drop for Tensor

https://flodl.dev/blog/impl-drop-for-tensor
1•vinhnx•1h ago•0 comments

Causal driver for 'ADHD' potentially found

https://twitter.com/sameqcu/status/2035506563126063427
1•MrBuddyCasino•1h ago•0 comments