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•1y 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!

Click

https://clickclickclick.click/
1•andrewzeno•1m ago•0 comments

Manchester Code Made Bits Behave

https://spectrum.ieee.org/manchester-code-ieee-milestone
1•jnord•1m ago•0 comments

Super-Adaptable Mayhem 10 Swarming Drone Evolved from the Switchblade

https://www.twz.com/air/super-adaptable-mayhem-10-swarming-drone-evolved-from-the-switchblade
1•breve•2m ago•0 comments

My blog was hacked and Claude and I just fixed it

https://lengrand.fr/my-blog-was-hacked-and-claude-and-i-just-fixed-it/
1•jlengrand•4m ago•0 comments

An asteroid discovered days ago will narrowly miss Earth – RNZ News

https://www.rnz.co.nz/news/world/595636/an-asteroid-discovered-days-ago-will-narrowly-miss-earth
1•colinprince•5m ago•0 comments

If AI can translate instantly, why learn another language?

https://theconversation.com/if-ai-can-translate-instantly-why-learn-another-language-280310
1•0in•6m ago•0 comments

A New Look for Express

https://expressjs.com/en/blog/2026-05-18-a-new-look-for-express/
1•patrikcsak•6m ago•0 comments

Musk says Tesla unsupervised FSD will be 'widespread' in the US by year-end

https://electrek.co/2026/05/18/musk-unsupervised-fsd-widespread-us-end-of-year-smart-mobility-sum...
1•breve•6m ago•0 comments

Human Bottlenecks

https://borretti.me/article/human-bottlenecks
1•jger15•9m ago•0 comments

Starship's Twelfth Flight Test

https://www.spacex.com/launches/starship-flight-12
1•bookmtn•10m ago•0 comments

Updated Debian 13: 13.5 released

https://www.debian.org/News/2026/20260516
1•doener•10m ago•0 comments

Show HN: FlashAttention-2 in Cute, from Scratch

https://blog.echen.io/p/flashattention-2-in-cute-from-scratch/
1•echen314•10m ago•1 comments

Tech bros say AI can be your best friend. Experts explain why it can't

https://www.rnz.co.nz/life/wellbeing/tech-bros-say-ai-can-be-your-best-friend-experts-explain-why...
3•billybuckwheat•10m ago•0 comments

AI-Governed EV Charging Could Extend Battery Life Nearly 23%

https://www.thedrive.com/news/ai-governed-ev-charging-could-extend-battery-life-nearly-23
3•breve•11m ago•0 comments

Show HN: Handoff – preserve coding context when agents run out of tokens

https://github.com/TStansel/handoff
1•tstansel•12m ago•0 comments

EPA and HHS propose rescinding parts of Biden's PFAS limits in drinking water

https://www.washingtonexaminer.com/policy/energy-and-environment/4573000/epa-hhs-propose-rescindi...
2•petethomas•12m ago•0 comments

Parallel Cities

https://vicnaum.github.io/parallel-cities/
1•bookofjoe•12m ago•0 comments

Show HN: Clawputer – A personal AI assistant with a real computer and memory

https://clawputer.app
1•iacguy•12m ago•0 comments

The Colorado River Is on the Brink of Disaster

https://www.wsj.com/us-news/climate-environment/the-colorado-river-is-on-the-brink-of-disaster-62...
2•impish9208•13m ago•1 comments

Why liquidity monitoring is insufficient for EVM execution systems

https://blog.bridgexapi.io/liquidity-lifecycle-intelligence-for-evm-execution-systems
1•Bridgexapi•16m ago•0 comments

New reality show for software engineers – episode 1 [video]

https://www.youtube.com/watch?v=6KCi8womtSA
2•jdegoes•19m ago•0 comments

AgentVoy – The create-react-app for AI agents

https://www.agentvoy.com/
1•cthecm•21m ago•0 comments

Player Piano (Novel)

https://en.wikipedia.org/wiki/Player_Piano_(novel)
1•PyWoody•25m ago•0 comments

More live NPM packages attributed to Axios threat actors

https://opensourcemalware.com/blog/axios-attacker-additional-npm-packages
2•6mile•26m ago•1 comments

Lovable: Define Reusable Instructions with Skills

https://docs.lovable.dev/features/skills
1•doener•27m ago•0 comments

LoRA and Weight Decay (2023)

https://irhum.github.io/blog/lorawd/
1•jxmorris12•30m ago•0 comments

Roundup of Events for Bootstrappers in May 2026

https://bootstrappersbreakfast.com/2026/04/23/roundup-of-may-2026-bootstrapper-events/
1•skmurphy•32m ago•1 comments

Poland directs officials to ditch Signal in favor of 'secure' Polish alternative

https://www.theregister.com/security/2026/05/18/poland-builds-its-own-signal-amid-security-concer...
4•devonnull•32m ago•0 comments

Big AI is subverting regulations just like tobacco and oil firms

https://www.theregister.com/ai-ml/2026/05/18/big-ai-is-subverting-regulations-just-like-tobacco-a...
2•jnord•33m ago•0 comments

A Master's degree isn't the job guarantee it used to be

https://www.msn.com/en-us/money/careersandeducation/a-master-s-degree-isn-t-the-job-guarantee-it-...
1•jnord•34m ago•0 comments