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

Private Prosecution of Israeli Soldier Thrown Out

https://www.uklfi.com/private-prosecution-of-israeli-soldier-thrown-out
1•EvgeniyZh•1m ago•0 comments

The Story of Mel (1983)

http://www.catb.org/jargon/html/story-of-mel.html
1•SergeAx•6m ago•0 comments

Claude Opus 4.7 Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/claude-opus-4-7
30•Topfi•7m ago•0 comments

An Electronic Conversationalist (and the Machine Replied...) (1962)

https://archive.org/details/DTIC_AD0400016
1•the-mitr•9m ago•0 comments

Why higher pay hasn't made young adults feel richer

https://www.ft.com/content/b61f60a3-d4d7-46d9-aa6f-dd78dffe71f5
1•merksittich•13m ago•0 comments

Detect, Diagnose, and Debug Using Sensors and Functional Monitoring

https://semiengineering.com/detect-diagnose-and-debug-using-sensors-and-functional-monitoring/
1•PaulHoule•13m ago•0 comments

Why your company will never scale (or maybe why it will)

1•xunairah•14m ago•1 comments

Show HN: VolcAPI run your OpenAPI spec as a test suite from the terminal

1•aliamer99•15m ago•1 comments

How do you manage your startup's?

1•arhammirkar1•20m ago•0 comments

Show HN: I built Panda to get up to 99% token savings

https://github.com/AssafWoo/homebrew-pandafilter
1•AssafPetronio•26m ago•0 comments

Behind the Screens

https://behind-the-screens.tv/#ww1
1•jgrahamc•26m ago•0 comments

A Continuous Delivery Playbook for Regulated Industries

https://www.youtube.com/watch?v=iHJfhL6PFEg
1•RebootStr•31m ago•0 comments

Sorting 1M u64 KV-pairs in 20ms on i9-13980HX using a branchless Rust impl

2•EfurDec•32m ago•0 comments

Go Tool Task

https://taskfile.dev/blog/go-tool-task
1•andreynering•32m ago•0 comments

Physics, Topology, Logic and Computation: A Rosetta Stone

https://arxiv.org/abs/0903.0340
1•lioeters•36m ago•0 comments

An open-source long-horizon SuperAgent harness that researches,codes and creates

https://github.com/bytedance/deer-flow
1•LelouBil•37m ago•1 comments

CSS Layout Pioneers

https://www.webdesignmuseum.org/css-layout-pioneers
3•carlos-menezes•43m ago•0 comments

From Craft to Scale

https://unlockedvalue.substack.com/p/craft-to-scale
1•T-A•43m ago•0 comments

New metric shows renewables are 53% cheaper than nuclear power

https://www.pv-magazine.com/2026/04/17/new-metric-shows-renewables-are-53-cheaper-than-nuclear-po...
2•xbmcuser•48m ago•1 comments

Today I shipped 20 apps and a screensaver

https://blog.gingerbeardman.com/2026/04/17/today-i-shipped-twenty-apps-and-a-screensaver/
1•ingve•48m ago•0 comments

After a saga of broken promises, a European rover has a ride to Mars

https://arstechnica.com/space/2026/04/after-a-saga-of-broken-promises-a-european-rover-finally-ha...
2•rbanffy•59m ago•0 comments

ADSY1100-Series: RF System-on-Module Assemblies

https://www.microwavejournal.com/articles/43161-adsy1100-series-rf-system-on-module-assemblies
1•teleforce•1h ago•1 comments

TTL Exceeded – In Memory of FX

https://phenoelit.de/fx.html
1•walterbell•1h ago•0 comments

All the Humans Have Left

https://ad301.org/blog/all_the_humans_have_left.php
1•ar_da•1h ago•0 comments

I wrote a Python compiler in Rust – runs in the browser, no server in just 100kb

https://demo.edgepython.com/
1•dylansuttonc•1h ago•0 comments

Cloudflare can remember it for you wholesale

https://www.theregister.com/2026/04/18/cloudflare_agent_memory/
2•omer_k•1h ago•0 comments

You pay for the Claude API. I build you 5 referral partners

https://www.indiehackers.com/post/you-pay-for-the-claude-api-i-build-you-5-referral-partners-2936...
4•janwinum•1h ago•0 comments

Shadow AI in Government Advisory Roles Has No Disclosure Requirement

https://liminaldr.substack.com/p/who-moderated-the-lamp
1•BlendedPanda•1h ago•1 comments

Beyond C: wrapping Dear ImGui in Swift with zero FFI

https://carette.xyz/posts/swift_cpp_compatibility_with_raylib_and_imgui/
1•LucidLynx•1h ago•0 comments

It's OK to compare floating-points for equality

https://lisyarus.github.io/blog/posts/its-ok-to-compare-floating-points-for-equality.html
2•birdculture•1h ago•0 comments