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

Waymo caught passing stopped school buses 20 times in Austin alone

https://techcrunch.com/2026/01/23/waymo-probed-by-national-transportation-safety-board-over-illeg...
1•doener•31s ago•0 comments

Russia Liquidates 71% of Its Gold Reserves to Finance War Effort

https://united24media.com/latest-news/russia-liquidates-71-of-its-gold-reserves-to-finance-war-ef...
1•doener•1m ago•0 comments

The case for e-ink displays in a high-dopamine world

2•jerr12939•3m ago•0 comments

OpenAI site errors are now generated by AI

https://openai.com/careers/software-engineer-codex-runtime-san-francisco/
3•behnamoh•5m ago•1 comments

Ask HN: Who can invite me to lobster.rs?

1•DenisDolya•5m ago•1 comments

Chemical weapons used on protestors in Iran

https://www.iranintl.com/en/202601235991
1•ukblewis•6m ago•1 comments

Shamir's Secret Sharing Explained (For Normal People)

https://www.deadhandprotocol.com/blog/shamirs-secret-sharing-explained
1•maxcomperatore•8m ago•0 comments

The First Eighteen Lines of the Waste Land (1989)

https://yalereview.org/article/hecht-eliot-waste-land
1•benbreen•12m ago•0 comments

Trendshift Stats – GitHub language trends across 20k+ curated repositories

https://trendshift.io/stats
1•Hylasca•14m ago•1 comments

ROS2 Robotics 2026: Jetson Nano or Raspberry Pi 5 Kit?

https://www.hackster.io/HiwonderRobot/ros2-robotics-2026-jetson-nano-or-raspberry-pi-5-kit-ba5299
1•chfritz•15m ago•0 comments

HN: ReguAction – Turn regulatory URLs into actionable compliance plans

https://apify.com/brazen_vanguard/reguaction-ai-compliance-regulation-analyst
1•founder_mode•17m ago•1 comments

Show HN: Animated Anthropic OS Take Home Explainer

https://twitter.com/ashebytes/status/2014767748291952776
1•ashe_mag•17m ago•0 comments

It's Time for Primary Prevention in Medicine

https://erictopol.substack.com/p/dawn-of-a-new-era-of-primary-prevention
1•brandonb•18m ago•0 comments

Tariffs took an emotional and financial toll on founders in 2025

https://www.modernretail.co/operations/quitting-wasnt-an-option-how-tariffs-took-an-emotional-and...
1•sberens•19m ago•0 comments

Show HN: Codex Self-Reflect Skill and CLI to run subagents on past Codex convos

https://github.com/olliepro/Codex-Reflect-Skill
2•olliepro•21m ago•2 comments

Show HN: My mouse was sending two clicks instead of one – I built a tester

https://oopsclick.pages.dev/
1•nirvanist•23m ago•0 comments

Ask HN: B2B or B2C?

1•eyalhadad•24m ago•0 comments

The Slow Death of Productivity: Why Time.sleep() Is Killing Your Automation

https://pypi.org/project/nano-wait/
1•LuizSeabra•26m ago•1 comments

Show HN: Collecting AI Developer Tools

https://aihunt.dev/
1•fullofdev•26m ago•0 comments

Proposal: Generic Methods for Go

https://github.com/golang/go/issues/77273
1•pansa2•27m ago•0 comments

'Organized syndicates' fraudulently access health records, lawsuit says

https://www.washingtonpost.com/health/2026/01/22/electronic-health-record-fraud-lawsuit/
1•bookofjoe•28m ago•1 comments

JWT authentication bypass in HarbourJwt via "unknown alg"

https://pentesterlab.com/blog/cve-2026-23993-harbourjwt-unknown-alg-jwt-bypass
1•mooreds•30m ago•0 comments

Justice Department Opens Criminal Probe into Silicon Valley Spy Allegations

https://www.wsj.com/us-news/law/justice-department-opens-criminal-probe-into-silicon-valley-spy-a...
2•nradov•31m ago•0 comments

Results from the 2025 Go Developer Survey

https://go.dev/blog/survey2025
3•mooreds•32m ago•0 comments

Show HN: Skill Generator – Turn terminal workflows into AI agent skills

1•ezulabs•32m ago•0 comments

A multi-entry CFG design conundrum

https://bernsteinbear.com/blog/multiple-entry/
1•ibobev•33m ago•0 comments

Infinite Random Rectangles – The Poisson Rect Process

https://www.boristhebrave.com/2026/01/22/infinite-random-rectangles-the-poisson-rect-process/
1•ibobev•33m ago•0 comments

Mana LLM OS

https://www.mana.space/
1•behzadhaghgoo•36m ago•0 comments

EV battery leader CATL set to launch first sodium-ion batteries in vehicles

https://electrek.co/2026/01/23/ev-battery-leader-plans-first-sodium-ion-batteries-passenger-cars/
3•breve•36m ago•1 comments

The Time Oxygen Almost Killed Everything [video]

https://www.youtube.com/watch?v=qERdL8uHSgI
2•mooreds•36m ago•0 comments