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!

Some Meta employees were told to work remotely for the day as layoffs loom

https://www.businessinsider.com/meta-employees-work-remotely-email-layoffs-hr-wfh-2026-3
1•kpw94•34s ago•0 comments

Flowing with Agents with Beyang Liu, CTO of Sourcegraph

https://changelog.com/podcast/658
1•fagnerbrack•3m ago•0 comments

I prepare for high-stakes technical AI demos

https://katecatlin.substack.com/p/how-i-prepare-for-high-stakes-technical
1•mooreds•4m ago•0 comments

Software Engineers Make Productive Decisions (without slowing the team down)

https://strategizeyourcareer.com/p/how-software-engineers-make-productive-decisions
1•fagnerbrack•4m ago•0 comments

The Trials of Satya Nadella

https://www.newcomer.co/p/the-trials-of-satya-nadella
1•imartin2k•4m ago•0 comments

How Reading books regulates your nervous system

https://bigthink.com/mind-behavior/how-reading-books-regulates-your-nervous-system/
1•the-mitr•7m ago•0 comments

Brewdog founder admits 'many mistakes' as hundreds lose jobs in sale

https://www.bbc.com/news/articles/cze00ddyw27o
1•mooreds•8m ago•0 comments

Typing Speed Might Matter Now

https://jarbus.net/blog/typing-speed-might-matter-now/
1•jarbus•13m ago•1 comments

ToolTrust Scanner – detect backdoored MCP packages (litellm 1.82.8)

https://github.com/AgentSafe-AI/tooltrust-scanner
1•brian93512•15m ago•0 comments

AI automation is quietly de-skilling white-collar workers

https://www.inc.com/andrea-olson/how-ai-automation-is-quietly-deskilling-white-collar-workers/913...
1•ryan_j_naughton•19m ago•0 comments

Show HN: Pixelbeat – A pixel-art terminal music player daemon written in Rust

https://github.com/Dylanwooo/pixelbeat
1•Dylanwoo•21m ago•0 comments

Implementing automatic eSIM installation on Android

https://medium.com/proandroiddev/integration-of-automatic-esim-installation-on-android-6c5f6d7124cb
9•nesterenkopavel•24m ago•0 comments

MirageOS – Build Unikernels in OCaml

https://mirage.io/
3•h4ch1•26m ago•1 comments

iStat Menus < 7.20.5 local privilege escalation

https://markuta.com/istat-menus-local-privilege-escalation/
1•jandeboevrie•33m ago•0 comments

D B Smith says "Einstein dead" and releases full stack of revolutionary papers

https://zenodo.org/records/19212785
2•tintweezl•34m ago•0 comments

Saving money by switching from PHP to D (2019)

https://dlang.org/blog/2019/09/30/saving-money-by-switching-from-php-to-d/
1•teleforce•39m ago•0 comments

Self-Parking Car Evolution

https://trekhleb.dev/self-parking-car-evolution/
1•trekhleb•39m ago•0 comments

Remove curl and wget aliases from PowerShell

https://github.com/PowerShell/PowerShell/pull/1901
1•tuananh•47m ago•0 comments

Pseudo-3D Photo Maker – iOS App

https://apps.apple.com/us/app/ioutbox-pseudo-3d-photo-maker/id6760662310
1•dares2573•53m ago•0 comments

Show HN: Travelwithsira: Find Cheapest Flights

https://travelwithsira.com/
1•malwaregeeeek•54m ago•0 comments

PyHanko: Cryptographically sign and verify PDF files

https://github.com/MatthiasValvekens/pyHanko
2•colonCapitalDee•57m ago•1 comments

1929: Inside the Greatest Crash in Wall Street History

https://www.nybooks.com/articles/2026/03/26/tick-tick-boom-1929-andrew-ross-sorkin/
3•mitchbob•1h ago•1 comments

Meadow: An ultra-compact smartphone without web browser, social media or email

https://www.notebookcheck.net/The-Meadow-launches-as-an-ultra-compact-smartphone-without-web-brow...
2•thunderbong•1h ago•0 comments

TurboQuant: Redefining AI efficiency with extreme compression

https://research.google/blog/turboquant-redefining-ai-efficiency-with-extreme-compression/
14•ray__•1h ago•0 comments

Iran camera network to control dissent turned into Israel targeting tool

https://apnews.com/article/iran-war-security-cameras-surveillance-5f9a1fe5845d94894f3edd50af560d3a
3•divbzero•1h ago•0 comments

Keryx – One TypeScript action class, five transports (HTTP, WS, CLI, MCP, tasks)

https://www.keryxjs.com/
3•evantahler•1h ago•0 comments

VMware – Strengthening the Cloud-Native Ecosystem Through Upstream Collaboration

https://blogs.vmware.com/cloud-foundation/2026/03/23/strengthening-the-cloud-native-ecosystem-thr...
2•donutshop•1h ago•0 comments

China mapping the ocean floor as it prepares for submarine warfare with the US

https://www.japantimes.co.jp/news/2026/03/24/asia-pacific/politics/china-ocean-submarine-warfare-us/
8•anigbrowl•1h ago•0 comments

Ask HN: Is Google AI overview good enough now?

7•coldtrait•1h ago•3 comments

Ask HN: Is anyone here giving their MCP server a code execution environment?

3•steadyelk•1h ago•1 comments