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

LipoVive: The Stimulant-Free Way to Melt Stubborn Fat (Official 2026 Batch)

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•japxnaty•23s ago•1 comments

Perfect Ottawa Hummus

https://middleeasternstreet.com/blog-detail.html?id=blog-1
1•swengcrunch•4m ago•0 comments

Show HN: Snake and Foes – The classic snake game but with enemies and power-ups

https://ivanca.github.io/snakeandfoes/
1•AmbroseBierce•4m ago•0 comments

There Isn't a Hacker Community for Fundamental Physics (and What It Tells Us)

https://old.reddit.com/r/prequantumcomputing/comments/1ragunw/why_there_isnt_a_hacker_community_f...
1•bkaminsky•6m ago•0 comments

Typed Assembly Language

https://www.cs.cornell.edu/talc/
1•luu•14m ago•0 comments

The UK tourist with a valid visa detained by ICE for six weeks

https://www.theguardian.com/us-news/2026/feb/21/karen-newton-valid-visa-detained-ice
1•n1b0m•15m ago•0 comments

Ajail: A basic jail for programs you don't trust

https://github.com/jtolio/ajail
2•todsacerdoti•15m ago•0 comments

Show HN: How much has the ad industry spent targeting you?

https://attentionworth.com/
1•withshakespeare•22m ago•0 comments

Show HN: OffKit – an iOS app blocker that adds friction

https://apps.apple.com/us/app/offkit-app-blocker/id6758268708
1•nickfthedev•27m ago•0 comments

LDOS: Toward a Learning-Directed Operating System

https://www.sigops.org/2026/ldos-toward-a-learning-directed-operating-system/
1•matt_d•28m ago•0 comments

PromptSpy ushers in the era of Android threats using GenAI

https://www.welivesecurity.com/en/eset-research/promptspy-ushers-in-era-android-threats-using-genai/
1•Cyphase•33m ago•1 comments

Colorado moves age checks from websites to operating systems

https://www.biometricupdate.com/202602/colorado-moves-age-checks-from-websites-to-operating-systems
9•iamnothere•41m ago•6 comments

Pb-ext: Enhanced PocketBase server with monitoring, logging and API docs

https://github.com/magooney-loon/pb-ext
1•thunderbong•46m ago•0 comments

Ruby Is the Best Language for Building AI Apps

https://paolino.me/ruby-is-the-best-language-for-ai-apps/
3•thunderbong•56m ago•0 comments

Back to textbooks: Denmark rolls back digital learning

https://www.france24.com/en/tv-shows/focus/20260106-back-to-textbooks-denmark-rolls-back-digital-...
1•talonx•56m ago•0 comments

Show HN: Free tool to migrate OpenAI Assistants

https://migratetoresponses.com
1•adkfusion•57m ago•0 comments

A Galaxy Composed Almost of Dark Matter Has Been Confirmed

https://www.wired.com/story/a-galaxy-composed-almost-entirely-of-dark-matter-has-been-confirmed/
1•taubek•57m ago•0 comments

Python creator Guido van Rossum asks Elon Musk what SpaceX uses for coding

https://twitter.com/elonmusk/status/2024388903869043061
1•MilnerRoute•58m ago•0 comments

Infographic of the Navy and Air Force build up nearby Iran

https://twitter.com/sentdefender/status/2024929210867839399
1•nomilk•1h ago•0 comments

Acme Weather, from the Creators of Dark Sky

https://apps.apple.com/us/app/acme-weather/id6742032583
1•gammarator•1h ago•0 comments

Free Shadcn/UI patterns for faster UI delivery

https://reui.io
2•shuxer0205•1h ago•1 comments

Show HN: Fix-my-mic – stop macOS from switching to AirPods mic every connection

https://github.com/yigitkonur/cli-disablemic
2•yigitkonur35•1h ago•0 comments

Formula: A VST for coding custom DSP inside your DAW

https://github.com/soundspear/formula
1•peteforde•1h ago•0 comments

A 3000W Water-Cooled Power Supply (With GAN and Sic) [video]

https://www.youtube.com/watch?v=da9GwXX-0Zs
1•dmmalam•1h ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•iskiifanhaaw•1h ago•0 comments

The Rolling Layoffs at Jack Dorsey's Block

https://www.wired.com/story/inside-rolling-layoffs-jack-dorsey-block/
4•Pasanpr•1h ago•0 comments

Ask HN: How would you distribute a privacy-first AI chat for teams?

1•shreyaspapi•1h ago•0 comments

Enable automatic coverage workflow setup

1•nishiohiroshi•1h ago•0 comments

Show HN: Resilient OpenClaw Browser Relay – Survives WS Drops and MV3 Restarts

https://github.com/Unayung/openclaw-browser-relay
1•unayung•1h ago•0 comments

Show HN: Stop Pasting Credentials in Slack

https://www.usevaultlink.com/
2•ankurbhugra•1h ago•0 comments