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•9mo 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: Book Collage Creator

https://inktide.app/collage
1•sd9•41s ago•0 comments

Rise of the Writer

https://schwadlabs.io/blog/rise-of-the-writer
1•schwad•51s ago•0 comments

Lenovo's New ThinkPads Score 10/10 for Repairability

https://www.ifixit.com/News/115827/new-thinkpads-score-perfect-10-repairability
1•wrxd•1m ago•0 comments

Designing Secure Software

https://designingsecuresoftware.com/text/ch0-preface/
1•transpute•2m ago•0 comments

Show HN: Git-hunk – Stage hunks by hash, no "-p" required

https://git-hunk.paulie.app/
1•shhac•3m ago•0 comments

Checkers and Hex

https://www.glassgallows.com/p/checkers-and-hex
1•mortarjjjjj•4m ago•0 comments

Show HN: Autonomous Agent That Uses Your Tools Without Complex Setups

https://heycody.ink
1•daolm•4m ago•0 comments

Improving skill-creator: Test, measure, and refine Agent Skills

https://claude.com/blog/improving-skill-creator-test-measure-and-refine-agent-skillst
1•adocomplete•5m ago•0 comments

NTSB: Automated Driving Vehicle Passed School Bus Loading Student Passengers

https://www.ntsb.gov:443/investigations/Pages/HWY26FH007.aspx
1•Animats•5m ago•1 comments

Buddhist concept of suffering explained with AI generated video and music (HQ)

https://www.youtube.com/watch?v=Vyq0kbjFjdA
1•jahala•5m ago•1 comments

'Silicon Valley's only contrarian': Amjad Masad on the cost of dissent in tech

https://sfstandard.com/pacific-standard-time/2026/02/27/pst-amjad-masad-silicon-valley-contrarian/
1•abdelhousni•6m ago•1 comments

File extensions in bash scripts – shell parameter expansion

https://www.johndcook.com/blog/2026/02/28/file-extensions-bash/
1•ibobev•7m ago•0 comments

Show HN: Spidra – AI web scraper that adapts to any website

https://spidra.io
1•joelolawanle•7m ago•0 comments

I lost my ability to learn anything new because of AI and I need your opinions

2•dokdev•8m ago•4 comments

Shell Variable

https://www.johndcook.com/blog/2026/03/01/tilde-dash/
2•ibobev•8m ago•0 comments

Differential Equation with a Small Delay

https://www.johndcook.com/blog/2026/03/02/small-delay/
1•ibobev•8m ago•0 comments

Privacy Protections Shouldn't Depend on the Decisions of a Few Powerful People

https://www.eff.org/deeplinks/2026/03/anthropic-dod-conflict-privacy-protections-shouldnt-depend-...
1•hn_acker•10m ago•1 comments

The Product Engineer

https://nmm.ee/product-engineer
1•askonomm•11m ago•0 comments

Supreme Court saves artists from AI

https://pluralistic.net/2026/03/03/its-a-trap-2/
3•hn_acker•13m ago•0 comments

Background Coding Agents: Predictable Results Through Strong Feedback Loops

https://engineering.atspotify.com/2025/12/feedback-loops-background-coding-agents-part-3
1•chw9e•15m ago•0 comments

Claude Is a Virtual Machine / Runtime Engine / JIT

https://jperla.com/blog/claude-is-a-jit
1•ljlolel•16m ago•0 comments

How Well Does Agent Development Reflect Real-World Work?

https://arxiv.org/abs/2603.01203
1•salkahfi•17m ago•0 comments

130k Lines of Formal Topology: Simple and Cheap Autoformalization for Everyone?

https://arxiv.org/abs/2601.03298
1•PaulHoule•18m ago•0 comments

Motorola's GrapheneOS phones: They're a privacy and open source win

https://www.zdnet.com/article/motorola-to-preinstall-grapheneos-on-2027-phones/
2•CrankyBear•19m ago•0 comments

Emacs Bedrock

https://codeberg.org/ashton314/emacs-bedrock
2•thomascountz•20m ago•0 comments

OpenCode-lore: Stop re-explaining your codebase

https://github.com/BYK/opencode-lore
1•BYK•21m ago•1 comments

Slung: Stream processing runtime for autonomous systems

https://slung.tech/blog/intro
1•notxorand•21m ago•0 comments

EEmicroGPT: 19,000× faster microgpt training on a laptop CPU (loss vs. time)

https://entrpi.github.io/eemicrogpt/
2•easygenes•22m ago•1 comments

Saudi Arabia, Qatar arrest Mossad agents planning 'terror attacks': Report

https://thecradle.co/articles-id/36258
6•abdelhousni•24m ago•0 comments

Talos: Hardware accelerator for deep convolutional neural networks

https://talos.wtf/
4•llamatheollama•24m ago•0 comments