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!

An Interview with Mistral CEO Arthur Mensch

https://www.economist.com/insider/inside-tech/an-interview-with-arthur-mensch
1•petethomas•1m ago•0 comments

Teleparallel Gravity: From Theory to Cosmology(2021)

https://arxiv.org/abs/2106.13793
1•rolph•4m ago•0 comments

Piuma – A minimal, feather-weight, site builder in Go

https://github.com/sprawz/piuma
1•H501•9m ago•0 comments

Learning games for the proof assistant Lean

https://adam.math.hhu.de/
1•marvinborner•10m ago•0 comments

Dally – a privacy first – routine app

https://apps.apple.com/us/app/dally-365/id6772557608
1•totaldude87•11m ago•0 comments

Lo and Co's Duet Collection: Mixing metals in hardware design

https://design-milk.com/lo-co-duet-mixed-metals-hardware/
1•whiteblossom•12m ago•0 comments

Brazil's Pix payments system in Trump's crosshairs

https://www.ft.com/content/efbec9a7-a3d9-45e6-8ade-c0660f31ecc7
1•petethomas•13m ago•0 comments

MySysInfo API – 20 Browser Fingerprinting Signals as JSON API, SDK None

https://mysysinfo.com/api-access
1•hackstar•13m ago•0 comments

I Built Autosubmit.to Because Launching a Product Shouldn't Take Hours

https://autosubmit.to/
1•benspak•16m ago•0 comments

How to Spot an El Niño

https://threetalkingheads.com/2026/07/14/how-to-spot-an-el-nino/
3•willmeyers•17m ago•0 comments

URLs: Uniform Resource Locators or Unreliable Resource Locators [pdf]

https://pdfs.semanticscholar.org/1d77/079f91137a83e6d81d9aa1170161f910664d.pdf
1•jambalaya8•17m ago•1 comments

GPT-5.6 is now the preferred model in Microsoft 365 Copilot

https://openai.com/index/gpt-5-6-preferred-model-microsoft-365-copilot/
2•doppp•27m ago•0 comments

Is the UK missing out on the solopreneur boom?

https://www.stripeeconomics.com/p/is-the-uk-missing-out-on-the-solopreneur
3•mellosouls•31m ago•0 comments

TS-2026-009: Insecure argument handling in Tailscale SSH permitted root access

https://tailscale.com/security-bulletins
18•jervant•32m ago•2 comments

The Logistics of Funding North Korean E-Wallets

https://www.38north.org/2026/07/the-logistics-of-funding-north-korean-e-wallets/
2•EA-3167•39m ago•0 comments

Show HN: Vehir – a platform built for AI agents: compiler, microkernel, CAS

https://github.com/grigoriitropin/vehir-platform
2•dewdgi•39m ago•0 comments

Read a book 703 words at a time

2•cliniborg•43m ago•0 comments

House Votes for Permanent Daylight Saving Time

https://www.nytimes.com/2026/07/14/us/politics/house-daylight-savings-time-sunshine-protection-ac...
5•donohoe•44m ago•0 comments

CoreWeave explores Wall Street playbook to hedge memory-chip price risk

https://www.reuters.com/world/ai-cloud-company-coreweave-explores-wall-street-playbook-hedge-memo...
2•ilreb•47m ago•0 comments

Texas factory cost $469M using old equipment, makes zero artillery shells

https://taskandpurpose.com/news/texas-ammo-factory-zero-shells/
6•ilamont•47m ago•1 comments

Talbot Green man sentenced for offences associated with swatting

https://www.tarianrocu.org.uk/news/talbot-green-man-sentenced-swatting-offences/
2•gnabgib•48m ago•0 comments

Microsoft emails Windows 10 holdouts: Fine, keep your old PC another year

https://www.theregister.com/os-platforms/2026/07/13/microsoft-emails-windows-10-holdouts-fine-kee...
5•Bender•49m ago•3 comments

Welsh Doxbin admin jailed for egging on swatters from behind a screen

https://www.theregister.com/security/2026/07/14/welsh-doxbin-admin-jailed-for-egging-on-swatters-...
4•Bender•50m ago•2 comments

Abraham Verghese's New Fable

https://www.nytimes.com/2023/05/02/books/review/covenant-of-water-abraham-verghese.html
2•Alien1Being•52m ago•1 comments

I Use HTML with Java

https://frequal.com/Flavour/book.html
3•TeaVMFan•53m ago•1 comments

Hands off our VPNs, privacy groups tell UK ministers

https://www.theregister.com/networks/2026/07/14/hands-off-our-vpns-privacy-groups-tell-uk-ministe...
4•Bender•53m ago•0 comments

I scanned 10 MCP servers – here's what agents can't know before connecting

https://github.com/davidnichols-ops/trustcard
2•davidnicholsops•54m ago•0 comments

Render.com Is Down

https://status.render.com
4•kaypee901•54m ago•0 comments

Rebase – weekly live gameshow for devs

https://rebase.tv/
3•thdxr•1h ago•0 comments

What If the Youth Crisis of Mental Health and Attention Never Happened?

https://grimoiremanor.substack.com/p/what-if-the-youth-crisis-of-mental
4•paulpauper•1h ago•0 comments