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

The Tailwind in "Strong" 2025 Returns: A Weaker Dollar

https://nicolaswalker.com/experiments/base
1•nickwalker•47s ago•0 comments

Show HN: No AI tool could annotate my files and cite text accurately

https://old.reddit.com/r/LLMDevs/comments/1sbusn8/new_pdfviewer_notes_panel_search_downloader_tool/
1•ieuanking•1m ago•0 comments

RIP (finally) to the blockchain hype (2025)

https://www.cio.com/article/3838169/rip-finally-to-the-blockchain-hype.html
1•bariumbitmap•2m ago•0 comments

Experts rank nature's most painful stings

https://www.bbc.com/future/article/20260406-whats-the-most-painful-sting-in-the-world
1•1659447091•3m ago•0 comments

A Close Look at Security Envelope Patterns

https://www.inconspicuous.info/p/a-close-look-at-security-envelopes
1•adamfuhrer•3m ago•0 comments

Show HN: A Zod alternative with runtime schema introspection

https://docs.cleverbrush.com
1•andrew_zol•4m ago•0 comments

Tool to Export X Bookmarks (Free) & Categorize Them

1•xarchive•6m ago•0 comments

Some Rays of Sunshine Pass Through the Human Body

https://lightdoctormartinmooreede.substack.com/p/some-rays-of-sunshine-pass-through
1•bilsbie•6m ago•0 comments

Show HN: Pitlane — Open platform that takes AI agents from prompt to production

https://www.getpitlane.com
1•Gsollet1•7m ago•0 comments

DeepMind's paper on p0wning Claws and what we learned

https://suthakamal.substack.com/p/your-claw-has-a-backdoor
1•suthakamal•9m ago•0 comments

Show HN: Imaysellit – Buyers make offers, not fixed prices

https://imaysellit.com/
1•imaysellit•10m ago•0 comments

Bipartisan calls to remove Trump from office grow over Iranian 'genocide' threat

https://www.yahoo.com/news/articles/bipartisan-calls-remove-trump-office-180848465.html
9•MilnerRoute•11m ago•0 comments

Is your app idea worth building?

https://www.build-check.com/
2•germerlo•11m ago•0 comments

"I got an email from Mythos Preview while eating a sandwich in a park."

https://twitter.com/i/status/2041584808514744742
1•blinding-streak•11m ago•1 comments

A DNA Archive Built to Identify Missing Migrants Has Vanished

https://undark.org/2026/04/07/missing-migrants-dna-database/
2•EA-3167•13m ago•0 comments

Genetic architecture of sleep in a GWAS of wearable-measured sleep traits

https://www.nature.com/articles/s41467-026-71252-y
1•brandonb•14m ago•0 comments

Neglect of the modern Invoice

https://www.withsahel.com/blog/own-your-invoicing-value-communication
1•iajiboye•15m ago•1 comments

Hollywood in the 60s and the Good AI Future

https://opcraft.co/writing/2026/04/getting-the-good-ai-future/
2•velcrovan•17m ago•1 comments

Japan Needs More Oil and Gas. US Drillers Need Capital. Why Aren't They Meeting?

https://www.governance.fyi/p/japan-and-east-asia-investing-more
3•bigbobbeeper•22m ago•0 comments

Free models you can use with your OpenClaw (no credit card needed)

1•stosssik•22m ago•0 comments

Query and manage Marketplace databases from the dashboard

https://vercel.com/changelog/query-and-manage-marketplace-databases-from-the-dashboard
1•stosssik•23m ago•0 comments

The Biggest Oil Disruption in History Is Accelerating the Energy Transition

https://oilprice.com/Energy/Energy-General/The-Biggest-Oil-Disruption-in-History-Is-Accelerating-...
2•toomuchtodo•23m ago•0 comments

Claude Is Dead

https://www.javiertordable.com/claude-is-dead/
2•tordable•24m ago•2 comments

The builder who changed how we keep time

https://www.bbc.com/news/articles/cd9vxg95ze2o
1•megamike•24m ago•0 comments

Goo That Does Things

https://asimai.substack.com/p/the-sentient-soup-of-the-future
1•abhinavsns•28m ago•0 comments

Did Airbnb, Medium, Beats, and Flipboard Rip Off Their Logos? (2016)

https://thehustle.co/airbnb-medium-beats-flipboard-logo
1•bookofjoe•29m ago•0 comments

List of programing languages that compile to Go

https://github.com/ubavic/compiles-to-go
1•ubavic•31m ago•0 comments

Fox to Integrate Kalshi Forecasts Across Fox News Media and Fox One Platforms

https://news.kalshi.com/p/fox-kalshi-partnership-prediction-market-data-integration
3•ChrisArchitect•32m ago•2 comments

Bitcoin on the Home Server: Sovereignty with Coldcard, Sparrow and Fulcrum

https://akitaonrails.com/en/2026/04/01/bitcoin-on-the-home-server-sovereignty-with-coldcard-sparr...
1•akitaonrails•34m ago•1 comments

RSoC 2026: A new CPU scheduler for Redox OS

https://www.redox-os.org/news/rsoc-dwrr/
5•akyuu•36m ago•0 comments