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•11mo 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: Just Math It. Learn math interactively

https://justmathit.com
1•allanren•46s ago•0 comments

Show HN: Backlist – an AI-generated front page for my Twitter timeline

https://backlist.sdan.io/
1•sdan•1m ago•0 comments

Italy asks EU to investigate Google AI search tools over publisher concerns

https://www.reuters.com/sustainability/society-equity/italys-media-regulator-asks-eu-investigate-...
1•1vuio0pswjnm7•1m ago•0 comments

Nccdc 2026: Same Game, New Dimensions

https://alexlevinson.wordpress.com/2026/04/30/nccdc-2026-same-game-new-dimensions/
1•ahokk•1m ago•0 comments

Gone but Not Forgotten: Recovering the Dead Web

https://blog.archive.org/2026/04/23/gone-but-not-forgotten-recovering-the-dead-web/
1•bookofjoe•2m ago•0 comments

Testing is the last workflow waiting on humans. We're revealing our fix on May 7

https://testkube.wistia.com/live/events/gigwl708fn
1•evwitmer•2m ago•0 comments

Police dismantles 9 crypto scam centers, arrests 276 suspects

https://www.bleepingcomputer.com/news/security/police-dismantles-9-crypto-investment-scam-centers...
3•Brajeshwar•3m ago•0 comments

The One Billion Dollar Billboard

https://theonebilliondollarbillboard.com/
1•esobarsenior•3m ago•0 comments

Job Search – Unreasonable Expectations

https://eric.mann.blog/job-search-unreasonable-expectations/
1•mtlynch•3m ago•0 comments

The Jevons Employment Effect from AI

https://www.apollo.com/wealth/the-daily-spark/the-jevons-employment-effect-from-ai
1•akyuu•5m ago•0 comments

Why Great Entrepreneurs Are Older Than You Think (2014)

https://www.forbes.com/sites/krisztinaholly/2014/01/15/why-great-entrepreneurs-are-older-than-you...
1•downbad_•6m ago•1 comments

Ideas for the Next GitHub [video]

https://www.youtube.com/watch?v=9YjWGXi5tDw
1•radeeyate•6m ago•0 comments

Google Sells Out

https://thezvi.substack.com/p/ai-166-google-sells-out
1•7777777phil•8m ago•0 comments

SimRefinery

https://en.wikipedia.org/wiki/SimRefinery
1•rickcarlino•9m ago•0 comments

Moss-Audio: an open-source audio understanding fine-tune of Qwen3

https://github.com/OpenMOSS/MOSS-Audio
1•subhobroto•9m ago•1 comments

AI Terminology Is Poorly Defined and Oft Misused

https://vale.rocks/posts/ai-terminology
2•gnodar•11m ago•0 comments

A new (in-dev) block-level active-active replication solution for Linux kernel

https://github.com/ionos-cloud/RMR
1•haris3301•12m ago•1 comments

Show HN: ComicInk – AI tool that turns a prompt into a full comic book

https://www.comicink.ai
1•comicink•15m ago•1 comments

Spain's parliament will act against massive IP blockages by LaLiga

https://www.democrata.es/en/politics/congress-and-senate/congress-will-act-against-massive-ip-blo...
2•akyuu•16m ago•0 comments

City Learns Flock Accessed Cameras in Children's Gym Room as a Sales Pitch Demo

https://www.404media.co/city-learns-flock-accessed-cameras-in-childrens-gymnastics-room-as-a-sale...
2•pavel_lishin•18m ago•0 comments

Can You Trust It? Open Source Framework

https://github.com/springfield40xdm/canyoutrustit
1•OpenIdiot•18m ago•0 comments

Official SAP NPM packages compromised to steal credentials

https://www.bleepingcomputer.com/news/security/official-sap-npm-packages-compromised-to-steal-cre...
7•Brajeshwar•18m ago•0 comments

Recursive Refinement

https://dheer.co/recursive-refinement/
1•bushido•18m ago•0 comments

Sources: Anthropic could raise a new $50B round at a valuation of $900B

https://techcrunch.com/2026/04/29/sources-anthropic-could-raise-a-new-50b-round-at-a-valuation-of...
3•yakkomajuri•21m ago•0 comments

I Mean, Why Shouldn't We All Smoke Cigarettes Again?

https://www.thecut.com/article/should-we-start-smoking-cigarettes-again.html
2•robtherobber•21m ago•0 comments

Fed's key inflation gauge hits 3.5% as Iran war pushes up gas prices

https://www.cnn.com/2026/04/30/economy/us-pce-fed-inflation-spending-march
1•MilnerRoute•22m ago•0 comments

Democracy's Missing Quarter

https://blog.danielyj.com/blog/demeny-voting
1•bear_with_me•23m ago•0 comments

Show HN: A 11.7KB Weather Widget Built with Vanilla JavaScript and Shadow DOM

https://wordpress.org/plugins/wfy24-weather-widget/
1•weatherfun•24m ago•0 comments

Show HN: Npx LLM-safe-haven – harden your AI coding agent in 60 seconds

https://github.com/pleasedodisturb/llm-safe-haven
1•pleasedodisturb•25m ago•0 comments

US Economy Grows 2%, Boosted by Surging AI Investment

https://www.bloomberg.com/news/articles/2026-04-30/us-gdp-rose-2-in-early-2026-in-sign-of-economy...
3•alephnerd•25m ago•2 comments