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!

Show HN: An iOS budget app I've been maintaining since 2011

https://primoco.me/en/
1•Priotecs•1m ago•0 comments

Earn Money and Take a Shower

https://gagadget.com/en/691597-earn-money-and-take-a-shower-the-superheat-h1-boiler-which-heats-w...
1•majkinetor•3m ago•0 comments

Ten Papers That Built the AI We Have Today

https://deadneurons.substack.com/p/ten-papers-that-built-the-ai-we-have
1•nr378•4m ago•0 comments

IsoCity is a open-source isometric city-building simulation game

https://github.com/amilich/isometric-city
1•Brajeshwar•4m ago•0 comments

A pink aesthetic wallpaper hub for makers/creators, with built-in AI edit tools

1•xiaolu627•5m ago•0 comments

Mississippi Transformed Its Schools from Worst to Best

https://www.nytimes.com/2026/01/11/us/mississippi-schools-transformation.html
1•jbredeche•6m ago•0 comments

We update our credit pricing from $4 to $5 per PR as of today due to increasing

https://gitauto.ai/blog/how-to-open-pull-requests-from-github-issues
1•nishiohiroshi•8m ago•0 comments

Show HN: Pdftl – pdftk in Python with pipelines, AES-256, geometry and more

https://github.com/pdftl/pdftl
1•pdftl-dev•8m ago•1 comments

We were tricked: How one woman lures foreign men to fight on Russia's front line

https://www.bbc.com/news/articles/ce9yv4gmn9lo
1•breve•10m ago•0 comments

Claims about AI productivity improvements

https://marginalrevolution.com/marginalrevolution/2026/01/claims-about-ai-productivity-improvemen...
1•smitty1e•14m ago•0 comments

Show HN: What is wrong with the current coding agent workflow

https://phantomx.dev/blog/What-is-wrong-with-current-coding-agent-workflow/
2•daemon_9009•16m ago•0 comments

AWS Lambda for GenAI: The Real-World Architecture Guide (2026 Edition)

https://www.rack2cloud.com/aws-lambda-genai-architecture-guide/
1•NTCTech•16m ago•0 comments

Hegseth Announces Grok Access to Classified Pentagon Networks

https://www.newsweek.com/hegseth-announces-grok-access-to-classified-pentagon-networks-11349020
5•_____k•20m ago•1 comments

Apple: You (Still) Don't Understand the Vision Pro

https://stratechery.com/2026/apple-you-still-dont-understand-the-vision-pro/
2•verganileonardo•22m ago•1 comments

Ralph Wiggum went from 'The Simpsons' to the biggest name in AI

https://venturebeat.com/technology/how-ralph-wiggum-went-from-the-simpsons-to-the-biggest-name-in...
1•doppp•24m ago•0 comments

I Got Scammed

https://future.forem.com/om_shree_0709/i-almost-fell-for-a-last-wish-scam-heres-what-you-need-to-...
1•OmShree0709•24m ago•1 comments

Forward Compatible Unions in TypeScript

https://www.speakeasy.com/blog/open-unions-typescript-type-theory
1•mfbx9da4•24m ago•0 comments

Most Popular Computer Operating Systems 1981 – 2025 [video]

https://www.youtube.com/watch?v=COEyINLyAsE
1•lutusp•29m ago•1 comments

Ask HN: What's the best solution to query a code repository as of today?

1•epolanski•30m ago•0 comments

Show HN: Watchfolio – TV show ratings as stock market charts

https://watch-folio.vercel.app/
1•abishekvenkat•30m ago•0 comments

Servo is starting to become usable

https://book.servo.org/building/building.html
2•hagbard_c•31m ago•1 comments

Hybrid Search in PostgreSQL: The Missing Manual

https://www.paradedb.com/blog/hybrid-search-in-postgresql-the-missing-manual
1•thunderbong•32m ago•0 comments

Meta Plans to Cut Around 10% of Employees in Reality Labs Business

https://www.nytimes.com/2026/01/12/technology/meta-layoffs-reality-labs.html
4•_____k•34m ago•1 comments

Russian Trademark Poachers Are Targeting Brands Like Armani and Amazon

https://www.bloomberg.com/news/articles/2025-11-13/russian-trademark-poachers-target-brands-like-...
1•throwaway290•36m ago•0 comments

Jangoro – A decision ledger for product teams

https://jangoro.com
1•isaaksmart•37m ago•1 comments

Mark Zuckerberg says Meta is launching its own AI infrastructure initiative

https://finance.yahoo.com/news/mark-zuckerberg-says-meta-launching-214443279.html
1•_____k•37m ago•0 comments

Rethinking Helix

https://asta.boserup.eu/forest/rethinking-helix/
2•birdculture•41m ago•0 comments

U.S. Emissions Jumped in 2025 as Coal Power Rebounded

https://www.nytimes.com/2026/01/13/climate/us-emissions-2025-coal-power.html
17•fleahunter•42m ago•1 comments

Domains and Resources in Ash for Elixir

https://blog.appsignal.com/2026/01/13/domains-and-resources-in-ash-for-elixir.html
1•amalinovic•42m ago•0 comments

UK Expands Online Safety Act to Mandate Preemptive Scanning

https://reclaimthenet.org/uk-expands-online-safety-act-to-mandate-preemptive-scanning
5•aftergibson•42m ago•0 comments