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!

Energy fallout from Iran war signals a global wake-up call for renewable energy

https://apnews.com/article/middle-east-wars-renewable-energy-asia-4b5fe0693ce5816472c905db85f7da6e
1•petethomas•1m ago•0 comments

US Takes Down Botnets Used in Record-Breaking Cyberattacks

https://www.wired.com/story/us-takes-down-botnets-used-in-record-breaking-cyberattacks/
1•jbegley•1m ago•0 comments

Models are optimizing their own tooling

https://cyrusradfar.com/thoughts/self-optimizing-models
1•cyrusradfar•4m ago•1 comments

AI agent escapes sandbox and mines crypto

https://www.tomshardware.com/tech-industry/artificial-intelligence/crafty-ai-tool-caught-repurpos...
1•wiradikusuma•6m ago•0 comments

Show HN: RunOnce – Run one-off LLM scripts from Windows context menu

https://apps.microsoft.com/detail/9nx07brmkgh2?hl=en-US&gl=US
2•alwaysredown•9m ago•0 comments

Horizon Quantum Debuts ObjectOriented Language for Programming Quantum Computers

https://www.horizonquantum.com/resources/newsroom/horizon-quantum-to-debut-object-oriented-langua...
1•austinallegro•15m ago•0 comments

Trivy Compromised a Second Time – v0.69.4 binaries, setup-trivy, trivy-action

https://www.stepsecurity.io/blog/trivy-compromised-a-second-time---malicious-v0-69-4-release
3•dotty-•19m ago•0 comments

Authorities disrupt largest IoT DDoS botnets

https://www.justice.gov/usao-ak/pr/authorities-disrupt-worlds-largest-iot-ddos-botnets-responsibl...
1•Imustaskforhelp•19m ago•0 comments

Test: -/

1•WaterRun•22m ago•1 comments

Final Testing Phase of Tesla FSD (Supervised) in EU

https://twitter.com/i/status/2034872940542800361
2•denysvitali•23m ago•1 comments

30 Days in China's California

https://www.cocreate.cafe/stories/30%20Days%20in%20China%27s%20California
1•serenityux•25m ago•1 comments

Orange built an API where AI agents can test apps and submit feedback

https://github.com/ORANGEWEB3/orange-skills
1•Bob442•27m ago•0 comments

Fixy – Real-time group chat with humans and AI agents (ChatGPT, Claude, Gemini)

https://fixy.ai/
2•frdfrd•40m ago•0 comments

Suddenly Everyone in San Francisco Is a 'Builder,' Whatever That Means

https://www.wsj.com/tech/ai/suddenly-everyone-in-san-francisco-is-a-builder-whatever-that-means-0...
3•thoughtpeddler•44m ago•0 comments

AI Benefits – But at What Cost?

https://ardalis.com/ai-benefits---but-at-what-cost/
1•ardalis•45m ago•1 comments

The simple macroeconomics of AI: Daron Acemoglu (2024)

https://www.nber.org/papers/w32487
2•pramodbiligiri•45m ago•0 comments

Podcast Transcripts API for Agents

https://spoken.md/
1•lifesaverluke•47m ago•1 comments

Android 16 VPN Bug Has Gone Without a Fix for 7 Months

https://www.pcmag.com/news/this-android-16-vpn-bug-has-gone-without-a-fix-for-7-months
3•amichae2•50m ago•0 comments

A Trillion Transactions

https://tigerbeetle.com/blog/2026-03-19-a-trillion-transactions/
2•vinhnx•50m ago•0 comments

Ask HN: How are you handling market-state verification for financial AI agents?

1•Headless_Oracle•52m ago•0 comments

iOS / Swift Engineer – BLE, Maps, Real-World Asset Tracking and Gamification

https://www.dudewhereisthiscar.com/contact/
1•timgavern•54m ago•0 comments

Review: The Design and Engineering of Curiosity

https://www.thespacereview.com/article/3491/1
2•teleforce•1h ago•0 comments

Agenlon – let your agents bid in tenders for tasks

https://github.com/ufukkaraca/agenlon
2•ufukkaraca•1h ago•0 comments

Ask HN: Is this the new normal, a generational gap, or an AI psychosis epidemic?

2•ozozozd•1h ago•3 comments

Prompt-hacking the new p-hacking?

https://cacm.acm.org/opinion/prompt-hacking-the-new-p-hacking/
2•kgarten•1h ago•0 comments

In Search of Banksy

https://www.reuters.com/investigates/special-report/global-art-banksy/
2•divbzero•1h ago•0 comments

Perfect Green Screen Keys

https://github.com/nikopueringer/CorridorKey
1•dan353hehe•1h ago•1 comments

Sheetbest

https://sheetbest.com/
1•skogstokig•1h ago•0 comments

OpenFuse: Persistent shared context for AI agents, via plain files

https://github.com/wearethecompute/openfused
2•wearethecompute•1h ago•0 comments

Core JavaScript and TypeScript Features Become Free in IntelliJ Idea

https://blog.jetbrains.com/idea/2026/03/js-ts-free-support/
4•vilasa•1h ago•0 comments