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

Show HN: icantmarket – A verified help exchange for devs who can't market

https://icantmarket.com/
1•pranabsarkar•1m ago•0 comments

StarMapper, see where your GitHub stargazers live on a map (free, OSS

https://starmapper.bruniaux.com
1•FlorianBruniaux•1m ago•0 comments

Apple has released an update to XProtect for all macOS

https://eclecticlight.co/2026/06/02/apple-has-released-an-update-to-xprotect-for-all-macos-35/
1•speckx•2m ago•0 comments

Microsoft's MAI-Image-2.5 is #3 on Image Arena

https://microsoft.ai/models/mai-image-2-5/
1•EvanZhouDev•2m ago•0 comments

Show HN: Lateos/NPM-scan – open-source NPM supply chain scanner, v0.18.3

https://www.npmjs.com/package/@lateos/npm-scan
1•lateos-ai•4m ago•0 comments

Ditching the agent sandbox for AWS S3 Files

https://falconer.com/notes/how-falconer-powers-agents-with-aws-s3-files/
6•iamgioh•6m ago•0 comments

Microsoft Releases MAI-Thinking-1 Reasoning Model

https://www.theverge.com/tech/941664/microsoft-ai-model-reasoning-mai-thinking-1-build-2026
2•EvanZhouDev•7m ago•0 comments

Netflix uses Java – 2026 Edition [video]

https://www.youtube.com/watch?v=ucJTPda_zx0
1•dzonga•8m ago•0 comments

Show HN: Map of 5000 YC Startups

https://platoseed.com/the-map
1•mdb19•9m ago•0 comments

Sharing the result of a single Windows Runtime IAsyncOperation

https://devblogs.microsoft.com/oldnewthing/20260527-00/?p=112361
1•ibobev•9m ago•0 comments

Pix 2605.28-preview: previewing new PIX and D3D12 features

https://devblogs.microsoft.com/pix/pix-2605-28-preview/
1•ibobev•10m ago•0 comments

Microsoft Announces AI Autopilot

https://www.computerworld.com/article/4180103/microsoft-unveils-scout-an-autonomous-ai-agent-buil...
2•EvanZhouDev•11m ago•0 comments

Devit Launch

https://devit-six.vercel.app/
1•Sarano_Smith•11m ago•0 comments

What AI slop (on LinkedIn and elsewhere) now reads like

https://magarshak.com/blog/the-one-insight-that-separates-high-performers-from-everyone-else-its-...
1•EGreg•12m ago•0 comments

Watching a Z80 from an RP2350

https://emalliab.wordpress.com/2026/05/26/watching-a-z80-from-an-rp2350/
1•ibobev•12m ago•0 comments

Show HN: Convenient Chrome Extension for Research

https://chromewebstore.google.com/detail/bioscript-ai-copilot-for/aceognniacnjeeheeklijckngdfchdmk
1•kykan•12m ago•0 comments

Police in China Expanding Smart Glasses Usage

https://www.chinadaily.com.cn/a/202605/26/WS6a14fe32a310d6866eb4ab8a.html
4•jhonovich•13m ago•0 comments

Bricking Microsoft Office 2019

https://mjtsai.com/blog/2026/06/02/bricking-microsoft-office-2019/
2•tambourine_man•14m ago•0 comments

NASA's Webb Reveals Black Hole That Formed Before Its Galaxy

https://science.nasa.gov/missions/webb/nasas-webb-reveals-black-hole-that-formed-before-its-galaxy/
1•leephillips•15m ago•0 comments

We've re-built Conductor from scratch to make it twice as fast

https://performance.dev/the-conductor-rewrite
1•Charlieholtz•15m ago•0 comments

The Way the World Searches for Extraterrestrial Life May Hold Back Discoveries

https://time.com/article/2026/06/01/scientists-overlooking-signs-of-extraterrestrial-life-study/
1•bookofjoe•15m ago•0 comments

No Let, No Rec, No Problem: A Gentler Introduction to the Y and Z Combinators

https://irfanali.org/blog/zcom
1•sayyadirfanali•18m ago•0 comments

Raspberry Pi 6 won't arrive before 2028 (and it won't have an NPU)

https://www.omgubuntu.co.uk/2026/05/raspberry-pi-6-2028-no-npu
2•naves•19m ago•0 comments

Show HN: TidyPress – Git-native CLI from Markdown to a static site you own

https://github.com/Raphjacksun7/tidypress
1•raphjacksun•19m ago•0 comments

How does electricity get to my wall socket?

https://civilizationscalelevers.substack.com/p/how-does-electricity-get-to-my-wall
1•sebg•19m ago•0 comments

Codexia: "IDE" for Codex and Claude Code

https://github.com/milisp/codexia/
1•adamnemecek•20m ago•0 comments

Morningstar values SpaceX at $780B, half its IPO target

https://www.reuters.com/business/media-telecom/morningstar-values-spacex-780-billion-half-its-ipo...
27•berkeleyjunk•20m ago•18 comments

Goodbye Pi

https://www.s-config.com/goodbye-pi/
3•speckx•21m ago•0 comments

Will Elon Musk's $2T IPO Break Index Fund Investing? [video]

https://www.youtube.com/watch?v=5_EYTpVFK1Q
3•abhaynayar•26m ago•0 comments

Hermes Desktop

https://hermes-agent.nousresearch.com/desktop
2•thunderbong•26m ago•0 comments