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!

EPConnect Software for Drone Telemetry

1•ePropelled•17s ago•0 comments

What is WCAG for PDF? A practical guide to PDF Accessibility

https://pdf4wcag.com/blog-news/what-is-wcag-for-pdf
1•JilBill•1m ago•0 comments

Gen Z are shunning private equity's restaurant takeover

https://www.theguardian.com/food/2026/sep/21/gen-z-private-equity-restaurants
1•helsinkiandrew•1m ago•0 comments

Modern Object Pascal Introduction for Programmers – Castle Game Engine

https://castle-engine.io/modern_pascal
1•birdculture•3m ago•0 comments

Christophe Laudamiel: Planted Memory, Cultivated Ethics, and More Perfumery

https://worldsensorium.com/christophe-laudamiel-planted-memory-cultivated-ethics-and-more-blossom...
1•dnetesn•3m ago•0 comments

The Remedy Around Us

https://blue-continuum.com/the-remedy-around-us
1•dnetesn•4m ago•0 comments

Show HN: Xhtml – EXpert HTML

https://xhtml.es/
2•plaguna•5m ago•0 comments

Show HN: MRR Growth Simulator

https://www.projectecho.io/tools/mrr-growth-calculator
1•hawkeye77787•5m ago•0 comments

Show HN: A free, single file 3D visualization for user/device activity data

https://github.com/SouravTeddy/3d-data-globe
1•Sourav_UncoverR•5m ago•0 comments

'Lately, my algorithm is trash'

https://news.harvard.edu/gazette/story/2026/09/lately-my-algorithm-is-trash/
1•DeepLogin•6m ago•0 comments

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•6m ago•0 comments

Clankers Made Me Build a Second Brain

https://jadarma.github.io/blog/posts/2026/09/clankers-made-me-build-a-second-brain/
1•tymscar•8m ago•0 comments

Dutch intelligence services warn AI is making cyberattacks faster and easier

https://nltimes.nl/2026/09/24/dutch-intelligence-services-warn-ai-making-cyberattacks-faster-easier
2•warrenmiller•9m ago•0 comments

Microsoft patent: "ad-credit" system to show ads without disrupting gameplay

https://www.gamesindustry.biz/microsoft-files-patent-for-ad-credit-system-to-show-ads-on-pc-and-x...
1•nickcotter•11m ago•0 comments

Open, Zero-Rent Protocol for Distributed Edge Compute and Authorized Bandwidth

https://github.com/move6729/zero-rent-protocol
1•move6729•11m ago•0 comments

Android Automotive OS for Software Defined Vehicle – Secure by Design

https://android-developers.googleblog.com/2026/08/aaos-sdv-secure-by-design.html
1•pjmlp•13m ago•0 comments

Ask HN: How do you decide which service owns sensitive data?

1•Securelytixdev•15m ago•0 comments

You gave a task 30 minutes and it took 55. What do you do with the extra 25?

https://medium.com/@vulpie.ai.support/you-gave-a-task-30-minutes-and-it-took-55-what-do-you-do-wi...
1•VulpieAi•17m ago•0 comments

Show HN: Check if it is cheaper to rent rather than buying a GPU

https://www.gpufind.cloud/rent-vs-buy
1•the_app_guy_1•17m ago•0 comments

Sprites Connectors is a great example of Terrible API Design

https://www.freestyle.sh/blog/opinion/sprites-connectors-terrible-api-design
1•benswerd•17m ago•0 comments

Ask HN: How many of you are building for edtech sector?

1•rahuljha0403•18m ago•0 comments

Show HN: Szept – talk to your AI agents and show them your screen (macOS)

https://szept.szyma.co/
1•Donmario•22m ago•0 comments

Show HN: SQLite Production Pragma Configurator

https://www.locionic.com/en/tools/sqlite-configurator
1•locionic•22m ago•0 comments

Phil Tippett Closes His Berkeley Studio

https://www.cartoonbrew.com/auctions/tippett-studio-closing-auction-266120.html
2•cobbzilla•24m ago•0 comments

Terra Fusion Builds Magnetic Mirror Fusion Reactor

https://spectrum.ieee.org/magnetic-mirror-fusion
3•rbanffy•27m ago•1 comments

The newest ESP32 can run Linux and it's getting close to a Raspberry Pi

https://www.xda-developers.com/newest-esp32-run-linux-close-to-raspberry-pi/
4•adunk•28m ago•0 comments

How to keep enjoying programming in a world of LLMs

https://discourse.haskell.org/t/how-to-keep-enjoying-programming-in-a-world-of-llms/14705
2•kqr•33m ago•0 comments

AI is dominating the conversation at Climate Week

https://www.technologyreview.com/2026/09/24/1145048/ai-climate-week/
2•joozio•35m ago•0 comments

Show HN: I Rebuilt Captcha with Jev

https://www.localcan.com/blog/build-your-own-captcha
2•jarekceborski•38m ago•0 comments

Ten AI models debated fixes for 15 problems

https://fixtheworld.io/ai/debate
1•tiago-pita•39m ago•0 comments