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!

What's new in JavaScript (and what's coming next)

https://neciudan.dev/whats-new-in-javascript
1•thunderbong•4m ago•0 comments

Flipbook – self hosted static viewers for media, documents and browser replays

https://flipbook.browserbox.io/
1•keepamovin•5m ago•0 comments

ElastAlert is dead, long live Clickdetect

https://clickdetect.souzo.me/blog/2026/04/19/elastalert-is-dead-long-live-clickdetect/
1•souzo•7m ago•0 comments

For $700 a Month, Sleeping Pods Make SF More Affordable

https://www.kqed.org/news/12080289/700-a-month-sleeping-pods-make-sf-more-affordable-but-at-what-...
1•harambae•7m ago•0 comments

Computerising Hyerogliphic Scripts [video]

https://www.youtube.com/watch?v=Vhx-hRyh6BM
1•downboots•7m ago•0 comments

Linkages to Trisect an Angle

http://www.takayaiwamoto.com/Greek_Math/Trisect/Linkage/Linkage_Tri.html
1•downboots•9m ago•0 comments

Pepperlot

https://pepperlot.com
1•alexrusulot•11m ago•0 comments

When oil prices spike, where does the money go?

https://theconversation.com/when-oil-prices-spike-where-does-the-money-go-280763
2•thelastgallon•11m ago•0 comments

Pressure, Temperature, and Phase Changes Within Supercritical CO2 Pipelines

https://www.mdpi.com/2227-9717/14/7/1039
2•PaulHoule•11m ago•0 comments

Windows 9x Subsystem for Linux

https://codeberg.org/hails/wsl9x
1•pabs3•13m ago•1 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
2•maxloh•13m ago•0 comments

A Generation Lost in the Bazaar – Quality happens when someone is responsible (2012)

https://queue.acm.org/detail.cfm?id=2349257
1•pabs3•15m ago•0 comments

Photographing Rocket Chute Deployment at 10 Km

https://hackaday.com/2026/04/22/photographing-rocket-chute-deployment-at-10-km/
1•y1n0•17m ago•0 comments

Test-foundry – QEMU-based Windows VM testing for kernel drivers and UEFI apps

https://github.com/jc-lab/test-foundry
2•joseph2024•17m ago•1 comments

Habitual coffee intake modifies host physiology and cognition

https://www.nature.com/articles/s41467-026-71264-8
1•gogobio•18m ago•1 comments

FlashDrive: Flash Vision-Language-Action Inference for Autonomous Driving

https://z-lab.ai/projects/flashdrive/
1•gmays•19m ago•0 comments

Microsoft looked at buying Cursor before SpaceX deal

https://www.cnbc.com/2026/04/22/microsoft-looked-at-buying-cursor-before-spacex-deal-sources-say....
1•mfiguiere•21m ago•0 comments

XAIDR – first runtime benchmark for agent-to-agent attack detection

https://github.com/anirudhraokotaru/xaidr-benchmark
2•delphisec•22m ago•0 comments

Let's Simulate the Org Charts Meme with Agents and See Who Wins

https://kunchenguid.substack.com/p/org-bench-lets-simulate-the-org-charts
1•bpierre•22m ago•0 comments

Fatty acid could restore failing vision

https://www.sciencedaily.com/releases/2026/04/260422091043.htm
2•y1n0•25m ago•0 comments

Job Is to Give a Shit

3•danfunk•28m ago•1 comments

Orthogravity [Desktop Webgame]

https://app-b5dj4l0ji2gx.appmedo.com/
1•mrKola•28m ago•0 comments

TeraFab facilities will use Intel's 14A process

https://www.tomshardware.com/tech-industry/semiconductors/elon-musk-says-terafab-will-use-intels-...
2•y1n0•29m ago•0 comments

Bruce Davidson – His landmark Subway series and his path to Magnum

https://www.youtube.com/watch?v=8KmDB4VHpzQ
1•fallinditch•29m ago•0 comments

ICE Got My Data – EFFector 38.8

https://www.eff.org/deeplinks/2026/04/how-ice-got-my-data-effector-388
4•omer_k•34m ago•1 comments

Vibe Genomics

https://vibe-genomics.replit.app/
1•jedixit•35m ago•0 comments

Database Turing Award Winner Mike Stonebraker [video]

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

SportScore MCP – free live sports data for Claude

https://github.com/Backspace-me/sportscore-mcp
1•sportscore•45m ago•0 comments

Show HN: Stenobird, podcast transcription service for your agent

https://stenobird.com
1•somewhatjustin•46m ago•0 comments

Z.ai phasing out original subscription plans

https://docs.z.ai/devpack/transition
1•reddec•47m ago•0 comments